From: sven.vermeulen@siphos.be (Sven Vermeulen) Date: Wed, 9 Mar 2011 22:05:24 +0100 Subject: [refpolicy] [PATCH 01/15] Support /usr/sbin/alsactl location too (fex. Gentoo, Slackware, Arch) Message-ID: <20110309210524.GA4658@siphos.be> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com The alsactl binary is often installed in /usr/sbin instead of /sbin (not a necessity to start up the system). Used in distributions such as Gentoo, Slackware and Arch. Signed-off-by: Sven Vermeulen --- policy/modules/admin/alsa.fc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/policy/modules/admin/alsa.fc b/policy/modules/admin/alsa.fc index 72a0458..9834458 100644 --- a/policy/modules/admin/alsa.fc +++ b/policy/modules/admin/alsa.fc @@ -8,6 +8,7 @@ HOME_DIR/\.asoundrc -- gen_context(system_u:object_r:alsa_home_t,s0) /etc/asound\.state -- gen_context(system_u:object_r:alsa_etc_rw_t,s0) /sbin/alsactl -- gen_context(system_u:object_r:alsa_exec_t,s0) +/usr/sbin/alsactl -- gen_context(system_u:object_r:alsa_exec_t,s0) /sbin/salsa -- gen_context(system_u:object_r:alsa_exec_t,s0) /usr/bin/ainit -- gen_context(system_u:object_r:alsa_exec_t,s0) -- 1.7.3.4