Blame policy/modules/admin/alsa.te
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
d46cfe |
policy_module(alsa,1.1.1)
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
de8af9 |
########################################
|
|
Chris PeBenito |
de8af9 |
#
|
|
Chris PeBenito |
de8af9 |
# Declarations
|
|
Chris PeBenito |
de8af9 |
#
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
de8af9 |
type alsa_t;
|
|
Chris PeBenito |
de8af9 |
type alsa_exec_t;
|
|
Chris PeBenito |
d46cfe |
application_domain(alsa_t, alsa_exec_t)
|
|
Chris PeBenito |
de8af9 |
role system_r types alsa_t;
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
de8af9 |
type alsa_etc_rw_t;
|
|
Chris PeBenito |
de8af9 |
files_type(alsa_etc_rw_t)
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
de8af9 |
########################################
|
|
Chris PeBenito |
de8af9 |
#
|
|
Chris PeBenito |
de8af9 |
# Local policy
|
|
Chris PeBenito |
de8af9 |
#
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
de8af9 |
allow alsa_t self:capability { setgid setuid ipc_owner };
|
|
Chris PeBenito |
de8af9 |
dontaudit alsa_t self:capability sys_admin;
|
|
Chris PeBenito |
de8af9 |
allow alsa_t self:sem create_sem_perms;
|
|
Chris PeBenito |
de8af9 |
allow alsa_t self:shm create_shm_perms;
|
|
Chris PeBenito |
de8af9 |
allow alsa_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
de8af9 |
allow alsa_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(alsa_t,alsa_etc_rw_t,alsa_etc_rw_t)
|
|
Chris PeBenito |
c0868a |
manage_lnk_files_pattern(alsa_t,alsa_etc_rw_t,alsa_etc_rw_t)
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
de8af9 |
files_read_etc_files(alsa_t)
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
1815ba |
term_use_generic_ptys(alsa_t)
|
|
Chris PeBenito |
1815ba |
term_dontaudit_use_unallocated_ttys(alsa_t)
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
de8af9 |
libs_use_ld_so(alsa_t)
|
|
Chris PeBenito |
de8af9 |
libs_use_shared_libs(alsa_t)
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
de8af9 |
logging_send_syslog_msg(alsa_t)
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
de8af9 |
miscfiles_read_localization(alsa_t)
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
de8af9 |
userdom_manage_unpriv_user_semaphores(alsa_t)
|
|
Chris PeBenito |
de8af9 |
userdom_manage_unpriv_user_shared_mem(alsa_t)
|
|
Chris PeBenito |
de8af9 |
|
|
Chris PeBenito |
bb7170 |
optional_policy(`
|
|
Chris PeBenito |
1815ba |
nscd_socket_use(alsa_t)
|
|
Chris PeBenito |
de8af9 |
')
|