From: SeokYeon Hwang Date: Thu, 13 Jun 2013 07:42:37 +0000 (+0900) Subject: Apply SMACK rules on some emulator devices. X-Git-Tag: submit/tizen_common/20140529.181337~11^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8c930be086b11e8811e6d54416dcebabd35e0bb;p=platform%2Fadaptation%2Femulator%2Fsystem-plugin-emulator.git Apply SMACK rules on some emulator devices. Change-Id: I0c0fb905c093d3c0e7debcb5684a78fff979c853 Signed-off-by: SeokYeon Hwang --- diff --git a/filesystem/usr/lib/udev/rules.d/95-tizen-emulator.rules b/filesystem/usr/lib/udev/rules.d/95-tizen-emulator.rules index 501c190..ec89f06 100644 --- a/filesystem/usr/lib/udev/rules.d/95-tizen-emulator.rules +++ b/filesystem/usr/lib/udev/rules.d/95-tizen-emulator.rules @@ -1,6 +1,13 @@ -KERNEL=="glmem", MODE="0666" -KERNEL=="yagl", MODE="0666" -KERNEL=="vdpram*", MODE="0644", SYMLINK+="dpram/%n" +KERNEL=="glmem", MODE="0666", SMACK="*" +KERNEL=="yagl", MODE="0666", SMACK="*" + +KERNEL=="codec", GROUP="hwcodec", MODE="0666", SMACK="device::hwcodec" + +KERNEL=="video0", GROUP="camera", MODE="0660", SMACK="device::camera" +KERNEL=="video1", GROUP="video", MODE="0660", SMACK="device::video" +KERNEL=="video2", GROUP="video", MODE="0660", SMACK="device::video" + +KERNEL=="vdpram*", MODE="0644" # Moved from /etc/rc.d/rc3.d/S30brightness SUBSYSTEM=="lcd", ATTR{lcd_power}=="?*", RUN+="/bin/chown :system_bklight 0664 %S/%p/lcd_power"