Skip to content
Snippets Groups Projects
Commit 4bb33bc3 authored by Tri Vo's avatar Tri Vo Committed by Gerrit Code Review
Browse files

Merge "init: restrict setattr perms to /proc."

parents 65352c90 d0fe17ca
No related branches found
No related tags found
No related merge requests found
......@@ -227,7 +227,7 @@ allow init debugfs_wifi_tracing:file w_file_perms;
allow init {
fs_type
-contextmount_type
-proc
-proc_type
-sdcard_type
-sysfs_type
-rootfs
......@@ -311,6 +311,17 @@ allow init {
proc_security
}:file rw_file_perms;
# init chmod/chown access to /proc files.
allow init {
proc_cmdline
proc_kmsg
proc_net
proc_qtaguid_stat
proc_sysrq
proc_qtaguid_ctrl
proc_vmallocinfo
}:file setattr;
# init access to /sys files.
allow init {
sysfs_android_usb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment