1 |
commit: eb973f14b8e146b7384d55101935473d16707bbc |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Fri Aug 1 11:47:35 2014 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 1 11:47:35 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=eb973f14 |
7 |
|
8 |
Workaround for bug #514440 - sntp is in bin, not sbin |
9 |
|
10 |
--- |
11 |
policy/modules/contrib/ntp.fc | 4 ++++ |
12 |
1 file changed, 4 insertions(+) |
13 |
|
14 |
diff --git a/policy/modules/contrib/ntp.fc b/policy/modules/contrib/ntp.fc |
15 |
index 89b9cb1..6105583 100644 |
16 |
--- a/policy/modules/contrib/ntp.fc |
17 |
+++ b/policy/modules/contrib/ntp.fc |
18 |
@@ -24,3 +24,7 @@ |
19 |
/var/log/xntpd.* -- gen_context(system_u:object_r:ntpd_log_t,s0) |
20 |
|
21 |
/var/run/ntpd\.pid -- gen_context(system_u:object_r:ntpd_var_run_t,s0) |
22 |
+ |
23 |
+ifdef(`distro_gentoo',` |
24 |
+/usr/bin/sntp -- gen_context(system_u:object_r:ntpdate_exec_t,s0) |
25 |
+') |