Skip to content
Snippets Groups Projects
Commit 049bf53a authored by Tri Vo's avatar Tri Vo Committed by android-build-merger
Browse files

Merge "shell: directory access to sysfs_net" am: 5b8d279f

am: cd069684

Change-Id: Ib53a57006c73d54b1c62c18129aba5f67710bf2a
parents 5d937ace cd069684
Branches
Tags
No related merge requests found
...@@ -123,6 +123,9 @@ allow shell { ...@@ -123,6 +123,9 @@ allow shell {
proc_zoneinfo proc_zoneinfo
}:file r_file_perms; }:file r_file_perms;
# allow listing network interfaces under /sys/class/net.
allow shell sysfs_net:dir r_dir_perms;
r_dir_file(shell, cgroup) r_dir_file(shell, cgroup)
allow shell domain:dir { search open read getattr }; allow shell domain:dir { search open read getattr };
allow shell domain:{ file lnk_file } { open read getattr }; allow shell domain:{ file lnk_file } { open read getattr };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment