aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy-2.20141203/poky-fc-clock.patch
blob: 3ff8f551744fd37bf88e5ae8ce603b2a36e45d7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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(+)

diff --git a/policy/modules/system/clock.fc b/policy/modules/system/clock.fc
index c5e05ca..a74c40c 100644
--- a/policy/modules/system/clock.fc
+++ b/policy/modules/system/clock.fc
@@ -2,4 +2,5 @@
 /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)
 
-- 
1.7.11.7