android_device_samsung_msm8.../sepolicy/hal_camera_default.te
Deokgyu Yang 21dcb08866 gts3l-common: perf: Import perfd from lge_msm8996-common
As our power HAL only can work when if perfd exists, we have to import this
binary from another device.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-21 11:00:44 +09:00

15 lines
630 B
Text

# communicate with perfd
allow hal_camera perfd_data_file:dir search;
allow hal_camera perfd:unix_stream_socket connectto;
allow hal_camera perfd_data_file:sock_file write;
allow hal_camera_default camera_data_file:sock_file write;
allow hal_camera_default csc_prop:file { getattr open read };
allow hal_camera_default sec_camera_prop:file { getattr open read };
allow hal_camera_default sec_camera_prop:property_service set;
allow hal_camera_default sysfs_camera_writable:dir search;
allow hal_camera_default sysfs_camera_writable:file { getattr open read };
allow hal_camera_default sysfs:file { getattr open read write };