dumpstate: allow df on /storage/emulated
dumpstate runs "df" on all mounted filesystems. Allow dumpstate to access /storage/emulated so df works. Addresses the following denial: avc: denied { search } for pid=4505 comm="df" name="/" dev="tmpfs" ino=6207 scontext=u:r:dumpstate:s0 tcontext=u:object_r:storage_file:s0 tclass=dir Change-Id: I99dac8321b19952e37c0dd9d61a680a27beb1ae8
This commit is contained in:
parent
4cdea7fc40
commit
c24d90cb59
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ allow dumpstate sysfs:file w_file_perms;
|
|||
# Other random bits of data we want to collect
|
||||
allow dumpstate qtaguid_proc:file r_file_perms;
|
||||
allow dumpstate debugfs:file r_file_perms;
|
||||
# df for /storage/emulated needs search
|
||||
allow dumpstate storage_file:dir search;
|
||||
|
||||
# Allow dumpstate to make binder calls to any binder service
|
||||
binder_call(dumpstate, binderservicedomain)
|
||||
|
|
Loading…
Reference in a new issue