|
|
|
|
|
by kelnos
365 days ago
|
|
My understanding is they don't mean privileged/unprivileged in the kernel-space/user-space sense. All of it is running at the kernel's privilege level. Just they've logically defined a (smaller) set of core library-like code that is allowed to use Rust unsafe ("privileged"), and then all the code that implements the rest of the kernel (including drivers?) uses that library and is disallowed (by linter rules, I assume) to directly use Rust unsafe ("unprivileged"). It's an unfortunate overloading of terminology that you entirely reasonably interpreted according to the more common usage. |
|