From 5e53f90cdd397a9853973ab1a6ba28ed77f68d04 Mon Sep 17 00:00:00 2001 From: Wonsik Kim Date: Wed, 3 Mar 2021 22:47:02 +0000 Subject: [PATCH] Revert "init.rc: set up a tracing instance for BootReceiver.java" Revert "Selinux policy for bootreceiver tracing instance" Revert submission 1572240-kernel_bootreceiver Reason for revert: DroidMonitor: Potential culprit for Bug 181778620 - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Reverted Changes: Ic1c49a695:init.rc: set up a tracing instance for BootReceive... I828666ec3:Selinux policy for bootreceiver tracing instance Change-Id: I5c2ccfe3eeb8863086b7cb9b3de43c6e076d995a --- rootdir/init.rc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 0e1e98b84..04e954e31 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -620,15 +620,6 @@ on late-fs # Load trusted keys from dm-verity protected partitions exec -- /system/bin/fsverity_init --load-verified-keys - # Set up a tracing instance for system_server to monitor error_report_end events. - # These are sent by kernel tools like KASAN and KFENCE when a memory corruption - # is detected. - mkdir /sys/kernel/tracing/instances/bootreceiver 0700 system system - restorecon_recursive /sys/kernel/tracing/instances/bootreceiver - write /sys/kernel/tracing/instances/bootreceiver/buffer_size_kb 1 - write /sys/kernel/tracing/instances/bootreceiver/trace_options disable_on_free - write /sys/kernel/tracing/instances/bootreceiver/events/error_report/error_report_end/enable 1 - on post-fs-data mark_post_data