Add missing gen_require for init_t in init_script_domain

Signed-off-by: Dave Sugar <dsugar@tresys.com>
This commit is contained in:
Sugar, David 2019-10-29 17:28:05 +00:00 committed by Chris PeBenito
parent 3952ecb4dd
commit 36ebc670cb
1 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,9 @@ interface(`init_script_domain',`
domtrans_pattern(init_run_all_scripts_domain, $2, $1)
ifdef(`init_systemd',`
gen_require(`
type init_t;
')
allow $1 init_t:unix_stream_socket { getattr read write ioctl };
allow init_t $1:process2 { nnp_transition nosuid_transition };