2006-05-08 14:16:10 +00:00
|
|
|
## <summary>Clockspeed simple network time protocol client</summary>
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
2008-12-03 19:16:20 +00:00
|
|
|
## Execute clockspeed utilities in the clockspeed_cli domain.
|
2006-05-08 14:16:10 +00:00
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
2008-12-03 19:16:20 +00:00
|
|
|
## <summary>
|
2010-08-05 13:03:19 +00:00
|
|
|
## Domain allowed to transition.
|
2008-12-03 19:16:20 +00:00
|
|
|
## </summary>
|
2006-05-08 14:16:10 +00:00
|
|
|
## </param>
|
|
|
|
#
|
|
|
|
interface(`clockspeed_domtrans_cli',`
|
2008-12-03 18:33:19 +00:00
|
|
|
gen_require(`
|
|
|
|
type clockspeed_cli_t, clockspeed_cli_exec_t;
|
|
|
|
')
|
2006-05-08 14:16:10 +00:00
|
|
|
|
2006-12-12 20:08:08 +00:00
|
|
|
domtrans_pattern($1, clockspeed_cli_exec_t, clockspeed_cli_t)
|
2006-05-08 14:16:10 +00:00
|
|
|
')
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Allow the specified role the clockspeed_cli domain.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
|
|
|
## <summary>
|
2010-08-05 13:03:19 +00:00
|
|
|
## Domain allowed to transition.
|
2006-05-08 14:16:10 +00:00
|
|
|
## </summary>
|
|
|
|
## </param>
|
|
|
|
## <param name="role">
|
|
|
|
## <summary>
|
2010-08-03 13:20:22 +00:00
|
|
|
## Role allowed access.
|
2006-05-08 14:16:10 +00:00
|
|
|
## </summary>
|
|
|
|
## </param>
|
2006-09-06 22:07:25 +00:00
|
|
|
## <rolecap/>
|
2006-05-08 14:16:10 +00:00
|
|
|
#
|
2007-04-19 14:24:02 +00:00
|
|
|
interface(`clockspeed_run_cli',`
|
2006-05-08 14:16:10 +00:00
|
|
|
gen_require(`
|
|
|
|
type clockspeed_cli_t;
|
|
|
|
')
|
|
|
|
|
|
|
|
role $2 types clockspeed_cli_t;
|
|
|
|
clockspeed_domtrans_cli($1)
|
|
|
|
')
|