Skip to contentSkip to conversation

Switching Security Policies

DISCUSSION Stephen D. Smalley 1 participant 1 message Feb 20, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

I understand that SELinux is not quite Multi-Level Security (MLS) yet, but

The optional MLS policy component is experimental, as noted in selinux/README.MLS and in the help text for the kernel option. You can experiment with the MLS policy if you like, but it is likely that you can achieve your security goals simply by configuring the TE policy appropriately. If you merely want a two level system, you can easily represent the levels as TE domains and define appropriate allow rules to enable authorized information flows. You can also define appropriate TE domains for any trusted subjects and set up assured pipelines for downgrading.

Quoted 5 lines

is it possible to switch security policies w/o having to reboot SELinux? For
example: if I need Security Policy A for environment A, and Security Policy B for environment B, is there a (secure, of course) method to allow authorized user to switch from one policy to the other as the user moves from one environment to the other environment?

You can change the policy at runtime via load_policy, assuming that your initial policy loaded at boot time grants the necessary permission. The example policy allows authorized administrators to reload the policy.

--
Stephen Smalley, NSA
[email protected]

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.