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 33479138359 for ; Tue, 13 Oct 2020 03:02:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F02DE086C; Tue, 13 Oct 2020 03:02:11 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 1C37CE086C for ; Tue, 13 Oct 2020 03:02:11 +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 EDFEF340B0B for ; Tue, 13 Oct 2020 03:02:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 817163BC for ; Tue, 13 Oct 2020 03:02:06 +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: <1602450880.756a3f044b37130daf744a690cacc0f6fb3c8155.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: 756a3f044b37130daf744a690cacc0f6fb3c8155 X-VCS-Branch: master Date: Tue, 13 Oct 2020 03:02:06 +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: 804d8a7c-2851-4bc5-8906-fe57a7b696b0 X-Archives-Hash: 65d216df767fe01d83e09fff389de32e commit: 756a3f044b37130daf744a690cacc0f6fb3c8155 Author: Antoine Tenart bootlin com> AuthorDate: Mon Oct 5 14:59:27 2020 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Oct 11 21:14:40 2020 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=756a3f04 ntp: allow systemd-timesyn to setfscreate Fixes: avc: denied { setfscreate } for pid=68 comm="systemd-timesyn" scontext=system_u:system_r:ntpd_t tcontext=system_u:system_r:ntpd_t tclass=process permissive=1 Signed-off-by: Antoine Tenart bootlin.com> Signed-off-by: Jason Zaman gentoo.org> policy/modules/services/ntp.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/services/ntp.te b/policy/modules/services/ntp.te index b9cc0ea2..34c674e1 100644 --- a/policy/modules/services/ntp.te +++ b/policy/modules/services/ntp.te @@ -141,6 +141,8 @@ userdom_dontaudit_use_unpriv_user_fds(ntpd_t) userdom_list_user_home_dirs(ntpd_t) ifdef(`init_systemd',` + allow ntpd_t self:process setfscreate; + allow ntpd_t ntpd_unit_t:file read_file_perms; dbus_system_bus_client(ntpd_t)