In Gentoo, the ALSA init script (alsasound) reads in the default
asound.state file.
Signed-off-by: Sven Vermeulen <[email protected]>
---
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
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<[email protected]>
> ---
> 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
http://www.tresys.com | oss.tresys.com