android_device_samsung_msm8.../sepolicy/common/mm-qcamerad.te
Alessandro Astone 269d4721aa
msm8974-common: sepolicy: Camera rules for new root label
Change-Id: Iae2171eaf2acb77acabba626b7bcf017725ab81a
2020-12-30 07:48:16 -07:00

9 lines
347 B
Plaintext

type_transition mm-qcamerad system_data_root_file:sock_file camera_socket "cam_socket3";
# Allow mm-qcamera-daemon to create the socket camera_socket
allow mm-qcamerad system_data_root_file:dir w_dir_perms;
allow mm-qcamerad sysfs_camera:dir search;
allow mm-qcamerad sysfs_camera:file rw_file_perms;
allow mm-qcamerad vendor_file:file execmod;