Merge "Do not allow untrusted apps any access to kernel configuration" into oc-dev

am: 393c8e9438

Change-Id: I82e1a41e1bd5c9195b5c4c21e7aa0848bc270ee5
This commit is contained in:
Sandeep Patil 2017-04-21 20:31:07 +00:00 committed by android-build-merger
commit 061174fb23

View file

@ -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;