Skip to content
Snippets Groups Projects
Commit 5b8d279f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "shell: directory access to sysfs_net"

parents e9ae7735 f34e5929
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment