Merge "Allow dumpstate to read /data/misc/logd always"
This commit is contained in:
commit
4c52cedf22
2 changed files with 4 additions and 5 deletions
|
@ -24,5 +24,6 @@ neverallow logpersist {
|
|||
userdebug_or_eng(`-misc_logd_file -coredump_file')
|
||||
with_native_coverage(`-method_trace_data_file')
|
||||
}:file { create write append };
|
||||
neverallow { domain -init userdebug_or_eng(`-logpersist -logd -dumpstate') } misc_logd_file:file no_rw_file_perms;
|
||||
neverallow { domain -init -dumpstate userdebug_or_eng(`-logpersist -logd') } misc_logd_file:file no_rw_file_perms;
|
||||
neverallow { domain -init userdebug_or_eng(`-logpersist -logd') } misc_logd_file:file no_w_file_perms;
|
||||
neverallow { domain -init userdebug_or_eng(`-logpersist -logd') } misc_logd_file:dir { add_name link relabelfrom remove_name rename reparent rmdir write };
|
||||
|
|
|
@ -214,10 +214,8 @@ userdebug_or_eng(`
|
|||
')
|
||||
|
||||
# Access /data/misc/logd
|
||||
userdebug_or_eng(`
|
||||
allow dumpstate misc_logd_file:dir r_dir_perms;
|
||||
allow dumpstate misc_logd_file:file r_file_perms;
|
||||
')
|
||||
allow dumpstate misc_logd_file:dir r_dir_perms;
|
||||
allow dumpstate misc_logd_file:file r_file_perms;
|
||||
|
||||
allow dumpstate app_fuse_file:dir r_dir_perms;
|
||||
allow dumpstate overlayfs_file:dir r_dir_perms;
|
||||
|
|
Loading…
Reference in a new issue