selinux-policy/policy/modules/apps/seunshare.te

50 lines
1.2 KiB
Plaintext
Raw Normal View History

2010-05-24 19:32:01 +00:00
policy_module(seunshare, 1.1.0)
2009-09-28 19:40:06 +00:00
########################################
#
# Declarations
#
2010-08-26 13:41:21 +00:00
attribute seunshare_domain;
2009-09-28 19:40:06 +00:00
type seunshare_exec_t;
########################################
#
# seunshare local policy
#
2010-08-26 13:41:21 +00:00
allow seunshare_domain self:capability { fowner setuid dac_override setpcap sys_admin sys_nice };
allow seunshare_domain self:process { fork setexec signal getcap setcap setsched };
2009-09-28 19:40:06 +00:00
2010-08-26 13:41:21 +00:00
allow seunshare_domain self:fifo_file rw_file_perms;
allow seunshare_domain self:unix_stream_socket create_stream_socket_perms;
2009-09-28 19:40:06 +00:00
2010-08-26 13:41:21 +00:00
kernel_read_system_state(seunshare_domain)
2009-09-28 19:40:06 +00:00
2010-08-26 13:41:21 +00:00
corecmd_exec_shell(seunshare_domain)
corecmd_exec_bin(seunshare_domain)
2009-09-28 19:40:06 +00:00
2010-08-26 13:41:21 +00:00
files_search_all(seunshare_domain)
files_read_etc_files(seunshare_domain)
files_mounton_all_poly_members(seunshare_domain)
2009-09-28 19:40:06 +00:00
2010-08-26 13:41:21 +00:00
fs_manage_cgroup_dirs(seunshare_domain)
fs_manage_cgroup_files(seunshare_domain)
2009-09-28 19:40:06 +00:00
2010-08-26 13:41:21 +00:00
auth_use_nsswitch(seunshare_domain)
2009-12-01 15:31:28 +00:00
2010-08-26 13:41:21 +00:00
logging_send_syslog_msg(seunshare_domain)
2009-09-28 19:40:06 +00:00
2010-08-26 13:41:21 +00:00
miscfiles_read_localization(seunshare_domain)
userdom_use_user_terminals(seunshare_domain)
2009-12-01 15:31:28 +00:00
ifdef(`hide_broken_symptoms', `
2010-08-26 13:41:21 +00:00
fs_dontaudit_rw_anon_inodefs_files(seunshare_domain)
fs_dontaudit_list_inotifyfs(seunshare_domain)
2009-12-01 15:31:28 +00:00
optional_policy(`
2010-08-26 13:41:21 +00:00
mozilla_dontaudit_manage_user_home_files(seunshare_domain)
2009-12-01 15:31:28 +00:00
')
')
2010-08-26 13:41:21 +00:00