Merge "neverallow cache_file and derivatives execute"

This commit is contained in:
Nick Kralevich 2015-05-18 16:53:16 +00:00 committed by Gerrit Code Review
commit 72aeb0126a

View file

@ -294,6 +294,8 @@ neverallow {
-appdomain # for oemfs
-recovery # for /tmp/update_binary in tmpfs
} { fs_type -rootfs }:file execute;
# Files from cache should never be executed
neverallow domain { cache_file cache_backup_file }:file execute;
# Only the init property service should write to /data/property.
neverallow { domain -init } property_data_file:dir no_w_dir_perms;