|
|
|
|
|
by binarycrusader
3879 days ago
|
|
OpenBSD is not unique here; Solaris has a "whole-system approach" to development as well, and has had the ability for programs and admins to easily do privilege drop or provide privilege separation for many years now. Not only that, Solaris allows you to wrap programs without any source modifications easily using ppriv to drop or add privileges as required. Almost every slide in the presentation that talks about how you would use the proposed pledge() interface applies to Solaris' privileges model as well. Some relevant examples: http://www.kernelthread.com/publications/security/solaris.ht...
http://docs.oracle.com/cd/E23823_01/html/816-4863/ch3priv-25... Solaris' role-based access control and advanced privileges model even lets you implement things like only allowing someone to become 'root' if both them and another person logs in at the same time. Think of the "two-keys required to unlock this door" sort of approach to security: https://blogs.oracle.com/gbrunett/entry/enforcing_a_two_man_... |
|
That said, Solaris' facilities seem useful, but from the documentation you linked, seems much more complicated than pledge(). They look similar conceptually, but Solaris' seems to be much more complicated to actually use.