diff --git a/private/app_neverallows.te b/private/app_neverallows.te index b733db9f20db274a8524c2fc79a00beb68a8f0c9..0056663dc44d6624e1ff2dbe2ce75327453bb6a1 100644 --- a/private/app_neverallows.te +++ b/private/app_neverallows.te @@ -108,6 +108,10 @@ neverallow all_untrusted_apps preloads_data_file:file no_rw_file_perms; # against privileged system components neverallow all_untrusted_apps system_file:file lock; +# Do not permit untrusted apps to perform actions on HwBinder service_manager +# other than find actions for services listed below +neverallow all_untrusted_apps *:hwservice_manager ~find; + # Do not permit access from apps which host arbitrary code to HwBinder services, # except those considered sufficiently safe for access from such apps. # The two main reasons for this are: