sepolicy-manpage(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLE | AUTHOR | SEE ALSO | COLOPHON

sepolicy-manpage(8)                                   sepolicy-manpage(8)

NAME         top

       sepolicy-manpage - Generate a man page based on the installed
       SELinux Policy

SYNOPSIS         top

       sepolicy manpage [-w] [-h] [-p PATH ] [-r ROOTDIR ] [-a | -d ]

DESCRIPTION         top

       Use sepolicy manpage to generate manpages based on SELinux Policy.

OPTIONS         top

       -a, --all
              Generate Man Pages for All Domains

       -d, --domain
              Generate a Man Page for the specified domain. (Supports
              multiple commands)

       -h, --help
              Display help message

       -o, --os
              Specify the name of the OS to be used in the man page (only
              affects HTML man pages)

       -p, --path
              Specify the directory to store the created man pages.
              (Default to /tmp)

       -r, --root
              Specify alternative root directory to generate man pages
              from. (Default to /)

       --source_files
              Use file_contexts and policy.xml files from the specified
              root directory (the alternative root needs to include both
              files)

       -w, --web
              Generate an additional HTML man pages for the specified
              domain(s)

EXAMPLE         top

       Generate man pages for all available domains
       # sepolicy manpage -a
       Generate an HTML man page for domain alsa_t, setting the OS name to "My_distro"
       # sepolicy manpage -o My_distro -d alsa_t -w

AUTHOR         top

       This man page was written by Daniel Walsh <dwalsh@redhat.com>

SEE ALSO         top

       sepolicy(8), selinux(8)

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 2025-02-02.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2025-01-29.)  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
       man-pages@man7.org

                                 20121005             sepolicy-manpage(8)

Pages that refer to this page: sepolicy(8)