## Time zone updater.
########################################
##
## Execute a domain transition to run tzdata.
##
##
##
## Domain allowed to transition.
##
##
#
interface(`tzdata_domtrans',`
gen_require(`
type tzdata_t, tzdata_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, tzdata_exec_t, tzdata_t)
')
########################################
##
## Execute tzdata in the tzdata domain,
## and allow the specified role
## the tzdata domain.
##
##
##
## Domain allowed to transition.
##
##
##
##
## Role allowed access.
##
##
##
#
interface(`tzdata_run',`
gen_require(`
attribute_role tzdata_roles;
')
tzdata_domtrans($1)
roleattribute $2 tzdata_roles;
')