Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9481266e authored by Dima Zavin's avatar Dima Zavin
Browse files

init.rc: chmod slabinfo to 440 to capture slabinfo in BRs



Bug: 7232205
Change-Id: I0d785302818a37b722e79bf740644ede52c60148
Signed-off-by: default avatarDima Zavin <dima@android.com>
parent 0b76d020
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -155,6 +155,9 @@ on post-fs
    chown root log /proc/vmallocinfo
    chmod 0440 /proc/vmallocinfo

    chown root log /proc/slabinfo
    chmod 0440 /proc/slabinfo

    #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
    chown root system /proc/kmsg
    chmod 0440 /proc/kmsg