load_policy — load a new SELinux policy into the kernel

Synopsis

load_policy [-qi]

Description

load_policy loads the installed policy file into the kernel. The existing policy boolean values are automatically preserved across policy reloads rather than being reset to the default values in the policy file.

Options

-q

suppress warning messages.

-i

initial policy load. Only use this if this is the first time policy is being loaded since boot (usually called from initramfs).

Exit Status

0

Success

1

Invalid option

2

Policy load failed

3

Initial policy load failed and enforcing mode requested

See Also

booleans(8)

Authors

This manual page was written by Dan Walsh <dwalsh@redhat.com>.
The program was written by Stephen Smalley <sds@tycho.nsa.gov>.

Referenced By

booleans(8), load_policy_selinux(8), restorecon(8), setfiles(8).

May 2003 Security Enhanced Linux NSA