diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0007-fc-hwclock-add-hwclock-alternatives.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0007-fc-hwclock-add-hwclock-alternatives.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0007-fc-hwclock-add-hwclock-alternatives.patch b/recipes-security/refpolicy/refpolicy/0007-fc-hwclock-add-hwclock-alternatives.patch new file mode 100644 index 0000000..33f6a10 --- /dev/null +++ b/recipes-security/refpolicy/refpolicy/0007-fc-hwclock-add-hwclock-alternatives.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From 73716015ab28a9474912902e9467f2d2a864ecd0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joe MacDonald <joe_macdonald@mentor.com> | ||
3 | Date: Thu, 28 Mar 2019 21:59:18 -0400 | ||
4 | Subject: [PATCH] fc/hwclock: add hwclock alternatives | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | |||
8 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
9 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
10 | --- | ||
11 | policy/modules/system/clock.fc | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/policy/modules/system/clock.fc b/policy/modules/system/clock.fc | ||
15 | index 301965892..139485835 100644 | ||
16 | --- a/policy/modules/system/clock.fc | ||
17 | +++ b/policy/modules/system/clock.fc | ||
18 | @@ -3,3 +3,4 @@ | ||
19 | /usr/bin/hwclock -- gen_context(system_u:object_r:hwclock_exec_t,s0) | ||
20 | |||
21 | /usr/sbin/hwclock -- gen_context(system_u:object_r:hwclock_exec_t,s0) | ||
22 | +/usr/sbin/hwclock\.util-linux -- gen_context(system_u:object_r:hwclock_exec_t,s0) | ||
23 | -- | ||
24 | 2.17.1 | ||
25 | |||