shell.te: Restore /proc/net access

am: 99c78bf2fd

* commit '99c78bf2fdde7e765fc667043b0afaa49c9098e5':
  shell.te: Restore /proc/net access
This commit is contained in:
Nick Kralevich 2015-12-08 07:22:21 -08:00 committed by android-build-merger
commit ce890bf8d5

View file

@ -93,8 +93,9 @@ allow shell servicemanager:service_manager list;
# don't allow shell to access GateKeeper service
allow shell { service_manager_type -gatekeeper_service }:service_manager find;
# allow shell to look through /proc/ for ps, top
# allow shell to look through /proc/ for ps, top, netstat
r_dir_file(shell, proc)
r_dir_file(shell, proc_net)
r_dir_file(shell, cgroup)
allow shell domain:dir { search open read getattr };
allow shell domain:{ file lnk_file } { open read getattr };