2018-06-23 13:00:56 +00:00
|
|
|
## <summary>fake-hwclock - Control fake hardware clock.</summary>
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## All the rules required to
|
|
|
|
## administrate an fake-hwclock environment.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
|
|
|
## <summary>
|
|
|
|
## Domain allowed to transition.
|
|
|
|
## </summary>
|
|
|
|
## </param>
|
|
|
|
## <param name="role">
|
|
|
|
## <summary>
|
|
|
|
## Role allowed access.
|
|
|
|
## </summary>
|
|
|
|
## </param>
|
|
|
|
#
|
|
|
|
interface(`fakehwclock_admin',`
|
|
|
|
gen_require(`
|
2020-01-21 19:25:52 +00:00
|
|
|
type fakehwclock_t, fakehwclock_backup_t, fakehwclock_initrc_exec_t;
|
|
|
|
type fakehwclock_unit_t;
|
2018-06-23 13:00:56 +00:00
|
|
|
')
|
|
|
|
|
|
|
|
admin_process_pattern($1, fakehwclock_t)
|
|
|
|
|
|
|
|
init_startstop_service($1, $2, fakehwclock_t, fakehwclock_initrc_exec_t, fakehwclock_unit_t)
|
|
|
|
|
|
|
|
files_search_etc($1)
|
|
|
|
admin_pattern($1, fakehwclock_backup_t)
|
|
|
|
')
|