Chris PeBenito 17de1b
Chris PeBenito 296273
policy_module(irqbalance, 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 irqbalance_t;
Chris PeBenito 17de1b
type irqbalance_exec_t;
Chris PeBenito 0bfccd
init_daemon_domain(irqbalance_t, irqbalance_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type irqbalance_var_run_t;
Chris PeBenito 17de1b
files_pid_file(irqbalance_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 6b19be
allow irqbalance_t self:capability net_admin;
Chris PeBenito 6b19be
allow irqbalance_t self:udp_socket create_socket_perms;
Chris PeBenito 6b19be
Chris PeBenito 17de1b
dontaudit irqbalance_t self:capability sys_tty_config;
Chris PeBenito 17de1b
allow irqbalance_t self:process signal_perms;
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
manage_files_pattern(irqbalance_t, irqbalance_var_run_t, irqbalance_var_run_t)
Chris PeBenito 0bfccd
files_pid_filetrans(irqbalance_t, irqbalance_var_run_t, file)
Chris PeBenito 17de1b
Chris PeBenito 6b19be
kernel_read_network_state(irqbalance_t)
Chris PeBenito 17de1b
kernel_read_system_state(irqbalance_t)
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(irqbalance_t)
Chris PeBenito 17de1b
kernel_rw_irq_sysctls(irqbalance_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_sysfs(irqbalance_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
files_read_etc_files(irqbalance_t)
Chris PeBenito 17de1b
files_read_etc_runtime_files(irqbalance_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
fs_getattr_all_fs(irqbalance_t)
Chris PeBenito 17de1b
fs_search_auto_mountpoints(irqbalance_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
domain_use_interactive_fds(irqbalance_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(irqbalance_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(irqbalance_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
userdom_dontaudit_use_unpriv_user_fds(irqbalance_t)
Chris PeBenito 296273
userdom_dontaudit_search_user_home_dirs(irqbalance_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	seutil_sigchld_newrole(irqbalance_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	udev_read_db(irqbalance_t)
Chris PeBenito 17de1b
')