From 843bb81c3fde9041f3ba951b611d351aaa8f38e7 Mon Sep 17 00:00:00 2001 From: "P.Adarsh Reddy" Date: Thu, 22 Sep 2022 20:10:09 +0100 Subject: [PATCH] rosemary: Enforce android-S new launch debugfs restrictions This removes the default mounting of debugfs, as it is no longer allowed from android-S new-launch. Change-Id: I78878e1c4177c07d66b13e5659d4360252c5f87b --- rootdir/etc/init.mt6785.rc | 2 -- 1 file changed, 2 deletions(-) diff --git a/rootdir/etc/init.mt6785.rc b/rootdir/etc/init.mt6785.rc index 58b3e91..67873b6 100644 --- a/rootdir/etc/init.mt6785.rc +++ b/rootdir/etc/init.mt6785.rc @@ -20,8 +20,6 @@ on early-init # boot perf. tune write /proc/perfmgr/boost_ctrl/cpu_ctrl/boot_freq "0 0 0 0" write /sys/devices/platform/10012000.dvfsrc/helio-dvfsrc/dvfsrc_req_ddr_opp 0 - mount debugfs debugfs /sys/kernel/debug - chmod 0755 /sys/kernel/debug on init write /proc/bootprof "INIT:init"