|
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLE | AUTHOR | SEE ALSO | COLOPHON |
|
|
|
sepolicy-interface(8) sepolicy-interface(8)
sepolicy-interface - Print interface information based on the
installed SELinux Policy
sepolicy interface [-h] [-c] [-v] [-f FILE] [-a | -u | -l | -i
INTERFACE [INTERFACE ... ]]
Use sepolicy interface to print information of interface macros
between domains in SELinux policy modules, as used in Reference
Policy. The information is based on installed on-disk
representation of the SELinux Policy and it may be different from
the policy which is currently loaded.
-a, --list_admin
List all domains with admin interface
-c, --compile
Test compile of interfaces
-h, --help
Display help message
-i, --interface
Interface(s) to be displayed
-l, --list
List all interfaces
-u, --list_user
List all domains with SELinux user role interface
-v, --verbose
Display extended information about the interface including
parameters and description if available.
-f, --file
Interface file to be explored
Show description of given interface
# sepolicy interface -vi samba_rw_config
List interfaces in given interface file and show their description
# sepolicy interface -f my_policy.if -lv
Run compile test for all interfaces in given file
# sepolicy interface -f my_policy.if -lc
This man page was written by Daniel Walsh <[email protected]>
sepolicy(8), selinux(8)
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-08-11. (At
that time, the date of the most recent commit that was found in
the repository was 2025-08-04.) 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]
20121222 sepolicy-interface(8)
Pages that refer to this page: sepolicy(8)