policy: files: files_get_etc_unit_status/files_{start,stop}_etc_service: fix require
Signed-off-by: Markus Linnala <Markus.Linnala@cybercom.com>
This commit is contained in:
parent
7a85214310
commit
111a93eb03
@ -3226,6 +3226,7 @@ interface(`files_exec_etc_files',`
|
||||
interface(`files_get_etc_unit_status',`
|
||||
gen_require(`
|
||||
type etc_t;
|
||||
class service status;
|
||||
')
|
||||
|
||||
allow $1 etc_t:service status;
|
||||
@ -3244,6 +3245,7 @@ interface(`files_get_etc_unit_status',`
|
||||
interface(`files_start_etc_service',`
|
||||
gen_require(`
|
||||
type etc_t;
|
||||
class service start;
|
||||
')
|
||||
|
||||
allow $1 etc_t:service start;
|
||||
@ -3262,6 +3264,7 @@ interface(`files_start_etc_service',`
|
||||
interface(`files_stop_etc_service',`
|
||||
gen_require(`
|
||||
type etc_t;
|
||||
class service stop;
|
||||
')
|
||||
|
||||
allow $1 etc_t:service stop;
|
||||
|
Loading…
Reference in New Issue
Block a user