Use ps_process_pattern to read state. Permission to seach proc_t directories is required to read automount state.
Signed-off-by: Dominick Grift <domg472@gmail.com>
This commit is contained in:
parent
cb76ff4560
commit
0540e22fcc
@ -68,7 +68,8 @@ interface(`automount_read_state',`
|
|||||||
type automount_t;
|
type automount_t;
|
||||||
')
|
')
|
||||||
|
|
||||||
read_files_pattern($1, automount_t, automount_t)
|
kernel_search_proc($1)
|
||||||
|
ps_process_pattern($1, automount_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
Loading…
Reference in New Issue
Block a user