WLC: Add required sysfs_wlc sepolicies
The sysfs_wlc is still required for certain services like hal_health_default. Add these sepolicies to pass the tests. Bug: 267171670 Change-Id: Ic4dca7a34e8ed9b096a650b1df4bb58290425117 Signed-off-by: Ken Yang <yangken@google.com>
This commit is contained in:
parent
0485b4848f
commit
fcb9c033a1
5 changed files with 11 additions and 0 deletions
|
@ -37,6 +37,7 @@ allow hal_sensors_default sysfs_leds:file rw_file_perms;
|
|||
|
||||
# Allow access to the power supply files for MagCC.
|
||||
r_dir_file(hal_sensors_default, sysfs_batteryinfo)
|
||||
allow hal_sensors_default sysfs_wlc:dir r_dir_perms;
|
||||
|
||||
# Allow access to sensor service for sensor_listener.
|
||||
binder_call(hal_sensors_default, system_server);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue