commit | 5b8d279fcda3308ccc9c671d785291ccc42828d1 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Dec 12 23:11:36 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Dec 12 23:11:36 2017 +0000 |
tree | 94d0b69486402053fb598e574557879cdef0eef3 | |
parent | e9ae77355eedc212a784f47c5f57889759f0dc02 [diff] | |
parent | f34e592984c4918d6db2532945ca793d14a09d29 [diff] |
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 };