File: sepolicy-interface.8

package info (click to toggle)
selinux-python 3.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,284 kB
  • sloc: python: 20,280; sh: 328; makefile: 257; ansic: 191
file content (56 lines) | stat: -rw-r--r-- 1,623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.TH "sepolicy-interface" "8" "20121222" "" ""
.SH "NAME"
sepolicy-interface \- Print interface information based on the installed SELinux Policy

.SH "SYNOPSIS"

.br
.B sepolicy interface  [\-h] [\-c] [\-v] [\-f FILE] [\-a | \-u | \-l | \-i INTERFACE [INTERFACE ... ]]

.SH "DESCRIPTION"
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.

.SH "OPTIONS"
.TP
.I                \-a, \-\-list_admin
List all domains with admin interface
.TP
.I                \-c, \-\-compile
Test compile of interfaces
.TP
.I                \-h, \-\-help
Display help message
.TP
.I                \-i, \-\-interface
Interface(s) to be displayed
.TP
.I                \-l, \-\-list
List all interfaces
.TP
.I                \-u, \-\-list_user
List all domains with SELinux user role interface
.TP
.I                \-v, \-\-verbose
Display extended information about the interface including parameters and description if available.
.TP
.I                \-f, \-\-file
Interface file to be explored

.SH EXAMPLE
.nf
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

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

.SH "SEE ALSO"
sepolicy(8), selinux(8)