sepolicy-manpage(8)
π sepolicy-manpage(8) β the glow-up your SELinux policy deserves π
okay bestie, so this is sepolicy-manpage, from section 8 of the manual, and it's literally the makeover montage of man pages. it's giving "I read the SELinux policy so you don't have to" energy and honestly? obsessed. π
β¨ NAME β¨
sepolicy-manpage β Generate a man page based on the installed SELinux Policy
like, it takes your installed policy and turns it into actual man pages. no cap. π
πΈ SYNOPSIS πΈ
sepolicy manpage [-w] [-h] [-p PATH ] [-r ROOTDIR ] [-a | -d ]
look at her. so clean. so iconic. π¦
π DESCRIPTION π
Use sepolicy manpage to generate manpages based on SELinux Policy.
that's the whole vibe fr fr β you point it at policy, it hands you man pages back. main character tool behavior. π
β¨ OPTIONS β¨
-a,--allβ Generate Man Pages for All Domains. every single one. the full collection. the whole wardrobe. π-d,--domainβ Generate a Man Page for the specified domain. (Supports multiple commands) β so yes bestie, you can run it more than once, she's flexible like that π-h,--helpβ Display help message. the classic "wait what do I do" button, we've all been there π-o,--osβ Specify the name of the OS to be used in the man page (only affects HTML man pages). heads up: this one's only doing anything for the HTML man pages, okurrr?-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β Usefile_contextsandpolicy.xmlfiles from the specified root directory (the alternative root needs to include both files). β οΈ both files, bestie, don't come at her with a half-packed bag π-w,--webβ Generate an additional HTML man pages for the specified domain(s). extra. spicy. web-flavored. π₯
π EXAMPLE π
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
see how easy that was?? -o for the OS name, -d for the domain, -w for the web version. little trio, big results. π«Ά
π AUTHOR π
This man page was written by Daniel Walsh <dwalsh@redhat.com>
thank you Daniel, you ate and left no crumbs π
π¦ SEE ALSO π¦
go read those next, they're the supporting cast and they understood the assignment π
and that's a wrap on sepolicy-manpage(8)! this page came from way back on 20121005, and she's still serving. periodt. π
β¨πΈ
π¦ where this page comes from
- centos-stream 10: policycoreutils-devel 3.11-1.el10 Β· GPL-2.0-or-later
- centos-stream 9: policycoreutils-devel 3.6-9.el9 Β· GPL-2.0-or-later
- centos-stream 9: policycoreutils-devel 3.6-9.el9 Β· GPL-2.0-or-later
- debian trixie: policycoreutils-dev 3.8.1-2 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-devel 3.9-5.fc43 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-devel 3.9-5.fc43 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-devel 3.9-7.fc43 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-devel 3.9-7.fc43 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-devel 3.10-1.fc44 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-devel 3.10-1.fc44 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-devel 3.11-2.fc44 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-devel 3.11-2.fc44 Β· GPL-2.0-or-later
- nixos 26.05: selinux-python 3.10
- nixpkgs unstable: selinux-python 3.10
- opensuse-leap 16.0: policycoreutils-devel 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils-devel 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils-devel 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils-devel 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- ubuntu questing: policycoreutils-dev 3.8.1-2
- ubuntu resolute: policycoreutils-dev 3.9-2 Β· GPL-2.0-or-later
- ubuntu stonking: policycoreutils-dev 3.11-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms