Blame policy/modules/services/ddclient.if
|
Chris PeBenito |
17de1b |
## <summary>Update dynamic IP address at DynDNS.org</summary>
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
#######################################
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Chris PeBenito |
17de1b |
## Execute ddclient in the ddclient domain.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## <param name="domain">
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Chris PeBenito |
17de1b |
## Domain allowed access.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## </param>
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
interface(`ddclient_domtrans',`
|
|
Chris PeBenito |
17de1b |
gen_require(`
|
|
Chris PeBenito |
17de1b |
type ddclient_t, ddclient_exec_t;
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
corecmd_search_sbin($1)
|
|
Chris PeBenito |
17de1b |
domain_auto_trans($1, ddclient_exec_t, ddclient_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow $1 ddclient_t:fd use;
|
|
Chris PeBenito |
17de1b |
allow ddclient_t $1:fd use;
|
|
Chris PeBenito |
17de1b |
allow ddclient_t $1:fifo_file rw_file_perms;
|
|
Chris PeBenito |
17de1b |
allow ddclient_t $1:process sigchld;
|
|
Chris PeBenito |
17de1b |
')
|