|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
e9c6cd |
policy_module(audio_entropy,1.3.1)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type entropyd_t;
|
|
Chris PeBenito |
17de1b |
type entropyd_exec_t;
|
|
Chris PeBenito |
17de1b |
init_daemon_domain(entropyd_t,entropyd_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type entropyd_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(entropyd_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
8a9d6f |
allow entropyd_t self:capability { dac_override ipc_lock sys_admin };
|
|
Chris PeBenito |
17de1b |
dontaudit entropyd_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow entropyd_t self:process signal_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(entropyd_t,entropyd_var_run_t,entropyd_var_run_t)
|
|
Chris PeBenito |
17de1b |
files_pid_filetrans(entropyd_t,entropyd_var_run_t,file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(entropyd_t)
|
|
Chris PeBenito |
17de1b |
kernel_list_proc(entropyd_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_proc_symlinks(entropyd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(entropyd_t)
|
|
Chris PeBenito |
17de1b |
dev_read_urand(entropyd_t)
|
|
Chris PeBenito |
17de1b |
dev_write_urand(entropyd_t)
|
|
Chris PeBenito |
8a9d6f |
dev_read_rand(entropyd_t)
|
|
Chris PeBenito |
8a9d6f |
dev_write_rand(entropyd_t)
|
|
Chris PeBenito |
17de1b |
dev_read_sound(entropyd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(entropyd_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(entropyd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(entropyd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
libs_use_ld_so(entropyd_t)
|
|
Chris PeBenito |
17de1b |
libs_use_shared_libs(entropyd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(entropyd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(entropyd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(entropyd_t)
|
|
Chris PeBenito |
e9c6cd |
|
|
Chris PeBenito |
e9c6cd |
sysadm_dontaudit_search_home_dirs(entropyd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(entropyd_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(entropyd_t)
|
|
Chris PeBenito |
17de1b |
')
|