sm6250-common: 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-09-22 17:13:11 +02:00 committed by Alexander Winkowski
parent 6a60791b24
commit 54830186e5
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44
2 changed files with 0 additions and 5 deletions

View File

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

@ -1,6 +1,3 @@
# For mount tracefs tracefs /sys/kernel/tracing
allow init debugfs_tracing_debug:dir mounton;
allow init same_process_hal_file:file execute;
allow init adsprpcd_file:file mounton;