1matahari_sysconfigd_selSiEnLuixn(u8x)Policy matahari_sysmcaotnafhiagrdi_sysconfigd_selinux(8)
2
3
4
6 matahari_sysconfigd_selinux - Security Enhanced Linux Policy for the
7 matahari_sysconfigd processes
8
10 Security-Enhanced Linux secures the matahari_sysconfigd processes via
11 flexible mandatory access control.
12
13 The matahari_sysconfigd processes execute with the matahari_syscon‐
14 figd_t SELinux type. You can check if you have these processes running
15 by executing the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep matahari_sysconfigd_t
20
21
22
24 The matahari_sysconfigd_t SELinux type can be entered via the
25 file_type, unlabeled_t, proc_type, filesystem_type, mtrr_device_t,
26 sysctl_type, matahari_sysconfigd_exec_t file types.
27
28 The default entrypoint paths for the matahari_sysconfigd_t domain are
29 the following:
30
31 all files on the system, /dev/cpu/mtrr, /usr/sbin/matahari-qmf-syscon‐
32 figd, /usr/sbin/matahari-dbus-sysconfigd, /usr/sbin/matahari-qmf-
33 sysconfig-consoled
34
36 SELinux defines process types (domains) for each process running on the
37 system
38
39 You can see the context of a process using the -Z option to ps
40
41 Policy governs the access confined processes have to files. SELinux
42 matahari_sysconfigd policy is very flexible allowing users to setup
43 their matahari_sysconfigd processes in as secure a method as possible.
44
45 The following process types are defined for matahari_sysconfigd:
46
47 matahari_sysconfigd_t
48
49 Note: semanage permissive -a matahari_sysconfigd_t can be used to make
50 the process type matahari_sysconfigd_t permissive. SELinux does not
51 deny access to permissive process types, but the AVC (SELinux denials)
52 messages are still generated.
53
54
56 SELinux policy is customizable based on least access required. mata‐
57 hari_sysconfigd policy is extremely flexible and has several booleans
58 that allow you to manipulate the policy and run matahari_sysconfigd
59 with the tightest access possible.
60
61
62
63 If you want to allow all daemons to write corefiles to /, you must turn
64 on the allow_daemons_dump_core boolean. Disabled by default.
65
66 setsebool -P allow_daemons_dump_core 1
67
68
69
70 If you want to allow all daemons to use tcp wrappers, you must turn on
71 the allow_daemons_use_tcp_wrapper boolean. Disabled by default.
72
73 setsebool -P allow_daemons_use_tcp_wrapper 1
74
75
76
77 If you want to allow all daemons the ability to read/write terminals,
78 you must turn on the allow_daemons_use_tty boolean. Disabled by
79 default.
80
81 setsebool -P allow_daemons_use_tty 1
82
83
84
85 If you want to allow all domains to use other domains file descriptors,
86 you must turn on the allow_domain_fd_use boolean. Enabled by default.
87
88 setsebool -P allow_domain_fd_use 1
89
90
91
92 If you want to allow unconfined executables to make their heap memory
93 executable. Doing this is a really bad idea. Probably indicates a
94 badly coded executable, but could indicate an attack. This executable
95 should be reported in bugzilla, you must turn on the allow_execheap
96 boolean. Disabled by default.
97
98 setsebool -P allow_execheap 1
99
100
101
102 If you want to allow unconfined executables to map a memory region as
103 both executable and writable, this is dangerous and the executable
104 should be reported in bugzilla), you must turn on the allow_execmem
105 boolean. Enabled by default.
106
107 setsebool -P allow_execmem 1
108
109
110
111 If you want to allow all unconfined executables to use libraries
112 requiring text relocation that are not labeled textrel_shlib_t), you
113 must turn on the allow_execmod boolean. Enabled by default.
114
115 setsebool -P allow_execmod 1
116
117
118
119 If you want to allow unconfined executables to make their stack exe‐
120 cutable. This should never, ever be necessary. Probably indicates a
121 badly coded executable, but could indicate an attack. This executable
122 should be reported in bugzilla), you must turn on the allow_execstack
123 boolean. Enabled by default.
124
125 setsebool -P allow_execstack 1
126
127
128
129 If you want to allow sysadm to debug or ptrace all processes, you must
130 turn on the allow_ptrace boolean. Disabled by default.
131
132 setsebool -P allow_ptrace 1
133
134
135
136 If you want to enable cluster mode for daemons, you must turn on the
137 daemons_enable_cluster_mode boolean. Disabled by default.
138
139 setsebool -P daemons_enable_cluster_mode 1
140
141
142
143 If you want to allow all domains to have the kernel load modules, you
144 must turn on the domain_kernel_load_modules boolean. Disabled by
145 default.
146
147 setsebool -P domain_kernel_load_modules 1
148
149
150
151 If you want to allow all domains to execute in fips_mode, you must turn
152 on the fips_mode boolean. Enabled by default.
153
154 setsebool -P fips_mode 1
155
156
157
158 If you want to enable reading of urandom for all domains, you must turn
159 on the global_ssp boolean. Disabled by default.
160
161 setsebool -P global_ssp 1
162
163
164
165 If you want to enable support for upstart as the init program, you must
166 turn on the init_upstart boolean. Enabled by default.
167
168 setsebool -P init_upstart 1
169
170
171
172 If you want to allow certain domains to map low memory in the kernel,
173 you must turn on the mmap_low_allowed boolean. Disabled by default.
174
175 setsebool -P mmap_low_allowed 1
176
177
178
179 If you want to boolean to determine whether the system permits loading
180 policy, setting enforcing mode, and changing boolean values. Set this
181 to true and you have to reboot to set it back, you must turn on the
182 secure_mode_policyload boolean. Disabled by default.
183
184 setsebool -P secure_mode_policyload 1
185
186
187
188 If you want to support X userspace object manager, you must turn on the
189 xserver_object_manager boolean. Disabled by default.
190
191 setsebool -P xserver_object_manager 1
192
193
194
196 The SELinux process type matahari_sysconfigd_t can manage files labeled
197 with the following file types. The paths listed are the default paths
198 for these file types. Note the processes UID still need to have DAC
199 permissions.
200
201 file_type
202
203 all files on the system
204
205
207 SELinux requires files to have an extended attribute to define the file
208 type.
209
210 You can see the context of a file using the -Z option to ls
211
212 Policy governs the access confined processes have to these files.
213 SELinux matahari_sysconfigd policy is very flexible allowing users to
214 setup their matahari_sysconfigd processes in as secure a method as pos‐
215 sible.
216
217 The following file types are defined for matahari_sysconfigd:
218
219
220
221 matahari_sysconfigd_exec_t
222
223 - Set files with the matahari_sysconfigd_exec_t type, if you want to
224 transition an executable to the matahari_sysconfigd_t domain.
225
226
227 Paths:
228 /usr/sbin/matahari-qmf-sysconfigd, /usr/sbin/matahari-dbus-syscon‐
229 figd, /usr/sbin/matahari-qmf-sysconfig-consoled
230
231
232 Note: File context can be temporarily modified with the chcon command.
233 If you want to permanently change the file context you need to use the
234 semanage fcontext command. This will modify the SELinux labeling data‐
235 base. You will need to use restorecon to apply the labels.
236
237
239 semanage fcontext can also be used to manipulate default file context
240 mappings.
241
242 semanage permissive can also be used to manipulate whether or not a
243 process type is permissive.
244
245 semanage module can also be used to enable/disable/install/remove pol‐
246 icy modules.
247
248 semanage boolean can also be used to manipulate the booleans
249
250
251 system-config-selinux is a GUI tool available to customize SELinux pol‐
252 icy settings.
253
254
256 This manual page was auto-generated using sepolicy manpage .
257
258
260 selinux(8), matahari_sysconfigd(8), semanage(8), restorecon(8),
261 chcon(1) , setsebool(8)
262
263
264
265matahari_sysconfigd 15-06-03 matahari_sysconfigd_selinux(8)