summaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2018-09-26 20:14:43 +0300
committerArian <arian.kulmer@web.de>2019-10-25 22:16:13 +0200
commit30f456abbc7a5385948cdc48446d5d7260bb682c (patch)
tree7ba4e1654140c1f2d39430d00877b640f6226015 /rootdir
parentad805adfc7774118fa49df6cf0f888311f240876 (diff)
sepolicy: address timekeep denials [2/2]
* Relabel all /sys/class/rtc files from sysfs to sysfs_rtc so that timekeep has restricted access permission. Change-Id: I583e407fcbf0127698319f68a8f69c969e1a1b49 Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/ueventd.qcom.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/ueventd.qcom.rc b/rootdir/ueventd.qcom.rc
index 9db4389..1beaea9 100644
--- a/rootdir/ueventd.qcom.rc
+++ b/rootdir/ueventd.qcom.rc
@@ -207,6 +207,9 @@
#nfc permissions
#/dev/nfc-nci 0660 nfc nfc
+# RTC
+/sys/devices/soc.0/qpnp-rtc-* since_epoch 0660 system system
+
# NFC
/sys/devices/f9928000.i2c/i2c-6/6-0028 init_deinit 0200 nfc nfc
/sys/devices/f9928000.i2c/i2c-6/6-0028 set_pwr 0200 nfc nfc