News for hackers. Stuff that matters.
Re:How sandboxing works in Fuchsia by DonbunEf7 on Sunday June 18, 2017 @07:57PM (#14583687)
If you're going to have capability-based security, please be louder and prouder about it.
Re:How sandboxing works in Fuchsia by atondwal on Sunday June 18, 2017 @11:08PM (#14584383)
The book's subtitle is literally "A modular, capability-based operating system"[1]

[1]: https://fuchsia.googlesource.com/docs/+/master/book.md

Re:How sandboxing works in Fuchsia by stefankomatsu on Sunday June 18, 2017 @09:08PM (#14583945)
Judging by nomenclature it seems to be more influenced by Plan 9, which also adhered somewhat to capability-based security without advertising that fact.
Re:How sandboxing works in Fuchsia by nickpsecurity on Sunday June 18, 2017 @08:03PM (#14583712)
Maybe. They start with names. However, the description looks more like access control lists than what I saw in KeyKOS, LOCK, EROS, E, or Combex's work.
Re:How sandboxing works in Fuchsia by stefankomatsu on Sunday June 18, 2017 @09:14PM (#14583979)
> An empty process has nothing > Namespaces are the gateway to the world

Sounds like capability security to me. Although I wish they had said more about how these namespaces work. If they are inheritable and you can virtualize them for child processes (as you can in Plan 9/Inferno) then I'd say it qualifies.

Re:How sandboxing works in Fuchsia by abarth on Sunday June 18, 2017 @09:26PM (#14584029)
When you create a child process, you can clone your namespace or you can construct a new one for the child.

(Disclosure: I wrote the doc linked above.)

Re:How sandboxing works in Fuchsia by stefankomatsu on Sunday June 18, 2017 @09:55PM (#14584142)
Thanks. How about virtualization? Using an example from the doc, if your child process accesses "/dev/class/framebuffer", can you intercept its communications? Can a process create a custom sandbox and run, say, AppMgr with limited permission to limit the permissions of all apps it manages?
Re:How sandboxing works in Fuchsia by abarth on Sunday June 18, 2017 @10:14PM (#14584210)
> Using an example from the doc, if your child process accesses "/dev/class/framebuffer", can you intercept its communications?

Yes. When creating the namespace for the child, the parent can map names to what whatever communication channels it chooses. If the parent wants to interpose on the child's access to "/dev/class/framebuffer", the parent could map that name to a channel that leads back to the parent.

> Can a process create a custom sandbox and run, say, AppMgr with limited permission to limit the permissions of all apps it manages?

Yes. That's useful for testing as well as for sandboxing.

Re:How sandboxing works in Fuchsia by btrask on Sunday June 18, 2017 @11:42PM (#14584502)
Thank you for taking the time to reply, despite the sea of low quality comments on this HN thread.
Re:How sandboxing works in Fuchsia by stefankomatsu on Sunday June 18, 2017 @10:25PM (#14584232)
Appreciate your your answers. This makes Fuchsia quite interesting to me.
Re:How sandboxing works in Fuchsia by nickpsecurity on Sunday June 18, 2017 @09:46PM (#14584105)
Someone told me there were ex-devs of QNX microkernel doing Google's. Is that true?
Re:How sandboxing works in Fuchsia by bitmapbrother on Sunday June 18, 2017 @10:18PM (#14584220)
Not sure about QNX, but the lead developers are ex Be, Danger, Palm and Apple.
Re:How sandboxing works in Fuchsia by nickpsecurity on Sunday June 18, 2017 @10:26PM (#14584233)
Thanks for that clarification. That is an interesting mix.
Re:How sandboxing works in Fuchsia by bitmapbrother on Sunday June 18, 2017 @10:48PM (#14584303)
As for QNX, one of its founders, Dan Dodge, is now at Apple.
Re:How sandboxing works in Fuchsia by willvarfar on Monday June 19, 2017 @08:59AM (#14586554)
In Unix, rights - even POSIX "cpabilities" - belong to the process. In Magenta, the rights are attached to the handle.
Re:How sandboxing works in Fuchsia by mee_too on Sunday June 18, 2017 @08:22PM (#14583766)
They can't be louder and prouder about it, because they know at one point they'll have to compromise it so that Google own apps can track the user.
Re:How sandboxing works in Fuchsia by theDoug on Sunday June 18, 2017 @08:23PM (#14583774)
Oh damn, you broke the triple secret NDA. Next people will find out that Fuchsia is the color faces need to get before the project is revealed to be a conspiracy theory generator.

There are plenty of important reasons for this project, that plenty of people in the past have already made note of. If the one you're going for, already, is some ad/user tracking platform, you're purposely attempting to narrow the capability of your thinking.

(Disclosure: Google employee disappointed that Hacker News doesn't save the eye-roll emoji.)

Re:How sandboxing works in Fuchsia by mee_too on Monday June 19, 2017 @02:54PM (#14589400)
Sorry, I wasn't aware there's triple secret NDA on the fact that Google's main business is advertising...
Re:How sandboxing works in Fuchsia by cjhanks on Sunday June 18, 2017 @10:03PM (#14584166)
Conspiratorial or not - on Google platforms, 3rd party applications are 2nd class citizens. Do you think an outside party could write Open-WIFI given the present service integration policies?