Apply priv_keygrab:r ACL rule to /dev/input 70/222070/1 tizen_5.5_tv accepted/tizen/5.5/unified/20200110.090052 submit/tizen_5.5/20200109.092824
authorHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 9 Jan 2020 09:23:18 +0000 (18:23 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 9 Jan 2020 09:21:37 +0000 (09:21 +0000)
Change-Id: I8174ccd81aa3970a76a6f3680234dae77d920429
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
(cherry picked from commit 5f8989c46bcebe7f3e7fc8ebfdf8a11764653c37)

rules/55-udev-smack-default.rules

index 092d054..a4b2115 100644 (file)
@@ -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"