Through this patch, /usr/bin/dlog_logger (log:log) can access /dev/kmsg
without root credentials.
Change-Id: Ie955499c4a0bf1581cd64244cb94acfa6279719d
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
[ Minor style change in commit log. ]
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
KERNEL=="null", SECLABEL{smack}="*"
KERNEL=="zero", SECLABEL{smack}="*"
KERNEL=="console", SECLABEL{smack}="*"
-KERNEL=="kmsg", SECLABEL{smack}="*"
+KERNEL=="kmsg", GROUP="log", MODE="0660", SECLABEL{smack}="*"
KERNEL=="video*", SECLABEL{smack}="*"
KERNEL=="card*", SECLABEL{smack}="*"
KERNEL=="ptmx", SECLABEL{smack}="*"