summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy-git/poky-fc-clock.patch
blob: b36c209296d8fe817a69fb525c744f56ce8efc39 (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>
---
 policy/modules/system/clock.fc |    1 +
 1 file changed, 1 insertion(+)

--- a/policy/modules/system/clock.fc
+++ b/policy/modules/system/clock.fc
@@ -1,6 +1,7 @@
 
 /etc/adjtime		--	gen_context(system_u:object_r:adjtime_t,s0)
 
 /sbin/hwclock		--	gen_context(system_u:object_r:hwclock_exec_t,s0)
+/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)