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 12004138247 for ; Mon, 11 Nov 2013 13:46:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 688F0E0BC3; Mon, 11 Nov 2013 13:46:08 +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 09503E0BC3 for ; Mon, 11 Nov 2013 13:46:02 +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 A91FB33F209 for ; Mon, 11 Nov 2013 13:45:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 7986EE54D9 for ; Mon, 11 Nov 2013 13:45:54 +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: <1384177446.1548a6c7fe0ba3eac47b0b063986d0ec4140314c.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/exim.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 1548a6c7fe0ba3eac47b0b063986d0ec4140314c X-VCS-Branch: master Date: Mon, 11 Nov 2013 13:45:54 +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: c13cc38f-4dcb-4e7d-b9c4-09b49921694e X-Archives-Hash: 6fc3075c55ed15db1a373eab92910e8c commit: 1548a6c7fe0ba3eac47b0b063986d0ec4140314c Author: Dominick Grift gmail com> AuthorDate: Mon Oct 7 08:31:25 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Mon Nov 11 13:44:06 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=1548a6c7 exim: exim_manage_var_lib_files created for init: init script runs helper apps that create/manage /var/lib/exim4/config.autogenerated.tmp Signed-off-by: Dominick Grift gmail.com> --- policy/modules/contrib/exim.if | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/policy/modules/contrib/exim.if b/policy/modules/contrib/exim.if index 7e78b7b..9bbc690 100644 --- a/policy/modules/contrib/exim.if +++ b/policy/modules/contrib/exim.if @@ -244,6 +244,25 @@ interface(`exim_read_var_lib_files',` ######################################## ## +## Create, read, and write exim var lib files. +## +## +## +## Domain allowed access. +## +## +# +interface(`exim_manage_var_lib_files',` + gen_require(` + type exim_var_lib_t; + ') + + manage_files_pattern($1, exim_var_lib_t, exim_var_lib_t) + files_search_var_lib($1) +') + +######################################## +## ## All of the rules required to ## administrate an exim environment. ##