pcscd patch from Dan Walsh: manage pub files and fifo files

This commit is contained in:
Jeremy Solt 2010-04-09 10:14:05 -04:00 committed by Chris PeBenito
parent 5d3214f5a9
commit 795b733a71

View File

@ -37,6 +37,44 @@ interface(`pcscd_read_pub_files',`
allow $1 pcscd_var_run_t:file read_file_perms;
')
########################################
## <summary>
## Manage pcscd pub files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`pcscd_manage_pub_files',`
gen_require(`
type pcscd_var_run_t;
')
files_search_pids($1)
manage_files_pattern($1, pcscd_var_run_t, pcscd_var_run_t)
')
########################################
## <summary>
## Manage pcscd pub fifo files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`pcscd_manage_pub_pipes',`
gen_require(`
type pcscd_var_run_t;
')
files_search_pids($1)
manage_fifo_files_pattern($1, pcscd_var_run_t, pcscd_var_run_t)
')
########################################
## <summary>
## Connect to pcscd over an unix stream socket.