Change camera node permission to priv_camera
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 19 Mar 2019 06:32:12 +0000 (15:32 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 19 Mar 2019 06:39:27 +0000 (15:39 +0900)
From security-config, camera needs to be set with priv_camera. So
change camera node permission.

Change-Id: I383517c41dce64b4817ad22d1751a17e5ba05502
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
61-tizen-video-device.rules

index 89dd5b5..01b576b 100644 (file)
@@ -4,11 +4,11 @@ ACTION!="add", GOTO="tizen_video_device_end"
 KERNEL=="video0", GROUP="video", SECLABEL{smack}="*", MODE="0660"
 KERNEL=="sprd_dma_copy", GROUP="video", SECLABEL{smack}="*", MODE="0660"
 KERNEL=="sprd_jpg", GROUP="video", SECLABEL{smack}="*", MODE="0660"
-KERNEL=="sprd_image", GROUP="video", SECLABEL{smack}="*", MODE="0660"
-KERNEL=="sprd_isp", GROUP="video", SECLABEL{smack}="*", MODE="0660"
+KERNEL=="sprd_image", GROUP="priv_camera", SECLABEL{smack}="*", MODE="0660"
+KERNEL=="sprd_isp", GROUP="priv_camera", SECLABEL{smack}="*", MODE="0660"
 KERNEL=="sprd_rotation", GROUP="video", SECLABEL{smack}="*", MODE="0660"
 KERNEL=="sprd_scale", GROUP="video", SECLABEL{smack}="*", MODE="0660"
-KERNEL=="sprd_sensor", GROUP="video", SECLABEL{smack}="*", MODE="0660"
+KERNEL=="sprd_sensor", GROUP="priv_camera", SECLABEL{smack}="*", MODE="0660"
 KERNEL=="sprd_vsp", GROUP="video", SECLABEL{smack}="*", MODE="0660"
 
 LABEL="tizen_video_device_end"