2018-02-03 23:04:39 +01: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 14:37:07 +02:00
|
|
|
allow mm-qcamerad sysfs_camera:dir search;
|
|
|
|
allow mm-qcamerad sysfs_camera:file rw_file_perms;
|
2018-02-03 23:04:39 +01:00
|
|
|
allow mm-qcamerad vendor_file:file execmod;
|