system_server: remove access to /sys/class/leds.
Removing legacy rules. system_server now depends on Lights HAL (which has its own domain) instead of /sys/class/leds. Bug: 70846424 Test: sailfish boots; screen, flashlight work fine. Change-Id: I6f116a599cab26ae71e45f462b33328bc8d43db5
This commit is contained in:
parent
d4bb9b7342
commit
89a7b21541
1 changed files with 0 additions and 7 deletions
|
@ -706,13 +706,6 @@ allow system_server proc_uid_time_in_state:dir r_dir_perms;
|
||||||
|
|
||||||
r_dir_file(system_server, rootfs)
|
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 WifiService to start, stop, and read wifi-specific trace events.
|
||||||
allow system_server debugfs_tracing_instances:dir search;
|
allow system_server debugfs_tracing_instances:dir search;
|
||||||
allow system_server debugfs_wifi_tracing:dir search;
|
allow system_server debugfs_wifi_tracing:dir search;
|
||||||
|
|
Loading…
Reference in a new issue