]> git.ipfire.org Git - people/stevee/selinux-policy.git/blob - policy/modules/apps/seunshare.te
Module version bump for c17ad38 5271920 2a2b6a7 01c4413 c4fbfae a831710
[people/stevee/selinux-policy.git] / policy / modules / apps / seunshare.te
1 policy_module(seunshare, 1.1.0)
2
3 ########################################
4 #
5 # Declarations
6 #
7
8 type seunshare_t;
9 type seunshare_exec_t;
10 application_domain(seunshare_t, seunshare_exec_t)
11 role system_r types seunshare_t;
12
13 ########################################
14 #
15 # seunshare local policy
16 #
17
18 allow seunshare_t self:capability { setuid dac_override setpcap sys_admin };
19 allow seunshare_t self:process { setexec signal getcap setcap };
20
21 allow seunshare_t self:fifo_file rw_file_perms;
22 allow seunshare_t self:unix_stream_socket create_stream_socket_perms;
23
24 corecmd_exec_shell(seunshare_t)
25 corecmd_exec_bin(seunshare_t)
26
27 files_read_etc_files(seunshare_t)
28 files_mounton_all_poly_members(seunshare_t)
29
30 auth_use_nsswitch(seunshare_t)
31
32 logging_send_syslog_msg(seunshare_t)
33
34 miscfiles_read_localization(seunshare_t)
35
36 userdom_use_user_terminals(seunshare_t)
37
38 ifdef(`hide_broken_symptoms', `
39 fs_dontaudit_rw_anon_inodefs_files(seunshare_t)
40
41 optional_policy(`
42 mozilla_dontaudit_manage_user_home_files(seunshare_t)
43 ')
44 ')