From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3E9B213877A for ; Fri, 1 Aug 2014 11:49:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F10A8E0924; Fri, 1 Aug 2014 11:49:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83F14E0924 for ; Fri, 1 Aug 2014 11:49:18 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8338C340197 for ; Fri, 1 Aug 2014 11:49:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 914C318810 for ; Fri, 1 Aug 2014 11:49:15 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1406893655.eb973f14b8e146b7384d55101935473d16707bbc.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/ntp.fc X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: eb973f14b8e146b7384d55101935473d16707bbc X-VCS-Branch: master Date: Fri, 1 Aug 2014 11:49:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b1a7f4ba-aa7e-4880-b5d3-e28f30908f06 X-Archives-Hash: 101d692c49ac55dfaef072be6438db4f commit: eb973f14b8e146b7384d55101935473d16707bbc Author: Sven Vermeulen siphos be> AuthorDate: Fri Aug 1 11:47:35 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Aug 1 11:47:35 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=eb973f14 Workaround for bug #514440 - sntp is in bin, not sbin --- policy/modules/contrib/ntp.fc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/contrib/ntp.fc b/policy/modules/contrib/ntp.fc index 89b9cb1..6105583 100644 --- a/policy/modules/contrib/ntp.fc +++ b/policy/modules/contrib/ntp.fc @@ -24,3 +24,7 @@ /var/log/xntpd.* -- gen_context(system_u:object_r:ntpd_log_t,s0) /var/run/ntpd\.pid -- gen_context(system_u:object_r:ntpd_var_run_t,s0) + +ifdef(`distro_gentoo',` +/usr/bin/sntp -- gen_context(system_u:object_r:ntpdate_exec_t,s0) +')