Add auth_pid_filetrans_pam_var_run

This commit is contained in:
Sven Vermeulen 2014-11-22 22:16:35 +01:00 committed by Chris PeBenito
parent fbdf5f0ef8
commit f0ebf14176
1 changed files with 31 additions and 0 deletions

View File

@ -1002,6 +1002,37 @@ interface(`auth_dontaudit_read_pam_pid',`
dontaudit $1 pam_var_run_t:file { getattr read };
')
########################################
## <summary>
## Create specified objects in
## pid directories with the pam var
## run file type using a
## file type transition.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
## <param name="object_class">
## <summary>
## Class of the object being created.
## </summary>
## </param>
## <param name="name" optional="true">
## <summary>
## The name of the object being created.
## </summary>
## </param>
#
interface(`auth_pid_filetrans_pam_var_run',`
gen_require(`
type pam_var_run_t;
')
files_pid_filetrans($1, pam_var_run_t, $2, $3)
')
########################################
## <summary>
## Delete pam PID files.