[refpolicy] [PATCH 01/15] Support /usr/sbin/alsactl location too (fex. Gentoo, Slackware, Arch)
Christopher J. PeBenito
cpebenito at tresys.com
Tue Mar 22 07:38:58 CDT 2011
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 <sven.vermeulen at siphos.be>
> ---
> 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
More information about the refpolicy
mailing list