summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2015-07-27 09:27:22 -0500
committerVishal Mahaveer2015-07-27 09:29:48 -0500
commita18364f77c80925fb14da3de45ef7c39efc5aafd (patch)
treec381f08fdeead617958a0c388c4219aaaa4c4183 /sepolicy/device.te
parent29539312afd71cacf03463a60eac01b31fe17f93 (diff)
downloaddevice-ti-jacinto6evm-a18364f77c80925fb14da3de45ef7c39efc5aafd.tar.gz
device-ti-jacinto6evm-a18364f77c80925fb14da3de45ef7c39efc5aafd.tar.xz
device-ti-jacinto6evm-a18364f77c80925fb14da3de45ef7c39efc5aafd.zip
jacinto6evm: allow system_server to access rtc0
Address following denials during network time update [ 31.969050] type=1400 audit(1438006232.316:5): avc: denied { read write } for pid=2618 comm="NetworkTimeUpda" name="rtc0" dev="tmpfs" ino=528 scontext= u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=chr_filepermissive=1 [ 31.993488] type=1400 audit(1438006232.316:6): avc: denied { open } for pid=2618 comm="NetworkTimeUpda" path="/dev/rtc0" dev="tmpfs" ino=528 scontext= u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1 [ 32.015360] type=1400 audit(1438006232.316:7): avc: denied { ioctl } for pid=2618 comm="NetworkTimeUpda" path="/dev/rtc0" dev="tmpfs" ino=528 ioctlcmd= 700a scontext=u:r:system_server:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1 Change-Id: Ib1e80bd6f3be0fd6d52c9c986d33df787b628fd3 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Diffstat (limited to 'sepolicy/device.te')
-rw-r--r--sepolicy/device.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/device.te b/sepolicy/device.te
index 3b51dc7..1489b07 100644
--- a/sepolicy/device.te
+++ b/sepolicy/device.te
@@ -1 +1,2 @@
1type bluetooth_control, dev_type; 1type bluetooth_control, dev_type;
2type rtc, dev_type;