From ad41fa8dc34fe9222dd514c487ecdb78dd06611a Mon Sep 17 00:00:00 2001
From: Ruchi Kandoi <kandoiruchi@google.com>
Date: Tue, 25 Apr 2017 14:57:33 -0700
Subject: [PATCH] Remove access to sock_file for hal_nfc

Test: manual
Bug: 37640900
Change-Id: I6987d60c1eb1578134b51f4e7417700fd462ba4d
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
---
 public/hal_nfc.te | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/hal_nfc.te b/public/hal_nfc.te
index d289ef7f7..b4ad160ce 100644
--- a/public/hal_nfc.te
+++ b/public/hal_nfc.te
@@ -10,4 +10,4 @@ allow hal_nfc nfc_device:chr_file rw_file_perms;
 
 # Data file accesses.
 allow hal_nfc nfc_data_file:dir create_dir_perms;
-allow hal_nfc nfc_data_file:notdevfile_class_set create_file_perms;
+allow hal_nfc nfc_data_file:{ file lnk_file fifo_file } create_file_perms;
-- 
GitLab