Irqbalance patch from Dan Walsh.

This commit is contained in:
Chris PeBenito 2009-12-18 10:39:36 -05:00
parent d7b98c8902
commit 7d05af77c3
1 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
policy_module(irqbalance, 1.4.0) policy_module(irqbalance, 1.4.1)
######################################## ########################################
# #
@ -18,11 +18,10 @@ files_pid_file(irqbalance_var_run_t)
# Local policy # Local policy
# #
allow irqbalance_t self:capability net_admin; allow irqbalance_t self:capability { setpcap net_admin };
allow irqbalance_t self:udp_socket create_socket_perms;
dontaudit irqbalance_t self:capability sys_tty_config; dontaudit irqbalance_t self:capability sys_tty_config;
allow irqbalance_t self:process signal_perms; allow irqbalance_t self:process { getcap setcap signal_perms };
allow irqbalance_t self:udp_socket create_socket_perms;
manage_files_pattern(irqbalance_t, irqbalance_var_run_t, irqbalance_var_run_t) manage_files_pattern(irqbalance_t, irqbalance_var_run_t, irqbalance_var_run_t)
files_pid_filetrans(irqbalance_t, irqbalance_var_run_t, file) files_pid_filetrans(irqbalance_t, irqbalance_var_run_t, file)