udev rules: change smack label and DAC for video devices
authorTaeyoung Kim <ty317.kim@samsung.com>
Tue, 22 Dec 2015 10:46:56 +0000 (19:46 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Tue, 22 Dec 2015 10:46:56 +0000 (19:46 +0900)
- smack label is changed to "*", and DAC is changed to 0660

Change-Id: I7338eafa0822522febf96343e8866e86da8556de
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
61-tizen-video-device.rules

index 121a821..89dd5b5 100644 (file)
@@ -1,14 +1,14 @@
 ACTION!="add", GOTO="tizen_video_device_end"
 
 # video
-KERNEL=="video0", GROUP="video", SECLABEL{smack}="device::camera"
-KERNEL=="sprd_dma_copy", GROUP="video", SECLABEL{smack}="device::camera"
-KERNEL=="sprd_jpg", GROUP="video", SECLABEL{smack}="device::hwcodec"
-KERNEL=="sprd_image", GROUP="video", SECLABEL{smack}="device::hwcodec"
-KERNEL=="sprd_isp", GROUP="video", SECLABEL{smack}="device::camera"
-KERNEL=="sprd_rotation", GROUP="video", SECLABEL{smack}="device::camera"
-KERNEL=="sprd_scale", GROUP="video", SECLABEL{smack}="device::camera"
-KERNEL=="sprd_sensor", GROUP="video", SECLABEL{smack}="device::camera"
-KERNEL=="sprd_vsp", GROUP="video", SECLABEL{smack}="device::hwcodec"
+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_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_vsp", GROUP="video", SECLABEL{smack}="*", MODE="0660"
 
 LABEL="tizen_video_device_end"