questions...
Quoted 4 lines · Casey Schaufler
If you are going to have a policy which
is based on a label and on a user id you may have something good, but you ain't got a [DM]AC policy.
If the modifications to SELinux to allow selective override of DAC (or any other capability that Linux currently has) that were suggested were made, what you get is a system that:
- still has the current DAC policy. SELinux doesn't change the existing DAC mechanism. That is not being proposed here.
- still enforces a mandatory access control (MAC) policy. By MAC, I mean a policy central to the system that every process on the system is subject to and that can only be changed as allowed by that policy. That is what SELinux does today.
- enforces a MAC policy which can allow certain processes, depending on security attributes of the process, to override the DAC mechanism to access files, depending on the security attributes of the file. This is just a refinement of the functionality that the current Linux capability mechanism along with the SELinux control over it gives today. It is more expressive allowing privileges to be limited to only those that are necessary. It allows processes other than root processes have this privilege. Also it removes the necessity to grant any process the ability to arbitrarily violate the MAC or DAC policies which is often what has been done in traditional MAC implementations.
I would say that this is good. If what SELinux has now supports a [DM]AC policy, what is being proposed still does, only in an even more useful way. If what SELinux does is not supporting a [DM]AC policy, the goal of a [DM]AC policy perhaps should be questioned.
--
Peter Loscocco, NSA
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 6 lines · Pete Loscocco
If the modifications to SELinux to allow selective override of DAC (or any other capability that Linux currently has) that were suggested were made, what you get is a system that:
- still has the current DAC policy. SELinux doesn't change the existing DAC mechanism. That is not being proposed here.
Yes it is. The proposed policy changes the DAC behavior of the system. If you had a good set of regression tests they would indicate a failure.
Quoted 3 lines
- enforces a MAC policy which can allow certain processes, depending on security attributes of the process, to override the DAC mechanism to access files, depending on the security attributes of the file.
At which point you have introduced interactions between the MAC, DAC, and Privilege mechanisms. At this point you no longer have seperate policies.
Quoted 1 line
This is just a refinement ...
I don't see it as a refinement. I see the argument presented as a rationalization.
Quoted 4 lines
I would say that this is good. If what SELinux has now supports a [DM]AC policy, what is being proposed still does, only in an even more useful way. If what SELinux does is not supporting a [DM]AC policy, the goal of a [DM]AC policy perhaps should be questioned.
OKay. Seperate MAC, and DAC policies can be bad, and integrated policies can be good.
Don't mind me. I just spent a dozen years trying to get people to accept MAC on it's own, and it's been tough. Go ahead, have MAC whomp all over the permission bits that the populous has finaly figured out how to use. No sweat off my nose, really.
Signature · 8 lines
Casey Schaufler Manager, Trust Technology, SGI [email protected] voice: 650.933.1634 [email protected] Pager: 888.220.0607 -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.