News for hackers. Stuff that matters.
Re:Redox OS 0.7.0 by plaguepilled on Thursday April 28, 2022 @10:06PM (#31200562)
Apologies if this is already documented somewhere, but what security model is Redox working towards?

(P.s. thanks for starting the gargantuan task of writing a modern OS in a memory safe language)

Re:Redox OS 0.7.0 by jackpot51 on Thursday April 28, 2022 @10:16PM (#31200622)
Primarily the model is capability based. Most things are managed through file descriptors. Services usually end up in a special namespace where they can no longer open new files at runtime, except from a highly restricted set of filesystems. This essentially disallows operating on anything beyond their current set of open file descriptors. This makes runtime inspection of the capabilities of each process fairly easy, and the build time declaration of those namespaces also pretty easy.
Re:Redox OS 0.7.0 by vlmutolo on Friday April 29, 2022 @11:17PM (#31213056)
Wow, that sounds really exciting. How would this work for something like a service that runs for a long time, and periodically needs to make a web request (and therefore periodically opens a TCP socket)?

Are you counting the ability itself to open sockets as a "file descriptor"? Is it straightforward to implement a "namespace" (not sure if I'm using that correctly) that limits network access to certain IP addresses? Certain domains?