Chris PeBenito 0fbfa5
#DESC audio-entropyd - Generate entropy from audio input
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
# Author: Chris PeBenito <pebenito@gentoo.org>
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
daemon_domain(entropyd)
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
allow entropyd_t self:capability { ipc_lock sys_admin };
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
allow entropyd_t random_device_t:chr_file rw_file_perms;
Chris PeBenito 0fbfa5
allow entropyd_t device_t:dir r_dir_perms;
Chris PeBenito 0fbfa5
allow entropyd_t sound_device_t:chr_file r_file_perms;