|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
319697 |
policy_module(audioentropy, 1.4.2)
|
|
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 |
0bfccd |
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 |
0bfccd |
manage_files_pattern(entropyd_t, entropyd_var_run_t, entropyd_var_run_t)
|
|
Chris PeBenito |
0bfccd |
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 |
fcee22 |
# set sound card parameters such as
|
|
Chris PeBenito |
fcee22 |
# sample format, number of channels
|
|
Chris PeBenito |
fcee22 |
# and sample rate.
|
|
Chris PeBenito |
fcee22 |
dev_write_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 |
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 |
296273 |
userdom_dontaudit_search_user_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 |
')
|