1cachefiles_kernel_selinuSxE(L8i)nux Policy cachefiles_kecrancehlefiles_kernel_selinux(8)
2
3
4
6 cachefiles_kernel_selinux - Security Enhanced Linux Policy for the
7 cachefiles_kernel processes
8
10 Security-Enhanced Linux secures the cachefiles_kernel processes via
11 flexible mandatory access control.
12
13 The cachefiles_kernel processes execute with the cachefiles_kernel_t
14 SELinux type. You can check if you have these processes running by exe‐
15 cuting the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep cachefiles_kernel_t
20
21
22
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 cachefiles_kernel policy is very flexible allowing users to setup their
31 cachefiles_kernel processes in as secure a method as possible.
32
33 The following process types are defined for cachefiles_kernel:
34
35 cachefiles_kernel_t
36
37 Note: semanage permissive -a cachefiles_kernel_t can be used to make
38 the process type cachefiles_kernel_t permissive. SELinux does not deny
39 access to permissive process types, but the AVC (SELinux denials) mes‐
40 sages are still generated.
41
42
44 SELinux policy is customizable based on least access required.
45 cachefiles_kernel policy is extremely flexible and has several booleans
46 that allow you to manipulate the policy and run cachefiles_kernel with
47 the tightest access possible.
48
49
50
51 If you want to allow all domains to use other domains file descriptors,
52 you must turn on the allow_domain_fd_use boolean. Enabled by default.
53
54 setsebool -P allow_domain_fd_use 1
55
56
57
58 If you want to allow sysadm to debug or ptrace all processes, you must
59 turn on the allow_ptrace boolean. Disabled by default.
60
61 setsebool -P allow_ptrace 1
62
63
64
65 If you want to allow all domains to have the kernel load modules, you
66 must turn on the domain_kernel_load_modules boolean. Disabled by
67 default.
68
69 setsebool -P domain_kernel_load_modules 1
70
71
72
73 If you want to allow all domains to execute in fips_mode, you must turn
74 on the fips_mode boolean. Enabled by default.
75
76 setsebool -P fips_mode 1
77
78
79
80 If you want to enable reading of urandom for all domains, you must turn
81 on the global_ssp boolean. Disabled by default.
82
83 setsebool -P global_ssp 1
84
85
86
88 The SELinux process type cachefiles_kernel_t can manage files labeled
89 with the following file types. The paths listed are the default paths
90 for these file types. Note the processes UID still need to have DAC
91 permissions.
92
93 cachefiles_var_t
94
95 /var/fscache(/.*)?
96 /var/cache/fscache(/.*)?
97
98 initrc_tmp_t
99
100
101 mnt_t
102
103 /mnt(/[^/]*)
104 /mnt(/[^/]*)?
105 /rhev(/[^/]*)?
106 /media(/[^/]*)
107 /media(/[^/]*)?
108 /etc/rhgb(/.*)?
109 /media/.hal-.*
110 /net
111 /afs
112 /rhev
113 /misc
114
115 tmp_t
116
117 /tmp
118 /usr/tmp
119 /var/tmp
120 /tmp-inst
121 /var/tmp-inst
122 /var/tmp/vi.recover
123
124
126 semanage fcontext can also be used to manipulate default file context
127 mappings.
128
129 semanage permissive can also be used to manipulate whether or not a
130 process type is permissive.
131
132 semanage module can also be used to enable/disable/install/remove pol‐
133 icy modules.
134
135 semanage boolean can also be used to manipulate the booleans
136
137
138 system-config-selinux is a GUI tool available to customize SELinux pol‐
139 icy settings.
140
141
143 This manual page was auto-generated using sepolicy manpage .
144
145
147 selinux(8), cachefiles_kernel(8), semanage(8), restorecon(8), chcon(1)
148 , setsebool(8)
149
150
151
152cachefiles_kernel 15-06-03 cachefiles_kernel_selinux(8)