## 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 the tzdata program in the tzdata domain.
##
##
##
## Domain allowed to transition.
##
##
##
##
## The role to allow the tzdata domain.
##
##
##
#
interface(`tzdata_run',`
gen_require(`
type tzdata_t;
')
tzdata_domtrans($1)
role $2 types tzdata_t;
')