#============= mm-qcamerad ============== | |
allow mm-qcamerad sysfs_camera:dir rw_dir_perms; | |
allow mm-qcamerad sysfs_class_camera_rear:dir rw_dir_perms; | |
allow mm-qcamerad sysfs:file rw_file_perms; | |
allow mm-qcamerad sysfs_camera:file rw_file_perms; | |
allow mm-qcamerad sysfs_class_camera_rear:file rw_file_perms; | |
allow mm-qcamerad system_data_file:sock_file { create unlink }; | |
type_transition mm-qcamerad system_data_file:sock_file camera_socket "cam_socket3"; |