diff --git a/public/shell.te b/public/shell.te index 5f7af0b48f7a364fcb322edbf7dce1da2f00a9b0..d643b7e7a952ccc537bba2de105c1f92f57e85f7 100644 --- a/public/shell.te +++ b/public/shell.te @@ -83,6 +83,10 @@ allow shell servicemanager:service_manager list; allow shell { service_manager_type -gatekeeper_service -netd_service -installd_service}:service_manager find; allow shell dumpstate:binder call; +# allow shell to get information from hwservicemanager +# for instance, listing hardware services with dumpsys +hwbinder_use(shell) + # allow shell to look through /proc/ for ps, top, netstat r_dir_file(shell, proc) r_dir_file(shell, proc_net)