From: Hyotaek Shim Date: Thu, 9 Jan 2020 09:23:18 +0000 (+0900) Subject: Apply priv_keygrab:r ACL rule to /dev/input X-Git-Tag: accepted/tizen/unified/20200114.130733^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F222069%2F1;p=platform%2Fupstream%2Fsystemd.git Apply priv_keygrab:r ACL rule to /dev/input Change-Id: I8174ccd81aa3970a76a6f3680234dae77d920429 Signed-off-by: Hyotaek Shim --- diff --git a/rules/55-udev-smack-default.rules b/rules/55-udev-smack-default.rules index 092d054..a4b2115 100644 --- a/rules/55-udev-smack-default.rules +++ b/rules/55-udev-smack-default.rules @@ -22,5 +22,4 @@ SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620", SECLABEL{smack} SUBSYSTEM=="vc", KERNEL=="vcs*|vcsa*", GROUP="tty", SECLABEL{smack}="*" KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout", SECLABEL{smack}="*" -SUBSYSTEM=="input", KERNEL=="mouse*|mice|event*", GROUP="input", SECLABEL{smack}="*" -SUBSYSTEM=="input", KERNEL=="ts[0-9]*|uinput", GROUP="input", SECLABEL{smack}="*" +SUBSYSTEM=="input", KERNEL=="mouse*|mice|event*|ts[0-9]*|uinput", GROUP="input", SECLABEL{smack}="*", RUN+="/usr/bin/setfacl -m group:priv_keygrab:r %N"