* [refpolicy] [PATCH 1/1] Allow the alsa init script to read the default asound.state file
@ 2011-02-06 14:42 Sven Vermeulen
2011-02-09 14:45 ` Christopher J. PeBenito
0 siblings, 1 reply; 2+ messages in thread
From: Sven Vermeulen @ 2011-02-06 14:42 UTC (permalink / raw)
To: refpolicy
In Gentoo, the ALSA init script (alsasound) reads in the default
asound.state file.
Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
---
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',`
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [refpolicy] [PATCH 1/1] Allow the alsa init script to read the default asound.state file
2011-02-06 14:42 [refpolicy] [PATCH 1/1] Allow the alsa init script to read the default asound.state file Sven Vermeulen
@ 2011-02-09 14:45 ` Christopher J. PeBenito
0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2011-02-09 14:45 UTC (permalink / raw)
To: refpolicy
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<sven.vermeulen@siphos.be>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-09 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-06 14:42 [refpolicy] [PATCH 1/1] Allow the alsa init script to read the default asound.state file Sven Vermeulen
2011-02-09 14:45 ` Christopher J. PeBenito
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.