1kernel_selinux(8)            SELinux Policy kernel           kernel_selinux(8)
2
3
4

NAME

6       kernel_selinux  -  Security  Enhanced  Linux Policy for the kernel pro‐
7       cesses
8

DESCRIPTION

10       Security-Enhanced Linux  secures  the  kernel  processes  via  flexible
11       mandatory access control.
12
13       The  kernel  processes  execute with the kernel_t SELinux type. You can
14       check if you have these processes running by executing the  ps  command
15       with the -Z qualifier.
16
17       For example:
18
19       ps -eZ | grep kernel_t
20
21
22

PROCESS TYPES

24       SELinux defines process types (domains) for each process running on the
25       system
26
27       You can see the context of a process using the -Z option to ps
28
29       Policy governs the access confined processes have  to  files.   SELinux
30       kernel  policy  is  very  flexible allowing users to setup their kernel
31       processes in as secure a method as possible.
32
33       The following process types are defined for kernel:
34
35       kernel_generic_helper_t, kernel_t, kernel_systemctl_t
36
37       Note: semanage permissive -a kernel_t can be used to make  the  process
38       type  kernel_t  permissive.  SELinux does not deny access to permissive
39       process types, but the AVC (SELinux denials) messages are still  gener‐
40       ated.
41
42

BOOLEANS

44       SELinux  policy is customizable based on least access required.  kernel
45       policy is extremely flexible and has several booleans that allow you to
46       manipulate the policy and run kernel with the tightest access possible.
47
48
49
50       If you want to allow all domains to execute in fips_mode, you must turn
51       on the fips_mode boolean. Enabled by default.
52
53       setsebool -P fips_mode 1
54
55
56
57       If you want to allow any files/directories to be exported read/only via
58       NFS,  you  must  turn  on the nfs_export_all_ro boolean. Enabled by de‐
59       fault.
60
61       setsebool -P nfs_export_all_ro 1
62
63
64
65       If you want to allow any files/directories to  be  exported  read/write
66       via NFS, you must turn on the nfs_export_all_rw boolean. Enabled by de‐
67       fault.
68
69       setsebool -P nfs_export_all_rw 1
70
71
72
73       If you want to allow system to run with  NIS,  you  must  turn  on  the
74       nis_enabled boolean. Disabled by default.
75
76       setsebool -P nis_enabled 1
77
78
79
80       If  you want to disable kernel module loading, you must turn on the se‐
81       cure_mode_insmod boolean. Disabled by default.
82
83       setsebool -P secure_mode_insmod 1
84
85
86

MANAGED FILES

88       The SELinux process type kernel_t can manage  files  labeled  with  the
89       following file types.  The paths listed are the default paths for these
90       file types.  Note the processes UID still need to have DAC permissions.
91
92       file_type
93
94            all files on the system
95
96

COMMANDS

98       semanage fcontext can also be used to manipulate default  file  context
99       mappings.
100
101       semanage  permissive  can  also  be used to manipulate whether or not a
102       process type is permissive.
103
104       semanage module can also be used to enable/disable/install/remove  pol‐
105       icy modules.
106
107       semanage boolean can also be used to manipulate the booleans
108
109
110       system-config-selinux is a GUI tool available to customize SELinux pol‐
111       icy settings.
112
113

AUTHOR

115       This manual page was auto-generated using sepolicy manpage .
116
117

SEE ALSO

119       selinux(8), kernel(8),  semanage(8),  restorecon(8),  chcon(1),  sepol‐
120       icy(8),     setsebool(8),     kernel_generic_helper_selinux(8),    ker‐
121       nel_generic_helper_selinux(8), kernel_systemctl_selinux(8), kernel_sys‐
122       temctl_selinux(8)
123
124
125
126kernel                             23-12-15                  kernel_selinux(8)
Impressum