Add initrc_t to use block_suspend capability
This is needed by nm-dispatcher.action witch is labeled as NetworkManager_initc_exec_t and is transitioned to initrc_t
This commit is contained in:
parent
693532ae68
commit
8be0fad549
|
@ -226,6 +226,7 @@ optional_policy(`
|
||||||
|
|
||||||
allow initrc_t self:process { getpgid setsched setpgid setrlimit getsched };
|
allow initrc_t self:process { getpgid setsched setpgid setrlimit getsched };
|
||||||
allow initrc_t self:capability ~{ sys_admin sys_module };
|
allow initrc_t self:capability ~{ sys_admin sys_module };
|
||||||
|
allow initrc_t self:capability2 block_suspend;
|
||||||
dontaudit initrc_t self:capability sys_module; # sysctl is triggering this
|
dontaudit initrc_t self:capability sys_module; # sysctl is triggering this
|
||||||
allow initrc_t self:passwd rootok;
|
allow initrc_t self:passwd rootok;
|
||||||
allow initrc_t self:key manage_key_perms;
|
allow initrc_t self:key manage_key_perms;
|
||||||
|
|
Loading…
Reference in New Issue