OS Manuals

/usr/bin/audit2allow

sepolgen installed for python3.13

From py3.13-sepolgen 3.11-r1 (enterprise-packages), captured 2026-11-08 by running audit2allow --help (exit 0). permalink

Usage: audit2allow [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -b, --boot            audit messages since last boot conflicts with -i
  -a, --all             read input from audit log - conflicts with -i
  -p POLICY, --policy=POLICY
                        Policy file to use for analysis
  -d, --dmesg           read input from dmesg - conflicts with --all and --input
  -i INPUT, --input=INPUT
                        read input from <input> - conflicts with -a
  -l, --lastreload      read input only after the last reload
  -r, --requires        generate require statements for rules
  -m MODULE, --module=MODULE
                        set the module name - implies --requires
  -M MODULE_PACKAGE, --module-package=MODULE_PACKAGE
                        generate a module package - conflicts with -o and -m
  -o OUTPUT, --output=OUTPUT
                        append output to <filename>, conflicts with -M
  -D, --dontaudit       generate policy with dontaudit rules
  -R, --reference       generate refpolicy style output
  -C, --cil             generate CIL output
  -N, --noreference     do not generate refpolicy style output
  -v, --verbose         explain generated output
  -e, --explain         fully explain generated output
  -t TYPE, --type=TYPE  only process messages with a type that matches this regex
  --perm-map=PERM_MAP   file name of perm map
  --interface-info=INTERFACE_INFO
                        file name of interface information
  -x, --xperms          generate extended permission rules
  -w, --why             Translates SELinux audit messages into a description of why the access was
                        denied
Options (23)
OptionDescriptionSource
--versionshow program's version number and exithelp
-h, --helpshow this help message and exithelp + man
-b, --bootRead input from audit messages since last boot, conflicts with -ihelp + man
-a, --allRead input from audit and message log, conflicts with -ihelp + man
-p, --policy POLICYPolicy file to use for analysishelp + man
-d, --dmesgread input from dmesg - conflicts with --all and --inputhelp + man
-i, --input INPUTread input from <input> - conflicts with -ahelp + man
-l, --lastreloadRead input only after last policy reloadhelp + man
-r, --requiresGenerate require output syntax for loadable modules.help + man
-m, --module MODULEGenerate module/require output <modulename>help + man
-M, --module-package MODULE_PACKAGEgenerate a module package - conflicts with -o and -mhelp + man
-o, --output OUTPUTappend output to <filename>, conflicts with -Mhelp + man
-D, --dontauditGenerate dontaudit rules (Default: allow)help + man
-R, --referenceGenerate reference policy using installed macros.help + man
-C, --cilGenerate CIL output, conflicts with -Mhelp + man
-N, --noreferenceDo not generate reference policy, traditional style allow rules.help + man
-v, --verboseexplain generated outputhelp + man
-e, --explainfully explain generated outputhelp + man
-t, --type TYPEonly process messages with a type that matches this regexhelp + man
--perm-map PERM_MAPRead permission map from <perm_map_file>help + man
--interface-info INTERFACE_INFORead interface information from <interface_info_file>help + man
-x, --xpermsGenerate extended permission access vector ruleshelp + man
-w, --whyTranslates SELinux audit messages into a description of why the access was deniedhelp + man
Examples (15) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.