Ddclient patch from Dan Walsh.
This commit is contained in:
parent
dcabb11eb5
commit
14c7865f1f
|
@ -19,6 +19,31 @@ interface(`ddclient_domtrans',`
|
|||
domtrans_pattern($1, ddclient_exec_t, ddclient_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Execute ddclient daemon on behalf of a user or staff type.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
## <param name="role">
|
||||
## <summary>
|
||||
## Role allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
## <rolecap/>
|
||||
#
|
||||
interface(`ddclient_run',`
|
||||
gen_require(`
|
||||
type ddclient_t;
|
||||
')
|
||||
|
||||
ddclient_domtrans($1)
|
||||
role $2 types ddclient_t;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## All of the rules required to administrate
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
policy_module(ddclient, 1.8.0)
|
||||
policy_module(ddclient, 1.8.1)
|
||||
|
||||
########################################
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue