Blame policy/modules/apps/seunshare.te
|
Chris PeBenito |
4be8dd |
|
|
Chris PeBenito |
29af4c |
policy_module(seunshare, 1.1.0)
|
|
Chris PeBenito |
4be8dd |
|
|
Chris PeBenito |
4be8dd |
########################################
|
|
Chris PeBenito |
4be8dd |
#
|
|
Chris PeBenito |
4be8dd |
# Declarations
|
|
Chris PeBenito |
4be8dd |
#
|
|
Chris PeBenito |
4be8dd |
|
|
Chris PeBenito |
4be8dd |
type seunshare_t;
|
|
Chris PeBenito |
4be8dd |
type seunshare_exec_t;
|
|
Chris PeBenito |
4be8dd |
application_domain(seunshare_t, seunshare_exec_t)
|
|
Chris PeBenito |
4be8dd |
role system_r types seunshare_t;
|
|
Chris PeBenito |
4be8dd |
|
|
Chris PeBenito |
4be8dd |
########################################
|
|
Chris PeBenito |
4be8dd |
#
|
|
Chris PeBenito |
4be8dd |
# seunshare local policy
|
|
Chris PeBenito |
4be8dd |
#
|
|
Chris PeBenito |
4be8dd |
|
|
Chris PeBenito |
46b037 |
allow seunshare_t self:capability { setuid dac_override setpcap sys_admin };
|
|
Chris PeBenito |
4be8dd |
allow seunshare_t self:process { setexec signal getcap setcap };
|
|
Chris PeBenito |
4be8dd |
|
|
Chris PeBenito |
4be8dd |
allow seunshare_t self:fifo_file rw_file_perms;
|
|
Chris PeBenito |
4be8dd |
allow seunshare_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
4be8dd |
|
|
Chris PeBenito |
4be8dd |
corecmd_exec_shell(seunshare_t)
|
|
Chris PeBenito |
4be8dd |
corecmd_exec_bin(seunshare_t)
|
|
Chris PeBenito |
4be8dd |
|
|
Chris PeBenito |
4be8dd |
files_read_etc_files(seunshare_t)
|
|
Chris PeBenito |
4be8dd |
files_mounton_all_poly_members(seunshare_t)
|
|
Chris PeBenito |
4be8dd |
|
|
Chris PeBenito |
4be8dd |
auth_use_nsswitch(seunshare_t)
|
|
Chris PeBenito |
4be8dd |
|
|
Chris PeBenito |
46b037 |
logging_send_syslog_msg(seunshare_t)
|
|
Chris PeBenito |
46b037 |
|
|
Chris PeBenito |
4be8dd |
miscfiles_read_localization(seunshare_t)
|
|
Chris PeBenito |
4be8dd |
|
|
Chris PeBenito |
4be8dd |
userdom_use_user_terminals(seunshare_t)
|
|
Chris PeBenito |
46b037 |
|
|
Chris PeBenito |
46b037 |
ifdef(`hide_broken_symptoms', `
|
|
Chris PeBenito |
46b037 |
fs_dontaudit_rw_anon_inodefs_files(seunshare_t)
|
|
Chris PeBenito |
46b037 |
|
|
Chris PeBenito |
46b037 |
optional_policy(`
|
|
Chris PeBenito |
46b037 |
mozilla_dontaudit_manage_user_home_files(seunshare_t)
|
|
Chris PeBenito |
46b037 |
')
|
|
Chris PeBenito |
46b037 |
')
|