projects
/
platform
/
core
/
system
/
peripheral-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c1da4c
)
Revert "udev: apply proper security label to files read by adc module"
92/188492/1
author
Konrad Kuchciak
<k.kuchciak@samsung.com>
Wed, 5 Sep 2018 09:28:07 +0000
(11:28 +0200)
committer
Konrad Kuchciak
<k.kuchciak@samsung.com>
Wed, 5 Sep 2018 09:30:30 +0000
(11:30 +0200)
Change-Id: I98bd5939554a4173616f0d42dc202be05f4c11e7
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
packaging/90-peripheral-io.rules
patch
|
blob
|
history
diff --git
a/packaging/90-peripheral-io.rules
b/packaging/90-peripheral-io.rules
index 50cee540aa270839a878bda2fe900f2445a84c7b..ca910bd83f44304855a53d8399b7394e5425a2aa 100644
(file)
--- a/
packaging/90-peripheral-io.rules
+++ b/
packaging/90-peripheral-io.rules
@@
-16,8
+16,3
@@
SUBSYSTEM=="i2c-dev", KERNEL=="i2c-*", ACTION=="add", \
SUBSYSTEM=="spidev", KERNEL=="spidev*.*", ACTION=="add", \
MODE="0660", OWNER="root", GROUP="root", SECLABEL{smack}="*"
-
-SUBSYSTEM=="iio", KERNEL=="iio*", PROGRAM="/bin/sh -c 'find /sys%p/ | grep in_voltage'", ACTION=="add", \
- RUN+="/bin/chown root:root %c", \
- RUN+="/bin/chmod 0660 %c", \
- RUN+="/bin/chsmack -a * %c"