1cachefiles_kernel_selinuSxE(L8i)nux Policy cachefiles_kecrancehlefiles_kernel_selinux(8)
2
3
4

NAME

6       cachefiles_kernel_selinux  -  Security  Enhanced  Linux  Policy for the
7       cachefiles_kernel processes
8

DESCRIPTION

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

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       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

BOOLEANS

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 deny any process from ptracing or  debugging  any  other
52       processes,  you  must  turn  on  the  deny_ptrace  boolean.  Enabled by
53       default.
54
55       setsebool -P deny_ptrace 1
56
57
58
59       If you want to allow any process  to  mmap  any  file  on  system  with
60       attribute  file_type,  you must turn on the domain_can_mmap_files bool‐
61       ean. Enabled by default.
62
63       setsebool -P domain_can_mmap_files 1
64
65
66
67       If you want to allow all domains write to kmsg_device, while kernel  is
68       executed  with  systemd.log_target=kmsg parameter, you must turn on the
69       domain_can_write_kmsg boolean. Disabled by default.
70
71       setsebool -P domain_can_write_kmsg 1
72
73
74
75       If you want to allow all domains to use other domains file descriptors,
76       you must turn on the domain_fd_use boolean. Enabled by default.
77
78       setsebool -P domain_fd_use 1
79
80
81
82       If  you  want to allow all domains to have the kernel load modules, you
83       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
84       default.
85
86       setsebool -P domain_kernel_load_modules 1
87
88
89
90       If you want to allow all domains to execute in fips_mode, you must turn
91       on the fips_mode boolean. Enabled by default.
92
93       setsebool -P fips_mode 1
94
95
96
97       If you want to enable reading of urandom for all domains, you must turn
98       on the global_ssp boolean. Disabled by default.
99
100       setsebool -P global_ssp 1
101
102
103

MANAGED FILES

105       The  SELinux  process type cachefiles_kernel_t can manage files labeled
106       with the following file types.  The paths listed are the default  paths
107       for  these  file  types.  Note the processes UID still need to have DAC
108       permissions.
109
110       cachefiles_var_t
111
112            /var/fscache(/.*)?
113            /var/cache/fscache(/.*)?
114
115

COMMANDS

117       semanage fcontext can also be used to manipulate default  file  context
118       mappings.
119
120       semanage  permissive  can  also  be used to manipulate whether or not a
121       process type is permissive.
122
123       semanage module can also be used to enable/disable/install/remove  pol‐
124       icy modules.
125
126       semanage boolean can also be used to manipulate the booleans
127
128
129       system-config-selinux is a GUI tool available to customize SELinux pol‐
130       icy settings.
131
132

AUTHOR

134       This manual page was auto-generated using sepolicy manpage .
135
136

SEE ALSO

138       selinux(8), cachefiles_kernel(8), semanage(8), restorecon(8), chcon(1),
139       sepolicy(8) , setsebool(8)
140
141
142
143cachefiles_kernel                  19-04-25       cachefiles_kernel_selinux(8)
Impressum