pcscd patch from Dan Walsh: manage pub files and fifo files
This commit is contained in:
parent
5d3214f5a9
commit
795b733a71
@ -37,6 +37,44 @@ interface(`pcscd_read_pub_files',`
|
|||||||
allow $1 pcscd_var_run_t:file read_file_perms;
|
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>
|
## <summary>
|
||||||
## Connect to pcscd over an unix stream socket.
|
## Connect to pcscd over an unix stream socket.
|
||||||
|
Loading…
Reference in New Issue
Block a user