init: Add systemd block to init_script_domain().
Signed-off-by: Chris PeBenito <Christopher.PeBenito@microsoft.com>
This commit is contained in:
parent
3a6b7c1856
commit
4aafedd872
@ -99,6 +99,12 @@ interface(`init_script_domain',`
|
||||
role system_r types $1;
|
||||
|
||||
domtrans_pattern(init_run_all_scripts_domain, $2, $1)
|
||||
|
||||
ifdef(`init_systemd',`
|
||||
allow $1 init_t:unix_stream_socket { getattr read write ioctl };
|
||||
|
||||
allow init_t $1:process2 { nnp_transition nosuid_transition };
|
||||
')
|
||||
')
|
||||
|
||||
########################################
|
||||
|
Loading…
Reference in New Issue
Block a user