1soundd_selinux(8) SELinux Policy soundd soundd_selinux(8)
2
3
4
6 soundd_selinux - Security Enhanced Linux Policy for the soundd pro‐
7 cesses
8
10 Security-Enhanced Linux secures the soundd processes via flexible
11 mandatory access control.
12
13 The soundd processes execute with the soundd_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 soundd_t
20
21
22
24 The soundd_t SELinux type can be entered via the soundd_exec_t file
25 type.
26
27 The default entrypoint paths for the soundd_t domain are the following:
28
29 /usr/bin/nasd, /usr/sbin/yiff, /usr/bin/gpe-soundserver
30
32 SELinux defines process types (domains) for each process running on the
33 system
34
35 You can see the context of a process using the -Z option to ps
36
37 Policy governs the access confined processes have to files. SELinux
38 soundd policy is very flexible allowing users to setup their soundd
39 processes in as secure a method as possible.
40
41 The following process types are defined for soundd:
42
43 soundd_t
44
45 Note: semanage permissive -a soundd_t can be used to make the process
46 type soundd_t permissive. SELinux does not deny access to permissive
47 process types, but the AVC (SELinux denials) messages are still gener‐
48 ated.
49
50
52 SELinux policy is customizable based on least access required. soundd
53 policy is extremely flexible and has several booleans that allow you to
54 manipulate the policy and run soundd with the tightest access possible.
55
56
57
58 If you want to allow all domains to execute in fips_mode, you must turn
59 on the fips_mode boolean. Enabled by default.
60
61 setsebool -P fips_mode 1
62
63
64
66 SELinux defines port types to represent TCP and UDP ports.
67
68 You can see the types associated with a port by using the following
69 command:
70
71 semanage port -l
72
73
74 Policy governs the access confined processes have to these ports.
75 SELinux soundd policy is very flexible allowing users to setup their
76 soundd processes in as secure a method as possible.
77
78 The following port types are defined for soundd:
79
80
81 soundd_port_t
82
83
84
85 Default Defined Ports:
86 tcp 8000,9433,16001
87
89 The SELinux process type soundd_t can manage files labeled with the
90 following file types. The paths listed are the default paths for these
91 file types. Note the processes UID still need to have DAC permissions.
92
93 cluster_conf_t
94
95 /etc/cluster(/.*)?
96
97 cluster_var_lib_t
98
99 /var/lib/pcsd(/.*)?
100 /var/lib/cluster(/.*)?
101 /var/lib/openais(/.*)?
102 /var/lib/pengine(/.*)?
103 /var/lib/corosync(/.*)?
104 /usr/lib/heartbeat(/.*)?
105 /var/lib/heartbeat(/.*)?
106 /var/lib/pacemaker(/.*)?
107
108 cluster_var_run_t
109
110 /var/run/crm(/.*)?
111 /var/run/cman_.*
112 /var/run/rsctmp(/.*)?
113 /var/run/aisexec.*
114 /var/run/heartbeat(/.*)?
115 /var/run/corosync-qnetd(/.*)?
116 /var/run/corosync-qdevice(/.*)?
117 /var/run/corosync.pid
118 /var/run/cpglockd.pid
119 /var/run/rgmanager.pid
120 /var/run/cluster/rgmanager.sk
121
122 root_t
123
124 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
125 /
126 /initrd
127
128 soundd_state_t
129
130 /var/state/yiff(/.*)?
131
132 soundd_tmp_t
133
134
135 soundd_tmpfs_t
136
137
138 soundd_var_run_t
139
140 /var/run/nasd(/.*)?
141 /var/run/yiff-[0-9]+.pid
142
143
145 SELinux requires files to have an extended attribute to define the file
146 type.
147
148 You can see the context of a file using the -Z option to ls
149
150 Policy governs the access confined processes have to these files.
151 SELinux soundd policy is very flexible allowing users to setup their
152 soundd processes in as secure a method as possible.
153
154 STANDARD FILE CONTEXT
155
156 SELinux defines the file context types for the soundd, if you wanted to
157 store files with these types in a diffent paths, you need to execute
158 the semanage command to sepecify alternate labeling and then use
159 restorecon to put the labels on disk.
160
161 semanage fcontext -a -t soundd_var_run_t '/srv/mysoundd_content(/.*)?'
162 restorecon -R -v /srv/mysoundd_content
163
164 Note: SELinux often uses regular expressions to specify labels that
165 match multiple files.
166
167 The following file types are defined for soundd:
168
169
170
171 soundd_etc_t
172
173 - Set files with the soundd_etc_t type, if you want to store soundd
174 files in the /etc directories.
175
176
177 Paths:
178 /etc/nas(/.*)?, /etc/yiff(/.*)?
179
180
181 soundd_exec_t
182
183 - Set files with the soundd_exec_t type, if you want to transition an
184 executable to the soundd_t domain.
185
186
187 Paths:
188 /usr/bin/nasd, /usr/sbin/yiff, /usr/bin/gpe-soundserver
189
190
191 soundd_initrc_exec_t
192
193 - Set files with the soundd_initrc_exec_t type, if you want to transi‐
194 tion an executable to the soundd_initrc_t domain.
195
196
197
198 soundd_state_t
199
200 - Set files with the soundd_state_t type, if you want to treat the
201 files as soundd state data.
202
203
204
205 soundd_tmp_t
206
207 - Set files with the soundd_tmp_t type, if you want to store soundd
208 temporary files in the /tmp directories.
209
210
211
212 soundd_tmpfs_t
213
214 - Set files with the soundd_tmpfs_t type, if you want to store soundd
215 files on a tmpfs file system.
216
217
218
219 soundd_var_run_t
220
221 - Set files with the soundd_var_run_t type, if you want to store the
222 soundd files under the /run or /var/run directory.
223
224
225 Paths:
226 /var/run/nasd(/.*)?, /var/run/yiff-[0-9]+.pid
227
228
229 Note: File context can be temporarily modified with the chcon command.
230 If you want to permanently change the file context you need to use the
231 semanage fcontext command. This will modify the SELinux labeling data‐
232 base. You will need to use restorecon to apply the labels.
233
234
236 semanage fcontext can also be used to manipulate default file context
237 mappings.
238
239 semanage permissive can also be used to manipulate whether or not a
240 process type is permissive.
241
242 semanage module can also be used to enable/disable/install/remove pol‐
243 icy modules.
244
245 semanage port can also be used to manipulate the port definitions
246
247 semanage boolean can also be used to manipulate the booleans
248
249
250 system-config-selinux is a GUI tool available to customize SELinux pol‐
251 icy settings.
252
253
255 This manual page was auto-generated using sepolicy manpage .
256
257
259 selinux(8), soundd(8), semanage(8), restorecon(8), chcon(1), sepol‐
260 icy(8), setsebool(8)
261
262
263
264soundd 19-10-08 soundd_selinux(8)