## Clockspeed simple network time protocol client
########################################
##
## Execute clockspeed utilities in the clockspeed_cli domain.
##
##
##
## Domain allowed access.
##
##
#
interface(`clockspeed_domtrans_cli',`
gen_require(`
type clockspeed_cli_t, clockspeed_cli_exec_t;
')
domtrans_pattern($1, clockspeed_cli_exec_t, clockspeed_cli_t)
')
########################################
##
## Allow the specified role the clockspeed_cli domain.
##
##
##
## Domain allowed access.
##
##
##
##
## The role to be allowed the clockspeed_cli domain.
##
##
##
##
## The type of the terminal allow the clockspeed_cli domain to use.
##
##
##
#
interface(`clockspeed_run_cli',`
gen_require(`
type clockspeed_cli_t;
')
role $2 types clockspeed_cli_t;
clockspeed_domtrans_cli($1)
allow clockspeed_cli_t $3:chr_file { getattr read write ioctl };
')