selinux-refpolicy/policy/modules/admin/fakehwclock.if
Russell Coker eef53e3ddc remove deprecated from 20190201
This patch removes every macro and interface that was deprecated in 20190201.

Some of them date back to 2016 or 2017.  I chose 20190201 as that is the one
that is in the previous release of Debian.  For any distribution I don't
think it makes sense to carry interfaces that were deprecated in version N
to version N+1.

One thing that particularly annoys me is when audit2allow -R gives deprecated
interfaces in it's output.  Removing some of these should reduce the
incidence of that.

I believe this is worthy of merging.

Signed-off-by: Russell Coker <russell@coker.com.au>
2021-01-25 08:59:34 -05:00

32 lines
748 B
Plaintext

## <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(`
type fakehwclock_t, fakehwclock_backup_t, fakehwclock_initrc_exec_t;
type fakehwclock_unit_t;
')
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)
')