load_policy(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXIT STATUS | SEE ALSO | AUTHORS | COLOPHON

LOAD_POLICY(8)                     NSA                    LOAD_POLICY(8)

NAME         top

       load_policy - load a new SELinux policy into the kernel

SYNOPSIS         top

       load_policy [-qi]

DESCRIPTION         top

       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         top

       -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         top

       0      Success

       1      Invalid option

       2      Policy load failed

       3      Initial policy load failed and enforcing mode requested

SEE ALSO         top

       booleans(8)

AUTHORS         top

       This manual page was written by Dan Walsh <[email protected]>.
       The program was written by Stephen Smalley <[email protected]>.

COLOPHON         top

       This page is part of the selinux (Security-Enhanced Linux user-
       space libraries and tools) project.  Information about the
       project can be found at 
       ⟨https://github.com/SELinuxProject/selinux/wiki⟩.  If you have a
       bug report for this manual page, see
       ⟨https://github.com/SELinuxProject/selinux/wiki/Contributing⟩.
       This page was obtained from the project's upstream Git repository
       ⟨https://github.com/SELinuxProject/selinux⟩ on 2024-06-14.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2023-05-11.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       [email protected]

Security Enhanced Linux         May 2003                  LOAD_POLICY(8)

Pages that refer to this page: booleans(8)restorecon(8)setfiles(8)