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

Commit fdc03350 authored by Marco Ballesio's avatar Marco Ballesio
Browse files

init.rc: remove initializations to cg2_bpf path

https://r.android.com/c/1324649/5 moves the cgroup folder to its sysfs
path. Directory access rights are defined by kernel code and sepolicy,
so remove the initialization lines from init.rc.

Test: manually booted the device and verified access rights for
/sys/fs/cgroup
Bug: 154548692

Change-Id: I67284dc651ed529cae69e413b66c6e1292a2d970
parent 43050baa
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -338,8 +338,6 @@ on init
    # This is needed by any process that uses socket tagging.
    chmod 0644 /dev/xt_qtaguid

    chown root root /dev/cg2_bpf
    chmod 0600 /dev/cg2_bpf
    mount bpf bpf /sys/fs/bpf nodev noexec nosuid

    # Create location for fs_mgr to store abbreviated output from filesystem