diff --git a/sepolicy/common/mm-qcamerad.te b/sepolicy/common/mm-qcamerad.te index c568df3..8bfbac5 100644 --- a/sepolicy/common/mm-qcamerad.te +++ b/sepolicy/common/mm-qcamerad.te @@ -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;