mirror of
https://github.com/SELinuxProject/refpolicy
synced 2025-03-29 14:56:29 +00:00
init: Add NoNewPerms support for systemd.
This commit is contained in:
parent
c51b772d2f
commit
acac1fcf4e
@ -131,6 +131,8 @@ interface(`init_domain',`
|
||||
|
||||
ifdef(`init_systemd',`
|
||||
allow $1 init_t:unix_stream_socket { getattr read write ioctl };
|
||||
|
||||
allow init_t $1:process2 { nnp_transition nosuid_transition };
|
||||
')
|
||||
')
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
policy_module(init, 2.2.24)
|
||||
policy_module(init, 2.2.25)
|
||||
|
||||
gen_require(`
|
||||
class passwd rootok;
|
||||
|
Loading…
Reference in New Issue
Block a user