Merge "Allow crash_dump to read misctrl properties" into main

This commit is contained in:
Devin Moore 2024-05-07 19:55:51 +00:00 committed by Gerrit Code Review
commit ba99b14c5c
2 changed files with 3 additions and 0 deletions

View file

@ -109,6 +109,8 @@ dontaudit crash_dump {
dontaudit crash_dump system_data_file:{ lnk_file file } read;
dontaudit crash_dump property_type:file read;
get_prop(crash_dump, misctrl_prop)
###
### neverallow assertions
###

View file

@ -231,6 +231,7 @@ neverallow {
-init
-dumpstate
-misctrl
-crash_dump
userdebug_or_eng(`-su')
} misctrl_prop:file no_rw_file_perms;
neverallow {