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 C5A5F138A2F for ; Sun, 31 Aug 2014 16:07:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3385AE0C89; Sun, 31 Aug 2014 16:07:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C558AE0C89 for ; Sun, 31 Aug 2014 16:07:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D94E33FEA4 for ; Sun, 31 Aug 2014 16:07:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14E0445B2 for ; Sun, 31 Aug 2014 16:07:33 +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: <1409501217.32884aa76d0438d43b8dc42acfe4c17443690d69.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/courier.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 32884aa76d0438d43b8dc42acfe4c17443690d69 X-VCS-Branch: master Date: Sun, 31 Aug 2014 16:07:33 +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: e80192db-a2c3-447e-8f5c-27a7e95c1ea3 X-Archives-Hash: bb073827ce8530de37ba7e4adb4a8c4e commit: 32884aa76d0438d43b8dc42acfe4c17443690d69 Author: Sven Vermeulen siphos be> AuthorDate: Sun Aug 31 16:06:57 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Aug 31 16:06:57 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=32884aa7 Courier imapd creates pid in /var/run by default --- policy/modules/contrib/courier.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/contrib/courier.te b/policy/modules/contrib/courier.te index 5660ef5..11aad5a 100644 --- a/policy/modules/contrib/courier.te +++ b/policy/modules/contrib/courier.te @@ -217,6 +217,10 @@ ifdef(`distro_gentoo',` # # Courier tcpd daemon policy # + + # Startup of courier-imapd creates /var/run/imapd.pid.lock and imapd.lock + files_pid_filetrans(courier_tcpd_t, courier_var_run_t, file) + courier_authdaemon_stream_connect(courier_tcpd_t) courier_domtrans_authdaemon(courier_tcpd_t) ')