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
This commit is contained in:
Alexander Koskovich 2021-03-16 09:15:43 -07:00 committed by Arian
parent 9d72a6566e
commit 587bd40505

View File

@ -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