sepolicy-manpage(8)

sepolicy-manpage8

Generate a man page based on the installed selinux policy

Usage

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

Overview

Use sepolicy manpage to generate manpages based on SELinux Policy.

Options

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

Examples

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

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9–12
  2. 13

--os since Debian 13 (Trixie); --source_files since Debian 13 (Trixie); -o since Debian 13 (Trixie).

Author

This man page was written by Daniel Walsh <[email protected]>

From policycoreutils-dev 3.8.1-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.