sm6375-common: rootdir: 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

Signed-off-by: Ahmad Rulim <personal@rulim34.dev>
Change-Id: I384f57dde4c32cabd5f4db29d7e042160d7405db
This commit is contained in:
ZVNexus
2022-10-05 14:52:40 +02:00
committed by boedhack99
parent 98e238cb2e
commit f21a4f829e
2 changed files with 0 additions and 7 deletions

View File

@@ -35,8 +35,6 @@ import /vendor/etc/init/hw/init.xiaomi.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

View File

@@ -35,11 +35,6 @@ on early-init
mount debugfs debugfs /sys/kernel/debug
chmod 0755 /sys/kernel/debug
# Mount tracefs in /sys/kernel/tracing as CONFIG_DEBUG_FS might be
# disabled and /sys/kernel/debug/tracing might not be available
mount tracefs tracefs /sys/kernel/tracing
chmod 0755 /sys/kernel/tracing
chown root system /dev/kmsg
chmod 0620 /dev/kmsg