From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Wed, 09 Feb 2011 09:45:08 -0500 Subject: [refpolicy] [PATCH 1/1] Allow the alsa init script to read the default asound.state file In-Reply-To: <20110206144213.GA12232@siphos.be> References: <20110206144213.GA12232@siphos.be> Message-ID: <4D52A874.6080201@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 2/6/2011 9:42 AM, Sven Vermeulen wrote: > In Gentoo, the ALSA init script (alsasound) reads in the default > asound.state file. Merged, with a little rearrangement. > Signed-off-by: Sven Vermeulen > --- > policy/modules/system/init.te | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te > index 0580e7c..68ecbfa 100644 > --- a/policy/modules/system/init.te > +++ b/policy/modules/system/init.te > @@ -464,6 +464,10 @@ ifdef(`distro_gentoo',` > optional_policy(` > dhcpd_setattr_state_files(initrc_t) > ') > + > + optional_policy(` > + alsa_read_lib(initrc_t) > + ') > ') > > ifdef(`distro_redhat',` -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com