gts3l-common: light: Add hal_light_default sepolicy

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I332b57c1948c5c73f0dfb397f8aa753533047efc
This commit is contained in:
Deokgyu Yang 2021-08-13 21:40:24 +09:00
parent 9bff80d33c
commit 445b656d9a
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,4 @@
allow hal_light_default sysfs_lcd_writable:dir search;
allow hal_light_default sysfs_lcd_writable:file { getattr open read write };
allow hal_light_default sysfs:file { getattr open write };

View file

@ -4,3 +4,5 @@ allow init vendor_firmware_file:file mounton;
allow init dsp_file:dir mounton;
allow init socket_device:sock_file create;
allow init sysfs_graphics:file { open read write };