From 7e6dc0eabb9be5055ffb13deaa8f5ec869f80e59 Mon Sep 17 00:00:00 2001 From: Jack Wu Date: Sat, 29 Oct 2022 11:02:08 +0800 Subject: [PATCH] ignore shell access on wlc Bug: 238260741 Test: boot Change-Id: I5f1d321df2daa2ec785e2ad1ac2e02478568b688 Signed-off-by: Jack Wu --- tracking_denials/bug_map | 1 - whitechapel_pro/shell.te | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tracking_denials/bug_map b/tracking_denials/bug_map index 0f9c92d7..f2b65774 100644 --- a/tracking_denials/bug_map +++ b/tracking_denials/bug_map @@ -20,6 +20,5 @@ shell mirror_data_file dir b/239484612 shell postinstall_mnt_dir dir b/239484612 shell rootfs file b/239484612 shell sscoredump_vendor_data_crashinfo_file dir b/241714944 -shell sysfs_wlc dir b/238260741 shell system_dlkm_file dir b/239484612 su modem_img_file filesystem b/240653918 diff --git a/whitechapel_pro/shell.te b/whitechapel_pro/shell.te index 978a5426..44ae0768 100644 --- a/whitechapel_pro/shell.te +++ b/whitechapel_pro/shell.te @@ -3,3 +3,6 @@ userdebug_or_eng(` allow shell sysfs_sjtag:dir r_dir_perms; allow shell sysfs_sjtag:file rw_file_perms; ') + +# wlc +dontaudit shell sysfs_wlc:dir search;