From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2AE6E1382C5 for ; Mon, 22 Mar 2021 00:21:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 713F0E08A8; Mon, 22 Mar 2021 00:21:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C4A8E089C for ; Mon, 22 Mar 2021 00:21:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12BAB335D8B for ; Mon, 22 Mar 2021 00:21:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BEEC5C4 for ; Mon, 22 Mar 2021 00:21:23 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1616364455.9c713028668b6f1cec101f5b523ce6d6bea54db1.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/ntp.te X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 9c713028668b6f1cec101f5b523ce6d6bea54db1 X-VCS-Branch: master Date: Mon, 22 Mar 2021 00:21:23 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 23c3f9c3-f963-4d1e-8f58-2ec64adf81a1 X-Archives-Hash: 6f85a77df87627d71861513f4850d495 commit: 9c713028668b6f1cec101f5b523ce6d6bea54db1 Author: Jason Zaman gentoo org> AuthorDate: Sun Feb 21 05:24:14 2021 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Mar 21 22:07:35 2021 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=9c713028 ntp: allow sock_file filetrans for /run/ntpd.sock Signed-off-by: Jason Zaman gentoo.org> policy/modules/services/ntp.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/services/ntp.te b/policy/modules/services/ntp.te index 24c94bbb..e9bab2e0 100644 --- a/policy/modules/services/ntp.te +++ b/policy/modules/services/ntp.te @@ -81,7 +81,7 @@ logging_log_filetrans(ntpd_t, ntpd_log_t, { file dir }) manage_files_pattern(ntpd_t, ntpd_pid_t, ntpd_pid_t) manage_sock_files_pattern(ntpd_t, ntpd_pid_t, ntpd_pid_t) -files_runtime_filetrans(ntpd_t, ntpd_pid_t, file) +files_runtime_filetrans(ntpd_t, ntpd_pid_t, { file sock_file }) manage_dirs_pattern(ntpd_t, ntpd_tmp_t, ntpd_tmp_t) manage_files_pattern(ntpd_t, ntpd_tmp_t, ntpd_tmp_t)