Skip to content
Snippets Groups Projects
Commit ef386507 authored by Tri Vo's avatar Tri Vo Committed by android-build-merger
Browse files

system_server: remove access to /sys/class/leds.

am: 89a7b215

Change-Id: Icdd87b3f76ebcbd5d05ad17f00368ef50fa1603d
parents 9a07f54f 89a7b215
No related branches found
No related tags found
No related merge requests found
...@@ -706,13 +706,6 @@ allow system_server proc_uid_time_in_state:dir r_dir_perms; ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment