Skip to content
Snippets Groups Projects
Commit 3dd51b99 authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

shell.te: Restore /proc/net access am: 99c78bf2

am: ce890bf8

* commit 'ce890bf8':
  shell.te: Restore /proc/net access
parents 713ad50b ce890bf8
No related branches found
No related tags found
No related merge requests found
......@@ -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 };
......
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