Chris PeBenito de8af9
Chris PeBenito 2b3c99
policy_module(alsa,1.1.0)
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 de8af9
domain_type(alsa_t)
Chris PeBenito de8af9
domain_entry_file(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 de8af9
allow alsa_t alsa_etc_rw_t:dir rw_dir_perms;
Chris PeBenito de8af9
allow alsa_t alsa_etc_rw_t:file create_file_perms;
Chris PeBenito de8af9
allow alsa_t alsa_etc_rw_t:lnk_file create_lnk_perms;
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 de8af9
optional_policy(`nscd',`
Chris PeBenito 1815ba
	nscd_socket_use(alsa_t)
Chris PeBenito de8af9
')