Fix incorrect dependenices in init module interfaces (init_t as an attribute rather than type).
This commit is contained in:
parent
640df09275
commit
756c96b541
|
@ -937,7 +937,7 @@ interface(`init_run_daemon',`
|
||||||
#
|
#
|
||||||
interface(`init_read_state',`
|
interface(`init_read_state',`
|
||||||
gen_require(`
|
gen_require(`
|
||||||
attribute init_t;
|
type init_t;
|
||||||
')
|
')
|
||||||
|
|
||||||
allow $1 init_t:dir search_dir_perms;
|
allow $1 init_t:dir search_dir_perms;
|
||||||
|
@ -958,7 +958,7 @@ interface(`init_read_state',`
|
||||||
#
|
#
|
||||||
interface(`init_ptrace',`
|
interface(`init_ptrace',`
|
||||||
gen_require(`
|
gen_require(`
|
||||||
attribute init_t;
|
type init_t;
|
||||||
')
|
')
|
||||||
|
|
||||||
allow $1 init_t:process ptrace;
|
allow $1 init_t:process ptrace;
|
||||||
|
|
Loading…
Reference in New Issue