msm8974-common: sepolicy: Camera rules for new root label

Change-Id: Iae2171eaf2acb77acabba626b7bcf017725ab81a
This commit is contained in:
Alessandro Astone 2020-11-26 16:31:36 +01:00 committed by Kevin F. Haggerty
parent 450f437728
commit 269d4721aa
No known key found for this signature in database
GPG Key ID: 6D95512933112729

View File

@ -1,7 +1,7 @@
type_transition mm-qcamerad system_data_file:sock_file camera_socket "cam_socket3";
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_file:dir w_dir_perms;
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;