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 427C41381F3 for ; Mon, 30 Sep 2013 19:03:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0BEC9E0B7B; Mon, 30 Sep 2013 19:03:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2339DE0B7A for ; Mon, 30 Sep 2013 19:03:42 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43AED33E2EB for ; Mon, 30 Sep 2013 19:03:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1E612E5468 for ; Mon, 30 Sep 2013 19:03:39 +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: <1380567659.4b108396078378833c8aff9fc860bf35576b7923.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/dpkg.fc policy/modules/contrib/dpkg.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 4b108396078378833c8aff9fc860bf35576b7923 X-VCS-Branch: master Date: Mon, 30 Sep 2013 19:03:39 +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: 75e057e9-514f-4883-8c78-b6c2adfabc88 X-Archives-Hash: c3566193fb0030a1dee642d8bdc87e05 commit: 4b108396078378833c8aff9fc860bf35576b7923 Author: Dominick Grift gmail com> AuthorDate: Thu Sep 26 06:42:55 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Mon Sep 30 19:00:59 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=4b108396 dpkg: catch /etc/cron.daily/dpkg on Debian dpkg: allow /etc/cron.daily/dpkg to manage backup store files on Debian Signed-off-by: Dominick Grift gmail.com> --- policy/modules/contrib/dpkg.fc | 2 ++ policy/modules/contrib/dpkg.te | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/dpkg.fc b/policy/modules/contrib/dpkg.fc index 751c251..eec3c48 100644 --- a/policy/modules/contrib/dpkg.fc +++ b/policy/modules/contrib/dpkg.fc @@ -1,3 +1,5 @@ +/etc/cron\.daily/dpkg -- gen_context(system_u:object_r:dpkg_exec_t,s0) + /usr/bin/debsums -- gen_context(system_u:object_r:dpkg_exec_t,s0) /usr/bin/dpkg -- gen_context(system_u:object_r:dpkg_exec_t,s0) /usr/bin/dselect -- gen_context(system_u:object_r:dpkg_exec_t,s0) diff --git a/policy/modules/contrib/dpkg.te b/policy/modules/contrib/dpkg.te index 998d765..62d99a9 100644 --- a/policy/modules/contrib/dpkg.te +++ b/policy/modules/contrib/dpkg.te @@ -1,4 +1,4 @@ -policy_module(dpkg, 1.10.0) +policy_module(dpkg, 1.10.1) ######################################## # @@ -161,6 +161,10 @@ optional_policy(` ') optional_policy(` + backup_manage_store_files(dpkg_t) +') + +optional_policy(` cron_system_entry(dpkg_t, dpkg_exec_t) ')