## Check and feed random data from hardware device to kernel random device.
########################################
##
## All of the rules required to
## administrate an rng environment.
##
##
##
## Domain allowed access.
##
##
##
##
## Role allowed access.
##
##
##
#
interface(`rngd_admin',`
gen_require(`
type rngd_t, rngd_initrc_exec_t, rngd_var_run_t;
')
allow $1 rngd_t:process { ptrace signal_perms };
ps_process_pattern($1, rngd_t)
init_startstop_service($1, $2, rngd_t, rngd_initrc_exec_t)
files_search_pids($1)
admin_pattern($1, rngd_var_run_t)
')