Fix ring buffer rules capability2 usage.

This commit is contained in:
Chris PeBenito 2011-04-18 13:06:21 -04:00
parent 6835095671
commit cca4b7e619
2 changed files with 5 additions and 5 deletions

View File

@ -484,11 +484,11 @@ interface(`kernel_change_ring_buffer_level',`
allow $1 kernel_t:system syslog_console;
ifdef(`distro_rhel4',`
allow $1 self:capability2 sys_admin;
allow $1 self:capability sys_admin;
')
ifdef(`distro_rhel5',`
allow $1 self:capability2 sys_admin;
allow $1 self:capability sys_admin;
')
')
@ -512,11 +512,11 @@ interface(`kernel_clear_ring_buffer',`
allow $1 kernel_t:system syslog_mod;
ifdef(`distro_rhel4',`
allow $1 self:capability2 sys_admin;
allow $1 self:capability sys_admin;
')
ifdef(`distro_rhel5',`
allow $1 self:capability2 sys_admin;
allow $1 self:capability sys_admin;
')
')

View File

@ -1,4 +1,4 @@
policy_module(kernel, 1.13.2)
policy_module(kernel, 1.13.3)
########################################
#