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:
Dominick Grift 2010-09-15 10:35:12 +02:00
parent cb76ff4560
commit 0540e22fcc

View File

@ -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)
') ')
######################################## ########################################