From 5cccb249151ce06f9e05ad9abf5a1c362712e212 Mon Sep 17 00:00:00 2001
From: Tri Vo <trong@google.com>
Date: Fri, 13 Oct 2017 17:23:32 -0700
Subject: [PATCH] Remove proc access from hal_audio.

As a consequence, hal_audio_default (and any domain with hal_audio attribute)
loses access to proc label.

Bug: 65643247
Test: sailfish boots, can play sound through speakers and headset
(3.5mm, usb, and bluetooth) without denials from hal_audio to proc.
Test: VtsHalAudioEffectV2_0Target
Test: VtsHalAudioV2_0Target

Change-Id: I3eead5a26ef36b8840d31c5e078f006b0c2266a3
---
 public/hal_audio.te | 1 -
 1 file changed, 1 deletion(-)

diff --git a/public/hal_audio.te b/public/hal_audio.te
index 6a436bd8e..c5a6b9d2f 100644
--- a/public/hal_audio.te
+++ b/public/hal_audio.te
@@ -13,7 +13,6 @@ userdebug_or_eng(`
   allow hal_audio audiohal_data_file:file create_file_perms;
 ')
 
-r_dir_file(hal_audio, proc)
 r_dir_file(hal_audio, proc_asound)
 allow hal_audio audio_device:dir r_dir_perms;
 allow hal_audio audio_device:chr_file rw_file_perms;
-- 
GitLab