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 442AA139695 for ; Sat, 25 Feb 2017 14:51:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5621AE0D14; Sat, 25 Feb 2017 14:51:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 30D27E0D20 for ; Sat, 25 Feb 2017 14:51:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 486A33413B7 for ; Sat, 25 Feb 2017 14:51:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57E19543B for ; Sat, 25 Feb 2017 14:51:43 +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: <1488034253.bdd606c36e4b163f5dee262d0c450a74efcd208c.perfinion@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/cron.if policy/modules/contrib/cron.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: bdd606c36e4b163f5dee262d0c450a74efcd208c X-VCS-Branch: master Date: Sat, 25 Feb 2017 14:51:43 +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: 8f1447a4-879d-4b11-be38-3ac2985f8ba3 X-Archives-Hash: a4d2a22cfcda61e330c0d878b4c6b4fc Message-ID: <20170225145143.CEKIVM0-2naqu7nMM0IompPdPn9xEt7lSHzaGGIf8v4@z> commit: bdd606c36e4b163f5dee262d0c450a74efcd208c Author: Chris PeBenito ieee org> AuthorDate: Fri Feb 24 01:03:08 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Feb 25 14:50:53 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=bdd606c3 Systemd fixes from Russell Coker. policy/modules/contrib/cron.if | 19 +++++++++++++++++++ policy/modules/contrib/cron.te | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/cron.if b/policy/modules/contrib/cron.if index c6dec2c3..6737f53c 100644 --- a/policy/modules/contrib/cron.if +++ b/policy/modules/contrib/cron.if @@ -686,6 +686,25 @@ interface(`cron_use_system_job_fds',` ######################################## ## +## Create, read, write, and delete the system spool. +## +## +## +## Domain allowed access. +## +## +# +interface(`cron_manage_system_spool',` + gen_require(` + type cron_system_spool_t; + ') + + files_search_spool($1) + manage_files_pattern($1, cron_system_spool_t, cron_system_spool_t) +') + +######################################## +## ## Read system cron job lib files. ## ## diff --git a/policy/modules/contrib/cron.te b/policy/modules/contrib/cron.te index 905deb16..3513e1f2 100644 --- a/policy/modules/contrib/cron.te +++ b/policy/modules/contrib/cron.te @@ -1,4 +1,4 @@ -policy_module(cron, 2.11.0) +policy_module(cron, 2.11.1) gen_require(` class passwd rootok;