]> git.ipfire.org Git - people/stevee/selinux-policy.git/blame - policy/modules/roles/staff.te
Add log specification for /var/log/freshclam.log
[people/stevee/selinux-policy.git] / policy / modules / roles / staff.te
CommitLineData
826d0142 1policy_module(staff, 2.2.0)
e9c6cda7
CP
2
3########################################
4#
5# Declarations
6#
7
8role staff_r;
9
10userdom_unpriv_user_template(staff)
3eaa9939
DW
11fs_exec_noxattr(staff_t)
12
13# needed for sandbox
14allow staff_t self:process setexec;
e9c6cda7
CP
15
16########################################
17#
18# Local policy
19#
20
3eaa9939
DW
21kernel_read_ring_buffer(staff_usertype)
22kernel_getattr_core_if(staff_usertype)
23kernel_getattr_message_if(staff_usertype)
24kernel_read_software_raid_state(staff_usertype)
2968e068
DW
25kernel_read_fs_sysctls(staff_usertype)
26
27domain_read_all_domains_state(staff_usertype)
28domain_getattr_all_domains(staff_usertype)
29domain_obj_id_change_exemption(staff_t)
30
31files_read_kernel_modules(staff_usertype)
32
33seutil_read_module_store(staff_t)
34seutil_run_newrole(staff_t, staff_r)
35
5c589335
DW
36storage_read_scsi_generic(staff_t)
37storage_write_scsi_generic(staff_t)
38
2968e068 39term_use_unallocated_ttys(staff_usertype)
3eaa9939
DW
40
41auth_domtrans_pam_console(staff_t)
42
43init_dbus_chat(staff_t)
44init_dbus_chat_script(staff_t)
45
2968e068
DW
46miscfiles_read_hwdata(staff_usertype)
47
4ba442da
DW
48ifndef(`enable_mls',`
49 selinux_read_policy(staff_t)
50')
51
4ad28653
DW
52optional_policy(`
53 abrt_cache_read(staff_t)
54')
55
e9c6cda7 56optional_policy(`
296273a7 57 apache_role(staff_r, staff_t)
e9c6cda7
CP
58')
59
3eaa9939 60optional_policy(`
296273a7 61 auditadm_role_change(staff_r)
3eaa9939
DW
62')
63
e9c6cda7 64optional_policy(`
c62f1bef 65 dbadm_role_change(staff_r)
e9c6cda7
CP
66')
67
c62f1bef 68optional_policy(`
14ffaf83
DW
69 accountsd_dbus_chat(staff_t)
70 accountsd_read_lib_files(staff_t)
3eaa9939
DW
71')
72
27608c5b
DW
73optional_policy(`
74 colord_dbus_chat(staff_t)
75')
76
3eaa9939 77optional_policy(`
14ffaf83 78 gnomeclock_dbus_chat(staff_t)
3eaa9939
DW
79')
80
3eaa9939 81optional_policy(`
14ffaf83
DW
82 firewallgui_dbus_chat(staff_t)
83')
84
ca9e8850
DW
85optional_policy(`
86 gnome_role(staff_r, staff_t)
87')
88
14ffaf83
DW
89optional_policy(`
90 lpd_list_spool(staff_t)
3eaa9939
DW
91')
92
28545264
DW
93optional_policy(`
94 mock_role(staff_r, staff_t)
95')
96
3eaa9939 97optional_policy(`
14ffaf83
DW
98 kerneloops_dbus_chat(staff_t)
99')
100
101optional_policy(`
102 logadm_role_change(staff_r)
103')
104
105optional_policy(`
106 mozilla_run_plugin(staff_t, staff_r)
3eaa9939
DW
107')
108
2371d8d8
MG
109optional_policy(`
110 modutils_read_module_config(staff_usertype)
111 modutils_read_module_deps(staff_usertype)
112')
113
114optional_policy(`
115 netutils_run_ping(staff_t, staff_r)
116 netutils_run_traceroute(staff_t, staff_r)
117 netutils_signal_ping(staff_t)
118 netutils_kill_ping(staff_t)
119')
120
366396d8
DW
121optional_policy(`
122 oident_manage_user_content(staff_t)
123 oident_relabel_user_content(staff_t)
124')
125
a7129342
DW
126optional_policy(`
127 mysql_exec(staff_t)
128')
129
3eaa9939 130optional_policy(`
2968e068 131 postgresql_role(staff_r, staff_t)
3eaa9939
DW
132')
133
4f620e4f 134optional_policy(`
1966f12c 135 qemu_run(staff_t, staff_r)
d87a4847 136 virt_manage_tmpfs_files(staff_t)
a11cc065 137 virt_filetrans_home_content(staff_t)
4f620e4f
DW
138')
139
3eaa9939 140optional_policy(`
14ffaf83 141 rtkit_scheduled(staff_t)
3eaa9939
DW
142')
143
144optional_policy(`
14ffaf83 145 rpm_dbus_chat(staff_usertype)
3eaa9939
DW
146')
147
148optional_policy(`
c87e1502 149 secadm_role_change(staff_r)
296273a7
CP
150')
151
152optional_policy(`
14ffaf83 153 sandbox_transition(staff_t, staff_r)
3eaa9939
DW
154')
155
156optional_policy(`
2968e068 157 screen_role_template(staff, staff_r, staff_t)
3eaa9939
DW
158')
159
296273a7 160optional_policy(`
c87e1502
JS
161 sysadm_role_change(staff_r)
162 userdom_dontaudit_use_user_terminals(staff_t)
296273a7 163')
14ffaf83
DW
164optional_policy(`
165 setroubleshoot_stream_connect(staff_t)
166 setroubleshoot_dbus_chat(staff_t)
167 setroubleshoot_dbus_chat_fixit(staff_t)
168')
169
3eaa9939 170optional_policy(`
2968e068 171 ssh_role_template(staff, staff_r, staff_t)
3eaa9939
DW
172')
173
174optional_policy(`
2968e068 175 sudo_role_template(staff, staff_r, staff_t)
3eaa9939
DW
176')
177
3a7aacc9
MG
178#optional_policy(`
179# telepathy_dbus_session_role(staff_r, staff_t)
180#')
c62f1bef 181
296273a7 182optional_policy(`
14ffaf83
DW
183 userhelper_console_role_template(staff, staff_r, staff_usertype)
184')
185
186optional_policy(`
187 unconfined_role_change(staff_r)
188')
189
190optional_policy(`
191 virt_stream_connect(staff_t)
192')
193
0a394bf0
DW
194optional_policy(`
195 vnstatd_read_lib_files(staff_t)
196')
197
14ffaf83
DW
198optional_policy(`
199 webadm_role_change(staff_r)
296273a7
CP
200')
201
d35e2ee0 202optional_policy(`
7f9f5bce 203 vlock_run(staff_t, staff_r)
d35e2ee0
HC
204')
205
3eaa9939 206optional_policy(`
2968e068 207 xserver_role(staff_r, staff_t)
3eaa9939
DW
208')
209
210ifndef(`distro_redhat',`
2968e068
DW
211 optional_policy(`
212 auth_role(staff_r, staff_t)
213 ')
214
215 optional_policy(`
216 bluetooth_role(staff_r, staff_t)
217 ')
218
219 optional_policy(`
220 cdrecord_role(staff_r, staff_t)
221 ')
222
223 optional_policy(`
224 cron_role(staff_r, staff_t)
225 ')
226
227 optional_policy(`
228 dbus_role_template(staff, staff_r, staff_t)
229 ')
3eaa9939 230
2968e068
DW
231 optional_policy(`
232 evolution_role(staff_r, staff_t)
233 ')
3eaa9939 234
2968e068
DW
235 optional_policy(`
236 games_role(staff_r, staff_t)
237 ')
3eaa9939 238
2968e068
DW
239 optional_policy(`
240 gift_role(staff_r, staff_t)
241 ')
296273a7 242
2968e068
DW
243 optional_policy(`
244 gpg_role(staff_r, staff_t)
245 ')
296273a7 246
2968e068
DW
247 optional_policy(`
248 irc_role(staff_r, staff_t)
249 ')
3eaa9939 250
2968e068
DW
251 optional_policy(`
252 java_role(staff_r, staff_t)
253 ')
296273a7 254
2968e068
DW
255 optional_policy(`
256 lockdev_role(staff_r, staff_t)
257 ')
296273a7 258
2968e068
DW
259 optional_policy(`
260 lpd_role(staff_r, staff_t)
261 ')
296273a7 262
2968e068
DW
263 optional_policy(`
264 mozilla_role(staff_r, staff_t)
265 ')
3eaa9939 266
2968e068
DW
267 optional_policy(`
268 mplayer_role(staff_r, staff_t)
269 ')
3eaa9939 270
2968e068
DW
271 optional_policy(`
272 mta_role(staff_r, staff_t)
273 ')
3eaa9939 274
2968e068
DW
275 optional_policy(`
276 pyzor_role(staff_r, staff_t)
277 ')
3eaa9939 278
2968e068
DW
279 optional_policy(`
280 razor_role(staff_r, staff_t)
281 ')
3eaa9939 282
2968e068
DW
283 optional_policy(`
284 rssh_role(staff_r, staff_t)
285 ')
3eaa9939 286
2968e068
DW
287 optional_policy(`
288 spamassassin_role(staff_r, staff_t)
289 ')
3eaa9939 290
2968e068
DW
291 optional_policy(`
292 su_role_template(staff, staff_r, staff_t)
293 ')
3eaa9939 294
2968e068
DW
295 optional_policy(`
296 thunderbird_role(staff_r, staff_t)
297 ')
3eaa9939 298
2968e068
DW
299 optional_policy(`
300 tvtime_role(staff_r, staff_t)
301 ')
3eaa9939 302
2968e068
DW
303 optional_policy(`
304 uml_role(staff_r, staff_t)
305 ')
3eaa9939 306
2968e068
DW
307 optional_policy(`
308 userhelper_role_template(staff, staff_r, staff_t)
309 ')
3eaa9939 310
2968e068
DW
311 optional_policy(`
312 vmware_role(staff_r, staff_t)
313 ')
3eaa9939 314
2968e068
DW
315 optional_policy(`
316 wireshark_role(staff_r, staff_t)
317 ')
318')
4d22fba0
DW
319
320tunable_policy(`allow_execmod',`
321 userdom_execmod_user_home_files(staff_usertype)
322')