News for hackers. Stuff that matters.
Re:Google to Fold Chrome Operating System into Android by pjmlp on Thursday October 29, 2015 @06:28PM (#10474831)
Traditional UNIX is no different. Without containers every p0wned process has full access to $HOME and can do everything the user is capable of.

I really like that Apple and Microsoft are pushing for sandbox models in their OSes.

Re:Google to Fold Chrome Operating System into Android by zanny on Thursday October 29, 2015 @07:36PM (#10475248)
You can also use MAC and avoid container overhead. SELinux is the worst of the bunch because its a PITA to work with, while AppArmor profiles are pretty easy to write but its not particularly foolproof, Tomoyo has nobody developing good profiles for it, and we should all be running Grsec Kernels + PaX since its the best of all worlds but again nobody wants to put in the effort to develop all the profiles for all the programs we use, and learning modes are just unacceptable.
Re:Google to Fold Chrome Operating System into Android by pjmlp on Friday October 30, 2015 @02:54AM (#10476453)
That is GNU/Linux specific, not UNIX.

Of course there are things like HP-UX safes, Tru64 and Solaris trusted zones.

None of them are POSIX.

Besides the average user would not even know where to start.

Re:Google to Fold Chrome Operating System into Android by lazaroclapp on Thursday October 29, 2015 @06:34PM (#10474873)
In all fairness, you don't run any modern UNIX server without giving each sensitive server its own user, which effectively sandboxes it (not quite the same as chroot/containers/VMs, but still). Of course, desktop UNIX/Linux tends to have many important processes running as the same user, but that falls under "Desktop OSes are generally pretty bad".
Re:Google to Fold Chrome Operating System into Android by rdl on Thursday October 29, 2015 @06:56PM (#10475000)
Everyone sane runs sensitive systems "system high" now, where there's a machine dedicated per task. User/process/thread security in UNIX/POSIX/etc. is bullshit weak sauce, sadly.

You can use VMs for some of that, but that's the limit on sharing (and that's if you trust your hypervisor to be a separation kernel thing; reasonable for many people. Not for others.) Docker/containers isn't enough. Users aren't enough. Processes aren't enough.

[dead]
Re:Google to Fold Chrome Operating System into Android by voltagex_ on Friday October 30, 2015 @12:40AM (#10476191)
If I run a shell script under my user account, that shell script has full access to anything my account has access to, UNLESS I'm running SELinux or something like that.
Re:Google to Fold Chrome Operating System into Android by gopowerranger on Friday October 30, 2015 @08:12AM (#10477325)
And another Windows user who runs "p0wned" shell scripts on his system. Or believe everyone does this on a regular basis. "Just like Windows!"
Re:Google to Fold Chrome Operating System into Android by voltagex_ on Friday October 30, 2015 @08:54AM (#10477473)
Sigh. Yes, I'll assume you're perfect and never run anything you didn't write yourself.

Edit: Okay, think about it this way - if you're the perfect sysadmin who doesn't run anything bad, how do you go about protecting your non-so-perfect users? How do you protect the server you're tasked to maintain?

Re:Google to Fold Chrome Operating System into Android by pjmlp on Friday October 30, 2015 @03:01AM (#10476465)
Just go do a wget site | sh for me will you?

Thanks.

Afterwards we can discuss UNIX security models.