Re:SELinux is unmanageable; just turn it off if it gets in y...
by jnwatson on Wednesday April 27, 2022 @12:01PM
(#31181722)
The point of the article is that actually using a fine-grained MAC model is inconsistent with the way we actually use our tools.
It requires deep understand of both the application and the model, which requires a lot of work.
Short simplified example highlighting DAC/MAC differences: DAC asks "is user Alice allowed to read Bob's files?" while MAC asks "is the SMTP server (subject user/role) process allowed to read private keys (object type) of the HTTP server (object user/role)?"
And if you're really motivated (read: want to have fun diagnosing unexpected file permission issues), you can associate files and processes with different security categories and levels (MCS/MLS), implementing horizontal and vertical separation. For example, "is this software update service allowed to read confidential files owned by the accounting database or keys used to encrypt classified information?"
There are other MAC systems besides SELinux as well.