From: guido@trentalancia.com (Guido Trentalancia) Date: Thu, 10 Mar 2011 12:51:40 +0100 Subject: [refpolicy] [PATCH 07/15] Allow mozilla to read the alsa config files In-Reply-To: <4D788A12.7030700@gmail.com> References: <20110309211357.GA4709@siphos.be> <1299710762.2974.31.camel@tesla.lan> <4D788A12.7030700@gmail.com> Message-ID: <1299757900.4243.12.camel@tesla.lan> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Hello Dominick ! On Thu, 10/03/2011 at 09.21 +0100, Dominick Grift wrote: > On 03/09/2011 11:46 PM, Guido Trentalancia wrote: > > I have the same question as for [PATCH 05/15]. Tested at least with the > > moonlight plugin and with the totem plugin. Sounds strange... > > probably because you were using pulseaudio? Indeed. Just do not consider that then. > > Regards, > > > > Guido > > > > On Wed, 09/03/2011 at 22.13 +0100, Sven Vermeulen wrote: > >> In order to allow firefox plugins playing music through ALSA, the mozilla > >> domain needs read access on the alsa_rw_config files. > >> > >> Signed-off-by: Sven Vermeulen > >> --- > >> policy/modules/apps/mozilla.te | 4 ++++ > >> 1 files changed, 4 insertions(+), 0 deletions(-) > >> > >> diff --git a/policy/modules/apps/mozilla.te b/policy/modules/apps/mozilla.te > >> index c8c459c..6e0f04f 100644 > >> --- a/policy/modules/apps/mozilla.te > >> +++ b/policy/modules/apps/mozilla.te > >> @@ -223,6 +223,10 @@ tunable_policy(`mozilla_read_content',` > >> ') > >> > >> optional_policy(` > >> + alsa_read_rw_config(mozilla_t) > >> +') > >> + > >> +optional_policy(` > >> apache_read_user_scripts(mozilla_t) > >> apache_read_user_content(mozilla_t) > >> ') > > > > > > _______________________________________________ > > refpolicy mailing list > > refpolicy at oss.tresys.com > > http://oss.tresys.com/mailman/listinfo/refpolicy > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.16 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk14ihIACgkQMlxVo39jgT9aKwCfZGNcORrUtJDB2xqzPg5kIsyG > 78cAnRgz/GjcccO6ku6ptd50794tuPx0 > =gleZ > -----END PGP SIGNATURE----- > _______________________________________________ > refpolicy mailing list > refpolicy at oss.tresys.com > http://oss.tresys.com/mailman/listinfo/refpolicy >