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 36ADE1382C5 for ; Mon, 1 Feb 2021 02:10:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72843E0967; Mon, 1 Feb 2021 02:10:11 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 579FDE09A6 for ; Mon, 1 Feb 2021 02:10:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2BD09340F15 for ; Mon, 1 Feb 2021 02:10:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A05284B1 for ; Mon, 1 Feb 2021 02:10:08 +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: <1612142502.0305b1b1d184ffac8b11e372ea4f8f8d78e3630d.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/cron.te X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 0305b1b1d184ffac8b11e372ea4f8f8d78e3630d X-VCS-Branch: master Date: Mon, 1 Feb 2021 02:10:08 +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: ce785df8-ef3f-40ab-8056-a828bb4bc7f5 X-Archives-Hash: 660d4c8864ab8f2d380e2b69212ed31f commit: 0305b1b1d184ffac8b11e372ea4f8f8d78e3630d Author: Chris PeBenito ieee org> AuthorDate: Thu Jan 28 15:55:35 2021 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Feb 1 01:21:42 2021 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0305b1b1 cron: Make backup call for system_cronjob_t optional. Signed-off-by: Chris PeBenito ieee.org> Signed-off-by: Jason Zaman gentoo.org> policy/modules/services/cron.te | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/policy/modules/services/cron.te b/policy/modules/services/cron.te index 72e1d8c4..c4342f05 100644 --- a/policy/modules/services/cron.te +++ b/policy/modules/services/cron.te @@ -309,8 +309,6 @@ init_start_all_units(system_cronjob_t) init_get_generic_units_status(system_cronjob_t) init_get_system_status(system_cronjob_t) -backup_manage_store_files(system_cronjob_t) - auth_manage_var_auth(crond_t) auth_use_pam(crond_t) @@ -396,6 +394,10 @@ optional_policy(` amavis_search_lib(crond_t) ') +optional_policy(` + backup_manage_store_files(system_cronjob_t) +') + optional_policy(` djbdns_search_tinydns_keys(crond_t) djbdns_link_tinydns_keys(crond_t)