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
This commit is contained in:
parent
43050baa7f
commit
fdc03350f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue