From 30f456abbc7a5385948cdc48446d5d7260bb682c Mon Sep 17 00:00:00 2001 From: Vladimir Oltean Date: Wed, 26 Sep 2018 20:14:43 +0300 Subject: 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 --- rootdir/ueventd.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3