From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Tue, 22 Mar 2011 08:38:58 -0400 Subject: [refpolicy] [PATCH 01/15] Support /usr/sbin/alsactl location too (fex. Gentoo, Slackware, Arch) In-Reply-To: <20110309210524.GA4658@siphos.be> References: <20110309210524.GA4658@siphos.be> Message-ID: <4D889862.9020605@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 03/09/11 16:05, Sven Vermeulen wrote: > 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) Merged. -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com