From 138e227156e55ce0e1f91af6d4967d3a012be8fa Mon Sep 17 00:00:00 2001 From: Greg Kaiser Date: Fri, 29 Oct 2021 15:01:51 -0700 Subject: Remove logic that duplicates system policy With https://android-review.googlesource.com/c/platform/system/sepolicy/+/1874738 we are fixing init's /proc/cpu/alignment write access for the entire system. So we remove this device-specific version of it to allow the policy to continue to build. Bug: 145371497 Test: Local build and boot Change-Id: Ic67ba5f9428b7a3da704a8b40474212f02ab6667 --- non_plat/file.te | 1 - non_plat/genfs_contexts | 1 - 2 files changed, 2 deletions(-) diff --git a/non_plat/file.te b/non_plat/file.te index 2610fde..9699e92 100644 --- a/non_plat/file.te +++ b/non_plat/file.te @@ -59,7 +59,6 @@ type proc_mtk_jpeg, fs_type, proc_type; type proc_perfmgr, fs_type, proc_type; type proc_wmtdbg, fs_type, proc_type; type proc_zraminfo, fs_type, proc_type; -type proc_cpu_alignment, fs_type, proc_type; type proc_gpulog, fs_type, proc_type; type proc_sched_debug, fs_type, proc_type; type proc_chip, fs_type, proc_type; diff --git a/non_plat/genfs_contexts b/non_plat/genfs_contexts index 8eb8e9d..f0b0e56 100644 --- a/non_plat/genfs_contexts +++ b/non_plat/genfs_contexts @@ -25,7 +25,6 @@ genfscon proc /perfmgr u:object_r:proc_perfmgr:s0 genfscon proc /driver/wmt_dbg u:object_r:proc_wmtdbg:s0 genfscon proc /zraminfo u:object_r:proc_zraminfo:s0 genfscon proc /gpulog u:object_r:proc_gpulog:s0 -genfscon proc /cpu/alignment u:object_r:proc_cpu_alignment:s0 genfscon proc /sched_debug u:object_r:proc_sched_debug:s0 genfscon proc /chip u:object_r:proc_chip:s0 genfscon proc /atf_log u:object_r:proc_atf_log:s0 -- cgit v1.2.3