Whamcloud - gitweb
LU-13004 ptlrpc: Allow BULK_BUF_KIOV to accept a kvec
[fs/lustre-release.git] / lustre / doc / l_getsepol.8
1 .TH l_getsepol 8 "2019 Feb 5" Lustre "configuration utilities"
2 .SH NAME
3 l_getsepol \- Lustre SELinux policy info
4
5 .SH SYNOPSIS
6 .br
7 .B l_getsepol
8 .br
9 .SH DESCRIPTION
10 .B l_getsepol
11 generates the Lustre SELinux policy info to set as reference on a nodemap with
12 .BR lctl
13 .BR nodemap_set_sepol (8).
14
15 .br
16 The info string describing the SELinux policy has the following syntax:
17
18 <mode>:<name>:<version>:<hash>
19
20 where:
21 .RS 4
22 - <mode> is a digit telling if SELinux is in Permissive mode (0) or Enforcing
23 mode (1)
24
25 - <name> is the name of the SELinux policy
26
27 - <version> is the version of the SELinux policy
28
29 - <hash> is the computed hash of the binary representation of the policy, as
30 exported in /etc/selinux/<name>/policy/policy.<version>
31 .RE
32
33 .B l_getsepol
34 should be run on a client node known to enforce the right SELinux policy.
35
36 .SH EXAMPLES
37 .nf
38 # l_getsepol
39 SELinux status info: 1:mls:31:c79984bb42c0151cb0d8cc34a196a6ca95c2791190c403804efb3e9d81b6109c
40 .fi
41
42 .SH AVAILABILITY
43 .B l_getsepol
44 is part of the
45 .BR Lustre (7)
46 filesystem package.
47 .SH SEE ALSO
48 .BR lustre (7),
49 .BR lctl-nodemap-set-sepol (8)