Capsules aren't allowed to use unsafe. The target of tock is not generally going to be out of order, so spectre things shouldn't occur
Re:Unsoundness in Pin
by staticassertion on Friday November 29, 2019 @10:14PM
(#21668291)
Is there a doc about that? Can they also not use external crates? Very curious.
There's a blog post https://www.tockos.org/blog/2017/crates-are-not-safe
Lots of example code https://github.com/tock/tock/tree/master/capsules
Re:Unsoundness in Pin
by staticassertion on Saturday November 30, 2019 @04:42PM
(#21672294)
Thank you.
I suspect it is not so simple as "Rust's safety ensures malicious rust code can't access data".