this post was submitted on 21 Jun 2023
20 points (100.0% liked)

Redox OS

199 readers
14 users here now

A community for users, developers, and enthusiasts of Redox OS.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 1 year ago (2 children)

I find the idea of a modern practically usable OS really exciting, so this is awesome!

It says "Drivers run in Userspace" on the front page of Redox - what is the advantage of this? I don't know too much about drivers.

[โ€“] Homer 1 points 1 year ago

The two big benefits are security and stability.

The traditional approach is to have drivers run in kernel space. If there ends up being an issue, it could crash the entire system instead of just the relevant process. From the security side of things, in the traditional drivers are run with the highest set of security capabilities. A flaw in a driver that allows, say code execution, would run that code as a high privileged user (usually a system user root in the case of *nix). Running then in her space dramatically lowers the impact of exploitation.

load more comments (1 replies)