From aae18186e1e3e3ef540a629aa61a33f05bb7c150 Mon Sep 17 00:00:00 2001 From: Max Bires <jbires@google.com> Date: Thu, 19 Oct 2017 15:51:38 -0700 Subject: [PATCH] Relabeling /proc/asound so everything has proc_asound label This is to simplify access for hal_audio Test: ls -Z in /proc/asound correctly shows everything with proc_asound selinux label Change-Id: I66ed8babf2363bee27a748147eb358d57a4594c4 --- private/genfs_contexts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/private/genfs_contexts b/private/genfs_contexts index 2cc6f70db..5b0f3c7e2 100644 --- a/private/genfs_contexts +++ b/private/genfs_contexts @@ -2,8 +2,7 @@ genfscon rootfs / u:object_r:rootfs:s0 # proc labeling can be further refined (longest matching prefix). genfscon proc / u:object_r:proc:s0 -genfscon proc /asound/cards u:object_r:proc_asound:s0 -genfscon proc /asound/devices u:object_r:proc_asound:s0 +genfscon proc /asound u:object_r:proc_asound:s0 genfscon proc /cmdline u:object_r:proc_cmdline:s0 genfscon proc /config.gz u:object_r:config_gz:s0 genfscon proc /filesystems u:object_r:proc_filesystems:s0 -- GitLab