diff --git a/private/system_server.te b/private/system_server.te index 9a22b85b7..783d86e1a 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -139,6 +139,7 @@ allow system_server stats_data_file:file unlink; # Read /sys/kernel/debug/wakeup_sources. allow system_server debugfs:file r_file_perms; +auditallow system_server debugfs:file r_file_perms; allow system_server debugfs_wakeup_sources:file r_file_perms; # Delete /data/misc/stats-data/ and /data/misc/stats-service/ directories. diff --git a/public/dumpstate.te b/public/dumpstate.te index fd3234db1..fff2995ed 100644 --- a/public/dumpstate.te +++ b/public/dumpstate.te @@ -94,6 +94,7 @@ allow dumpstate { # Other random bits of data we want to collect allow dumpstate debugfs:file r_file_perms; +auditallow dumpstate debugfs:file r_file_perms; # df for allow dumpstate {