Merge "Reduce graphics logspam"

This commit is contained in:
Treehugger Robot 2020-04-02 13:06:35 +00:00 committed by Gerrit Code Review
commit fcdb7145c1
3 changed files with 8 additions and 0 deletions

View file

@ -19,6 +19,8 @@ dontaudit appdomain storage_stub_file:dir getattr;
# Attempting to do so will be blocked by both selinux and unix
# permissions.
dontaudit appdomain system_data_file:dir write;
# Apps should not be reading vendor-defined properties.
dontaudit appdomain vendor_default_prop:file read;
neverallow appdomain system_server:udp_socket {
accept append bind create ioctl listen lock name_bind

View file

@ -5,5 +5,8 @@ init_daemon_domain(bootanim)
# b/68864350
dontaudit bootanim unlabeled:dir search;
# Bootanim should not be reading default vendor-defined properties.
dontaudit bootanim vendor_default_prop:file read;
# Read ro.boot.bootreason b/30654343
get_prop(bootanim, bootloader_boot_reason_prop)

View file

@ -126,6 +126,9 @@ userdebug_or_eng(`
unix_socket_send(surfaceflinger, statsdw, statsd)
')
# Surfaceflinger should not be reading default vendor-defined properties.
dontaudit surfaceflinger vendor_default_prop:file read;
###
### Neverallow rules
###