1depmod_selinux(8)            SELinux Policy depmod           depmod_selinux(8)
2
3
4

NAME

6       depmod_selinux  -  Security  Enhanced  Linux Policy for the depmod pro‐
7       cesses
8

DESCRIPTION

10       Security-Enhanced Linux  secures  the  depmod  processes  via  flexible
11       mandatory access control.
12
13       The  depmod  processes  execute with the depmod_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 depmod_t
20
21
22

ENTRYPOINTS

24       The  depmod_t  SELinux  type  can  be  entered via the file_type, unla‐
25       beled_t,  proc_type,  depmod_exec_t,  filesystem_type,   mtrr_device_t,
26       sysctl_type file types.
27
28       The default entrypoint paths for the depmod_t domain are the following:
29
30       all files on the system, /sbin/depmod.*, /dev/cpu/mtrr
31

PROCESS TYPES

33       SELinux defines process types (domains) for each process running on the
34       system
35
36       You can see the context of a process using the -Z option to ps
37
38       Policy governs the access confined processes have  to  files.   SELinux
39       depmod  policy  is  very  flexible allowing users to setup their depmod
40       processes in as secure a method as possible.
41
42       The following process types are defined for depmod:
43
44       depmod_t
45
46       Note: semanage permissive -a depmod_t can be used to make  the  process
47       type  depmod_t  permissive.  SELinux does not deny access to permissive
48       process types, but the AVC (SELinux denials) messages are still  gener‐
49       ated.
50
51

BOOLEANS

53       SELinux  policy is customizable based on least access required.  depmod
54       policy is extremely flexible and has several booleans that allow you to
55       manipulate the policy and run depmod with the tightest access possible.
56
57
58
59       If  you  want to allow all daemons the ability to read/write terminals,
60       you  must  turn  on  the  allow_daemons_use_tty  boolean.  Disabled  by
61       default.
62
63       setsebool -P allow_daemons_use_tty 1
64
65
66
67       If you want to allow all domains to use other domains file descriptors,
68       you must turn on the allow_domain_fd_use boolean. Enabled by default.
69
70       setsebool -P allow_domain_fd_use 1
71
72
73
74       If you want to allow unconfined executables to make their  heap  memory
75       executable.   Doing  this  is  a  really bad idea. Probably indicates a
76       badly coded executable, but could indicate an attack.  This  executable
77       should  be  reported  in  bugzilla, you must turn on the allow_execheap
78       boolean. Disabled by default.
79
80       setsebool -P allow_execheap 1
81
82
83
84       If you want to allow unconfined executables to map a memory  region  as
85       both  executable  and  writable,  this  is dangerous and the executable
86       should be reported in bugzilla), you must  turn  on  the  allow_execmem
87       boolean. Enabled by default.
88
89       setsebool -P allow_execmem 1
90
91
92
93       If  you  want  to  allow  all  unconfined  executables to use libraries
94       requiring text relocation that are not  labeled  textrel_shlib_t),  you
95       must turn on the allow_execmod boolean. Enabled by default.
96
97       setsebool -P allow_execmod 1
98
99
100
101       If  you  want  to allow unconfined executables to make their stack exe‐
102       cutable.  This should never, ever be necessary.  Probably  indicates  a
103       badly  coded  executable, but could indicate an attack. This executable
104       should be reported in bugzilla), you must turn on  the  allow_execstack
105       boolean. Enabled by default.
106
107       setsebool -P allow_execstack 1
108
109
110
111       If  you want to allow sysadm to debug or ptrace all processes, you must
112       turn on the allow_ptrace boolean. Disabled by default.
113
114       setsebool -P allow_ptrace 1
115
116
117
118       If you want to allow all domains to have the kernel load  modules,  you
119       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
120       default.
121
122       setsebool -P domain_kernel_load_modules 1
123
124
125
126       If you want to allow all domains to execute in fips_mode, you must turn
127       on the fips_mode boolean. Enabled by default.
128
129       setsebool -P fips_mode 1
130
131
132
133       If you want to enable reading of urandom for all domains, you must turn
134       on the global_ssp boolean. Disabled by default.
135
136       setsebool -P global_ssp 1
137
138
139
140       If you want to allow certain domains to map low memory in  the  kernel,
141       you must turn on the mmap_low_allowed boolean. Disabled by default.
142
143       setsebool -P mmap_low_allowed 1
144
145
146
147       If  you want to boolean to determine whether the system permits loading
148       policy, setting enforcing mode, and changing boolean values.  Set  this
149       to  true  and  you  have to reboot to set it back, you must turn on the
150       secure_mode_policyload boolean. Disabled by default.
151
152       setsebool -P secure_mode_policyload 1
153
154
155
156       If you want to support NFS home  directories,  you  must  turn  on  the
157       use_nfs_home_dirs boolean. Disabled by default.
158
159       setsebool -P use_nfs_home_dirs 1
160
161
162
163       If  you  want  to  support SAMBA home directories, you must turn on the
164       use_samba_home_dirs boolean. Disabled by default.
165
166       setsebool -P use_samba_home_dirs 1
167
168
169
170       If you want to support X userspace object manager, you must turn on the
171       xserver_object_manager boolean. Disabled by default.
172
173       setsebool -P xserver_object_manager 1
174
175
176

MANAGED FILES

178       The  SELinux  process  type  depmod_t can manage files labeled with the
179       following file types.  The paths listed are the default paths for these
180       file types.  Note the processes UID still need to have DAC permissions.
181
182       file_type
183
184            all files on the system
185
186

FILE CONTEXTS

188       SELinux requires files to have an extended attribute to define the file
189       type.
190
191       You can see the context of a file using the -Z option to ls
192
193       Policy governs the access  confined  processes  have  to  these  files.
194       SELinux  depmod  policy  is very flexible allowing users to setup their
195       depmod processes in as secure a method as possible.
196
197       The following file types are defined for depmod:
198
199
200
201       depmod_exec_t
202
203       - Set files with the depmod_exec_t type, if you want to  transition  an
204       executable to the depmod_t domain.
205
206
207
208       Note:  File context can be temporarily modified with the chcon command.
209       If you want to permanently change the file context you need to use  the
210       semanage fcontext command.  This will modify the SELinux labeling data‐
211       base.  You will need to use restorecon to apply the labels.
212
213

COMMANDS

215       semanage fcontext can also be used to manipulate default  file  context
216       mappings.
217
218       semanage  permissive  can  also  be used to manipulate whether or not a
219       process type is permissive.
220
221       semanage module can also be used to enable/disable/install/remove  pol‐
222       icy modules.
223
224       semanage boolean can also be used to manipulate the booleans
225
226
227       system-config-selinux is a GUI tool available to customize SELinux pol‐
228       icy settings.
229
230

AUTHOR

232       This manual page was auto-generated using sepolicy manpage .
233
234

SEE ALSO

236       selinux(8), depmod(8), semanage(8), restorecon(8),  chcon(1)  ,  setse‐
237       bool(8)
238
239
240
241depmod                             15-06-03                  depmod_selinux(8)
Impressum