2018-02-03 15:04:39 -07:00
|
|
|
type_transition mm-qcamerad system_data_file:sock_file camera_socket "cam_socket3";
|
|
|
|
|
|
|
|
#allow mm-qcamerad camera_socket:sock_file create_file_perms;
|
|
|
|
|
|
|
|
# Allow mm-qcamera-daemon to create the socket camera_socket
|
|
|
|
allow mm-qcamerad system_data_file:dir w_dir_perms;
|
|
|
|
|
2018-03-26 06:37:07 -06:00
|
|
|
allow mm-qcamerad sysfs_camera:dir search;
|
|
|
|
allow mm-qcamerad sysfs_camera:file rw_file_perms;
|
2018-02-03 15:04:39 -07:00
|
|
|
allow mm-qcamerad vendor_file:file execmod;
|