From a18364f77c80925fb14da3de45ef7c39efc5aafd Mon Sep 17 00:00:00 2001 From: Vishal Mahaveer Date: Mon, 27 Jul 2015 09:27:22 -0500 Subject: 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 --- sepolicy/device.te | 1 + 1 file changed, 1 insertion(+) (limited to 'sepolicy/device.te') 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 @@ type bluetooth_control, dev_type; +type rtc, dev_type; -- cgit v1.2.3-54-g00ecf