Fix ring buffer rules capability2 usage.
This commit is contained in:
parent
6835095671
commit
cca4b7e619
|
@ -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;
|
||||
')
|
||||
')
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
policy_module(kernel, 1.13.2)
|
||||
policy_module(kernel, 1.13.3)
|
||||
|
||||
########################################
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue