News for hackers. Stuff that matters.
Re:Fuchsia is not Linux by naasking on Thursday April 12, 2018 @09:04AM (#16820453)
I don't think these are the same thing, but please do provide a link discussing NT's use of handles.
Re:Fuchsia is not Linux by dblohm7 on Thursday April 12, 2018 @01:09PM (#16822913)
Re:Fuchsia is not Linux by naasking on Thursday April 12, 2018 @02:44PM (#16823739)
Thanks. None of the creator functions take the handles needed, which is contrary to capability security. This leaves the system vulnerable to DoS attacks at the very least.
Re:Fuchsia is not Linux by dblohm7 on Thursday April 12, 2018 @03:45PM (#16824274)
Creation of those objects is also implicit on checking the current thread's access token and the current process's job (if present). So I think it has the same concerns that you outlined in an earlier comment about Fuchsia's creator functions.
Re:Fuchsia is not Linux by naasking on Monday April 16, 2018 @10:20AM (#16849155)
There are also other issues I just remembered. Handles in a capability OS have no access control applied to them, ie. if you hold a handle, then you have permission to invoke operations on that handle. Attenuating authority involves deriving a new handle from an existing one with reduced rights, then passing that around.

I believe the NT kernel still checks permissions against ACLs for handles. This violates capability security, but you can build a capability OS on top of ACLs: http://www.webstart.com/jed/papers/Managing-Domains/

Re:Fuchsia is not Linux by naasking on Friday April 13, 2018 @10:12AM (#16830150)
Interesting that the fuchsia kernel design seems to mimic the NT kernel in this regard...