Re: do user space object managers really provide mandatory access control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2014-07-28 at 11:13 +0200, Andy Warner wrote:
> MAC is usually defined as not being discretionary (it is mandatory). That
> is, the enforcement of the policy is not at the discretion of a user or
> owner. In my experience it is not defined as "being enforced by the kernel."
> Generally MAC also implies (and sometimes demands) implementation principles
> like encapsulation and non-bypassibility, which a kernel based
> implementation might satisfy, but it is not a requirement of MAC to be
> implemented in the kernel.
> 

Thank you. I should rephrase "if one defines" to "when one defines"

I wonder whether the SELinux object manager related code implements any
meaningful implementation principles like encapsulation,
non-bypassibility, or others.

> I work in MAC based DBMS's which from your perspective could just be
> considered an application layer, but it is implementing real MAC.  One
> reason it cannot be totally implemented in the kernel is that the MAC is
> arbitrating access to non-OS objects, such as database rows, tables, etc.
> The DBMS can cooperate with the kernel and use the kernel for MAC based
> decisions (if the MAC policy objectives are the same) but it cannot be
> totally implemented in the kernel. At least, not without lots of tricky
> theoretical work, which was my research topic years ago in grad school.
> Enforcement of the policy is a key difficult issue. 

Depending on the answer to my question above that might beg the question
then: why not implement a security server, and cache in the user space
object manager itself. Although i think i know the answer to that
question in advance: to facilitate centralized government of the policy
rather than having that scattered all over.

All-in-all it sound like a lot of compromise.

What, other than providing a central place of governance, would be the
benefits of SELinux user space object managers, over any other "MAC"
solutions implemented solely in the user space c.q. application layer?


_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux