1semanage-ibendport(8) semanage-ibendport(8)
2
3
4
6 semanage-ibendport - SELinux Policy Management ibendport mapping tool
7
9 semanage ibendport [-h] [-n] [-N] [-S STORE] [ --add -t TYPE -z
10 IBDEV_NAME -r RANGE port | --delete -z IBDEV_NAME port | --deleteall |
11 --extract | --list [-C] | --modify -t TYPE -z IBDEV_NAME -r RANGE port
12 ]
13
14
16 semanage is used to configure certain elements of SELinux policy with‐
17 out requiring modification to or recompilation from policy sources.
18 semanage ibendport controls the ibendport number to ibendport type def‐
19 initions.
20
21
23 -h, --help
24 show this help message and exit
25
26 -n, --noheading
27 Do not print heading when listing the specified object type
28
29 -N, --noreload
30 Do not reload policy after commit
31
32 -S STORE, --store STORE
33 Select an alternate SELinux Policy Store to manage
34
35 -C, --locallist
36 List local customizations
37
38 -a, --add
39 Add a record of the specified object type
40
41 -d, --delete
42 Delete a record of the specified object type
43
44 -m, --modify
45 Modify a record of the specified object type
46
47 -l, --list
48 List records of the specified object type
49
50 -E, --extract
51 Extract customizable commands, for use within a transaction
52
53 -D, --deleteall
54 Remove all local customizations
55
56 -t TYPE, --type TYPE
57 SELinux type for the object
58
59 -r RANGE, --range RANGE
60 MLS/MCS Security Range (MLS/MCS Systems only) SELinux Range for
61 SELinux login mapping defaults to the SELinux user record range.
62 SELinux Range for SELinux user defaults to s0.
63
64 -z IBDEV_NAME, --ibdev_name IBDEV_NAME
65 The name of the infiniband device for the port to be labeled.
66 (ex. mlx5_0)
67
68
70 List all ibendport definitions
71 # semanage ibendport -l
72 Label mlx4_0 port 2.
73 # semanage ibendport -a -t allowed_ibendport_t -z mlx4_0 2
74
75
77 selinux(8), semanage(8)
78
79
81 This man page was written by Daniel Jurgens <danielj@mellanox.com>
82
83
84
85 20170508 semanage-ibendport(8)