Merge pull request #64 from fishilico/haveged-unit

This commit is contained in:
Chris PeBenito 2019-08-27 00:20:24 -04:00
commit 95c4192509
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,7 @@
/etc/rc\.d/init\.d/((audio-entropyd)|(haveged)) -- gen_context(system_u:object_r:entropyd_initrc_exec_t,s0) /etc/rc\.d/init\.d/((audio-entropyd)|(haveged)) -- gen_context(system_u:object_r:entropyd_initrc_exec_t,s0)
/usr/lib/systemd/system/haveged.*\.service -- gen_context(system_u:object_r:entropyd_unit_t,s0)
/usr/bin/audio-entropyd -- gen_context(system_u:object_r:entropyd_exec_t,s0) /usr/bin/audio-entropyd -- gen_context(system_u:object_r:entropyd_exec_t,s0)
/usr/bin/haveged -- gen_context(system_u:object_r:entropyd_exec_t,s0) /usr/bin/haveged -- gen_context(system_u:object_r:entropyd_exec_t,s0)

View File

@ -21,6 +21,9 @@ init_daemon_domain(entropyd_t, entropyd_exec_t)
type entropyd_initrc_exec_t; type entropyd_initrc_exec_t;
init_script_file(entropyd_initrc_exec_t) init_script_file(entropyd_initrc_exec_t)
type entropyd_unit_t;
init_unit_file(entropyd_unit_t)
type entropyd_var_run_t; type entropyd_var_run_t;
files_pid_file(entropyd_var_run_t) files_pid_file(entropyd_var_run_t)