Re:Tock Embedded Operating System
by kevin_thibedeau on Tuesday November 07, 2017 @11:07PM
(#15649845)
The targeted systems rarely have an MMU. How can this provide any real isolation?
[ Parent
| on HN ]
Arm Cortex M3 and up cores usually have 'Memory Protection Units'. The MPU allows you to set permissions on memory regions and gives basic kernel/application isolation.
Re:Tock Embedded Operating System
by TickleSteve on Wednesday November 08, 2017 @07:03AM
(#15651573)
MPU != MMU.
MMU simply provides (~8) variably sized windows with RWX-type permissions.
....and indeed, this is the real protection here. Malicious code or badly-behaved code does not care that you've written the kernel in Rust, its simply a bunch-of-opcodes.
The Rust stuff is nice... but meh for security/robustness.