For svirt_lxc_domain

Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
This commit is contained in:
Dominick Grift 2012-10-21 14:20:11 +02:00 committed by Chris PeBenito
parent 2b63d6a616
commit 1cbe9e6196
1 changed files with 19 additions and 0 deletions

View File

@ -222,6 +222,25 @@ interface(`udev_rw_db',`
allow $1 udev_tbl_t:file rw_file_perms; allow $1 udev_tbl_t:file rw_file_perms;
') ')
########################################
## <summary>
## Read udev pid files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`udev_read_pid_files',`
gen_require(`
type udev_var_run_t;
')
files_search_pids($1)
read_files_pattern($1, udev_var_run_t, udev_var_run_t)
')
######################################## ########################################
## <summary> ## <summary>
## Search through udev pid content ## Search through udev pid content