diff --git a/private/app_neverallows.te b/private/app_neverallows.te index 5e47b68db0b07bdfdbda50746648ab6ed2a1ad93..beee4f7fb568245aee0c789abd07843ebe556a04 100644 --- a/private/app_neverallows.te +++ b/private/app_neverallows.te @@ -98,6 +98,9 @@ neverallow all_untrusted_apps anr_data_file:dir ~search; # Create a more specific label if needed neverallow all_untrusted_apps proc:file { no_rw_file_perms no_x_file_perms }; +# Avoid all access to kernel configuration +neverallow all_untrusted_apps config_gz:file { no_rw_file_perms no_x_file_perms }; + # Do not allow untrusted apps access to preloads data files neverallow all_untrusted_apps preloads_data_file:file no_rw_file_perms;