sm6225-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 Michael Bestas
parent 459eba2f23
commit 9b4c50d809
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -34,8 +34,6 @@ import /vendor/etc/init/hw/init.qcom.factory.rc
on early-init
mount debugfs debugfs /sys/kernel/debug
chmod 0755 /sys/kernel/debug
mount tracefs tracefs /sys/kernel/tracing
chmod 0755 /sys/kernel/tracing
# create symlink for vendor mount points
symlink /vendor/firmware_mnt /firmware