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

Commit d8a1ee86 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan Committed by android-build-merger
Browse files

Merge "Set /proc/pressure/memory file permissions" am: 3cf9850c

am: e337910a

Change-Id: I9a771fd117fd04c214bee0e0ca38e20c1ac1f2c5
parents ba394579 e337910a
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -222,6 +222,9 @@ on init
    chmod 0664 /dev/cpuset/restricted/tasks
    chmod 0664 /dev/cpuset/restricted/tasks
    chmod 0664 /dev/cpuset/tasks
    chmod 0664 /dev/cpuset/tasks


    # make the PSI monitor accessible to others
    chown system system /proc/pressure/memory
    chmod 0664 /proc/pressure/memory


    # qtaguid will limit access to specific data based on group memberships.
    # qtaguid will limit access to specific data based on group memberships.
    #   net_bw_acct grants impersonation of socket owners.
    #   net_bw_acct grants impersonation of socket owners.