aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy-git/poky-fc-clock.patch
blob: 946dcc2864add36af33113ae2da10f645ce416d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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,5 +1,6 @@
 /etc/adjtime		--	gen_context(system_u:object_r:adjtime_t,s0)
 
 /usr/bin/hwclock	--	gen_context(system_u:object_r:hwclock_exec_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)