From 587bd405052ae22964f123befae0ff8509e11b88 Mon Sep 17 00:00:00 2001 From: Alexander Koskovich Date: Tue, 16 Mar 2021 09:15:43 -0700 Subject: [PATCH] sm6150-common: init: Don't mount TraceFS twice. * AOSP already mounts TraceFS in system init, so mounting it twice causes SEPolicy denials. See the comments in this change. https://android-review.googlesource.com/c/platform/system/sepolicy/+/1294195 Change-Id: Ic5d9ac2dbd36e404a93a8d48aa0ea933fd7fa701 --- rootdir/etc/init.qcom.rc | 2 -- 1 file changed, 2 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 0b46416..d0d0e15 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -32,8 +32,6 @@ on early-init mount debugfs debugfs /sys/kernel/debug chmod 0755 /sys/kernel/debug chmod 0755 /sys/kernel/debug/tracing - mount tracefs tracefs /sys/kernel/tracing - chmod 0755 /sys/kernel/tracing # Change ownership of hw_recovery related nodes chown system graphics /sys/kernel/debug/dri/0/debug/dump