Merge "shell: directory access to sysfs_net"
diff --git a/public/shell.te b/public/shell.te
index 1318c35..81f4bf0 100644
--- a/public/shell.te
+++ b/public/shell.te
@@ -123,6 +123,9 @@
   proc_zoneinfo
 }: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)
 allow shell domain:dir { search open read getattr };
 allow shell domain:{ file lnk_file } { open read getattr };