diff options
author | Greg Kaiser <gkaiser@google.com> | 2021-10-29 15:01:51 -0700 |
---|---|---|
committer | Greg Kaiser <gkaiser@google.com> | 2021-10-29 15:08:44 -0700 |
commit | 138e227156e55ce0e1f91af6d4967d3a012be8fa (patch) | |
tree | 4774d9b340cc699aa9dcc3b9af9dcfe31b0bb9ef | |
parent | e46e4134e5041d923142d2b4e5c2949c9cf821a1 (diff) | |
download | wembley-sepolicy-138e227156e55ce0e1f91af6d4967d3a012be8fa.tar.gz |
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
-rw-r--r-- | non_plat/file.te | 1 | ||||
-rw-r--r-- | non_plat/genfs_contexts | 1 |
2 files changed, 0 insertions, 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 |