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:
Nick Kralevich 2014-06-09 12:51:42 -07:00
parent 7fd03e9c83
commit b2ed044f8d

View file

@ -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)