dumpstate: allow gpu_device access
dumpstate calls screencap to take a screenshot. screencap requires the ability to access the gpu device. Allow it. Bug: 15514427 Change-Id: Iad8451b6108786653146de471f6be2d26b0e3297
This commit is contained in:
parent
7fd03e9c83
commit
b2ed044f8d
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ allow dumpstate self:process execmem;
|
|||
# For art.
|
||||
allow dumpstate dalvikcache_data_file:file execute;
|
||||
|
||||
# Dumpstate calls screencap, which grabs a screenshot. Needs gpu access
|
||||
allow dumpstate gpu_device:chr_file rw_file_perms;
|
||||
|
||||
# logd access
|
||||
read_logd(dumpstate)
|
||||
control_logd(dumpstate)
|
||||
|
|
Loading…
Reference in a new issue