selinux-policy/policy/modules/admin/tzdata.if
Dominick Grift 77e4b55f70 Admin layer xml fixes.
Signed-off-by: Dominick Grift <domg472@gmail.com>
2010-08-05 08:46:44 -04:00

45 lines
833 B
Plaintext

## <summary>Time zone updater</summary>
########################################
## <summary>
## Execute a domain transition to run tzdata.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
#
interface(`tzdata_domtrans',`
gen_require(`
type tzdata_t, tzdata_exec_t;
')
domtrans_pattern($1, tzdata_exec_t, tzdata_t)
')
########################################
## <summary>
## Execute the tzdata program in the tzdata domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
## <param name="role">
## <summary>
## The role to allow the tzdata domain.
## </summary>
## </param>
## <rolecap/>
#
interface(`tzdata_run',`
gen_require(`
type tzdata_t;
')
tzdata_domtrans($1)
role $2 types tzdata_t;
')