summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy-git/poky-fc-clock.patch
blob: 628e8a37987190af79229d5f495886cf60fb25c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Subject: [PATCH] refpolicy: fix real path for clock

Upstream-Status: Inappropriate [configuration]

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
---
 policy/modules/system/clock.fc |    1 +
 1 file changed, 1 insertion(+)

--- a/policy/modules/system/clock.fc
+++ b/policy/modules/system/clock.fc
@@ -1,3 +1,4 @@
 /etc/adjtime		--	gen_context(system_u:object_r:adjtime_t,s0)
 
+/usr/sbin/hwclock\.util-linux	--	gen_context(system_u:object_r:hwclock_exec_t,s0)
 /usr/sbin/hwclock	--	gen_context(system_u:object_r:hwclock_exec_t,s0)