Remove sys/class/leds permissions from dumpstate.

These are device specific.

Bug: 70846424
Test: bugreport
Change-Id: Ic22c972f1b09988a8eccf0823dd0d87fc0c0a1f7
This commit is contained in:
Steven Moreland 2017-12-20 13:05:06 -08:00
parent d4bb9b7342
commit a00b74196e

View file

@ -253,11 +253,6 @@ r_dir_file(dumpstate, sysfs)
# Allow dumpstate to run top
allow dumpstate proc_stat:file r_file_perms;
# Allow dumpstate to read backlight details
allow dumpstate sysfs_leds:lnk_file r_file_perms;
allow dumpstate sysfs_leds:file r_file_perms;
allow dumpstate sysfs_leds:dir search;
# Allow dumpstate to talk to installd over binder
binder_call(dumpstate, installd);