Use ps_process_pattern to read state.
Use ps_process_pattern. Signed-off-by: Dominick Grift <domg472@gmail.com>
This commit is contained in:
parent
87cd6eef3a
commit
ad424545db
@ -118,7 +118,7 @@ interface(`rgmanager_admin',`
|
|||||||
')
|
')
|
||||||
|
|
||||||
allow $1 rgmanager_t:process { ptrace signal_perms };
|
allow $1 rgmanager_t:process { ptrace signal_perms };
|
||||||
read_files_pattern($1, rgmanager_t, rgmanager_t)
|
ps_process_pattern($1, rgmanager_t)
|
||||||
|
|
||||||
init_labeled_script_domtrans($1, rgmanager_initrc_exec_t)
|
init_labeled_script_domtrans($1, rgmanager_initrc_exec_t)
|
||||||
domain_system_change_exemption($1)
|
domain_system_change_exemption($1)
|
||||||
|
@ -89,8 +89,7 @@ interface(`udev_read_state',`
|
|||||||
')
|
')
|
||||||
|
|
||||||
kernel_search_proc($1)
|
kernel_search_proc($1)
|
||||||
allow $1 udev_t:file read_file_perms;
|
ps_process_pattern($1, udev_t)
|
||||||
allow $1 udev_t:lnk_file read_lnk_file_perms;
|
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
Loading…
Reference in New Issue
Block a user