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

Commit 5d4c19be authored by Alessio Balsini's avatar Alessio Balsini
Browse files

Non-root access to /proc/allocinfo



Change group and permissions to the /proc/allocinfo file, so that the
file is readable from non-root.

Bug: 384777823
Test: adb shell dumpstate
Change-Id: Icf5331cb68e4b706d4eaf11ee2576234c2d7789f
Signed-off-by: default avatarAlessio Balsini <balsini@google.com>
parent 3aed5fd2
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -569,6 +569,9 @@ on post-fs
    chown root log /proc/vmallocinfo
    chown root log /proc/vmallocinfo
    chmod 0440 /proc/vmallocinfo
    chmod 0440 /proc/vmallocinfo


    chown root log /proc/allocinfo
    chmod 0440 /proc/allocinfo

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