mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
sm6150-common: sepolicy: Allow cameraserver to search directories in sysfs_leds
- This fixes a SEPolicy denial. Change-Id: Ie2cba0bdc7b7f43e6d958268054aec26cbac1dee Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
committed by
therealmharc
parent
e04e71b5a8
commit
b0c78fda81
1
sepolicy/vendor/cameraserver.te
vendored
1
sepolicy/vendor/cameraserver.te
vendored
@@ -1,2 +1,3 @@
|
||||
hal_client_domain(cameraserver, hal_motor)
|
||||
allow cameraserver sysfs_torch:file rw_file_perms;
|
||||
allow cameraserver sysfs_leds:dir r_dir_perms;
|
||||
|
||||
Reference in New Issue
Block a user