|
Chris PeBenito |
2bcdbd |
## <summary>Digital Certificate Tracking</summary>
|
|
Chris PeBenito |
2bcdbd |
|
|
Chris PeBenito |
2bcdbd |
########################################
|
|
Chris PeBenito |
2bcdbd |
## <summary>
|
|
Chris PeBenito |
2bcdbd |
## Domain transition to certwatch.
|
|
Chris PeBenito |
2bcdbd |
## </summary>
|
|
Chris PeBenito |
2bcdbd |
## <param name="domain">
|
|
Chris PeBenito |
885b83 |
## <summary>
|
|
Chris PeBenito |
2bcdbd |
## Domain allowed access.
|
|
Chris PeBenito |
885b83 |
## </summary>
|
|
Chris PeBenito |
2bcdbd |
## </param>
|
|
Chris PeBenito |
2bcdbd |
#
|
|
Chris PeBenito |
2bcdbd |
interface(`certwatch_domtrans',`
|
|
Chris PeBenito |
2bcdbd |
gen_require(`
|
|
Chris PeBenito |
2bcdbd |
type certwatch_exec_t, certwatch_t;
|
|
Chris PeBenito |
2bcdbd |
')
|
|
Chris PeBenito |
2bcdbd |
|
|
Chris PeBenito |
2bcdbd |
files_search_usr($1)
|
|
Chris PeBenito |
8021cb |
corecmd_search_bin($1)
|
|
Chris PeBenito |
0bfccd |
domtrans_pattern($1, certwatch_exec_t, certwatch_t)
|
|
Chris PeBenito |
2bcdbd |
')
|
|
Chris PeBenito |
2bcdbd |
|
|
Chris PeBenito |
2bcdbd |
########################################
|
|
Chris PeBenito |
2bcdbd |
## <summary>
|
|
Chris PeBenito |
2bcdbd |
## Execute certwatch in the certwatch domain, and
|
|
Chris PeBenito |
2bcdbd |
## allow the specified role the certwatch domain,
|
|
Chris PeBenito |
2bcdbd |
## and use the caller's terminal. Has a sigchld
|
|
Chris PeBenito |
2bcdbd |
## backchannel.
|
|
Chris PeBenito |
2bcdbd |
## </summary>
|
|
Chris PeBenito |
2bcdbd |
## <param name="domain">
|
|
Chris PeBenito |
885b83 |
## <summary>
|
|
Chris PeBenito |
2bcdbd |
## The type of the process performing this action.
|
|
Chris PeBenito |
885b83 |
## </summary>
|
|
Chris PeBenito |
2bcdbd |
## </param>
|
|
Chris PeBenito |
2bcdbd |
## <param name="role">
|
|
Chris PeBenito |
885b83 |
## <summary>
|
|
Chris PeBenito |
2bcdbd |
## The role to be allowed the certwatch domain.
|
|
Chris PeBenito |
885b83 |
## </summary>
|
|
Chris PeBenito |
2bcdbd |
## </param>
|
|
Chris PeBenito |
2bcdbd |
## <param name="terminal">
|
|
Chris PeBenito |
885b83 |
## <summary>
|
|
Chris PeBenito |
2bcdbd |
## The type of the terminal allow the certwatch domain to use.
|
|
Chris PeBenito |
885b83 |
## </summary>
|
|
Chris PeBenito |
2bcdbd |
## </param>
|
|
Chris PeBenito |
bbcd3c |
## <rolecap/>
|
|
Chris PeBenito |
2bcdbd |
#
|
|
Chris PeBenito |
492276 |
interface(`certwatch_run',`
|
|
Chris PeBenito |
2bcdbd |
gen_require(`
|
|
Chris PeBenito |
2bcdbd |
type certwatch_t;
|
|
Chris PeBenito |
2bcdbd |
')
|
|
Chris PeBenito |
2bcdbd |
|
|
Chris PeBenito |
2bcdbd |
certwatch_domtrans($1)
|
|
Chris PeBenito |
2bcdbd |
role $2 types certwatch_t;
|
|
Chris PeBenito |
2bcdbd |
allow certwatch_t $3:chr_file rw_term_perms;
|
|
Chris PeBenito |
2bcdbd |
')
|
|
Chris PeBenito |
492276 |
|
|
Chris PeBenito |
492276 |
########################################
|
|
Chris PeBenito |
492276 |
## <summary>
|
|
Chris PeBenito |
492276 |
## Execute certwatch in the certwatch domain, and
|
|
Chris PeBenito |
492276 |
## allow the specified role the certwatch domain,
|
|
Chris PeBenito |
492276 |
## and use the caller's terminal. Has a sigchld
|
|
Chris PeBenito |
492276 |
## backchannel. (Deprecated)
|
|
Chris PeBenito |
492276 |
## </summary>
|
|
Chris PeBenito |
492276 |
## <param name="domain">
|
|
Chris PeBenito |
492276 |
## <summary>
|
|
Chris PeBenito |
492276 |
## The type of the process performing this action.
|
|
Chris PeBenito |
492276 |
## </summary>
|
|
Chris PeBenito |
492276 |
## </param>
|
|
Chris PeBenito |
492276 |
## <param name="role">
|
|
Chris PeBenito |
492276 |
## <summary>
|
|
Chris PeBenito |
492276 |
## The role to be allowed the certwatch domain.
|
|
Chris PeBenito |
492276 |
## </summary>
|
|
Chris PeBenito |
492276 |
## </param>
|
|
Chris PeBenito |
492276 |
## <param name="terminal">
|
|
Chris PeBenito |
492276 |
## <summary>
|
|
Chris PeBenito |
492276 |
## The type of the terminal allow the certwatch domain to use.
|
|
Chris PeBenito |
492276 |
## </summary>
|
|
Chris PeBenito |
492276 |
## </param>
|
|
Chris PeBenito |
492276 |
## <rolecap/>
|
|
Chris PeBenito |
492276 |
#
|
|
Chris PeBenito |
492276 |
interface(`certwatach_run',`
|
|
Chris PeBenito |
492276 |
refpolicywarn(`$0($*) has been deprecated, please use certwatch_run() instead.')
|
|
Chris PeBenito |
492276 |
certwatch_run($*)
|
|
Chris PeBenito |
492276 |
')
|