Use ps_process_pattern to read state.

Use ps_process_pattern.

Signed-off-by: Dominick Grift <domg472@gmail.com>
This commit is contained in:
Dominick Grift 2010-09-15 10:17:37 +02:00
parent 87cd6eef3a
commit ad424545db
2 changed files with 2 additions and 3 deletions

View File

@ -118,7 +118,7 @@ interface(`rgmanager_admin',`
')
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)
domain_system_change_exemption($1)

View File

@ -89,8 +89,7 @@ interface(`udev_read_state',`
')
kernel_search_proc($1)
allow $1 udev_t:file read_file_perms;
allow $1 udev_t:lnk_file read_lnk_file_perms;
ps_process_pattern($1, udev_t)
')
########################################