Merge "Do not allow untrusted apps any access to kernel configuration" into oc-dev
am: 393c8e9438
Change-Id: I82e1a41e1bd5c9195b5c4c21e7aa0848bc270ee5
This commit is contained in:
commit
061174fb23
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue