system_server: remove access to /sys/class/leds. am: 89a7b21541 am: ef3865076b

am: 6f31c4b2d4

Change-Id: I745e51180d4b405c99c540f5e479c71a05794b01
This commit is contained in:
Tri Vo 2017-12-21 17:48:10 +00:00 committed by android-build-merger
commit b5b1314ba7

View file

@ -708,13 +708,6 @@ allow system_server proc_uid_time_in_state:dir r_dir_perms;
r_dir_file(system_server, rootfs)
### Rules needed when Light HAL runs inside system_server process.
### These rules should eventually be granted only when needed.
allow system_server sysfs_leds:lnk_file read;
allow system_server sysfs_leds:file rw_file_perms;
allow system_server sysfs_leds:dir r_dir_perms;
###
# Allow WifiService to start, stop, and read wifi-specific trace events.
allow system_server debugfs_tracing_instances:dir search;
allow system_server debugfs_wifi_tracing:dir search;