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 88B5A1381F3 for ; Thu, 6 Dec 2012 15:42:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55AB521C057; Thu, 6 Dec 2012 15:41:50 +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 936F721C07C for ; Thu, 6 Dec 2012 15:41:49 +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 95CC333DA8C for ; Thu, 6 Dec 2012 15:41:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3FB9FE5449 for ; Thu, 6 Dec 2012 15:41:47 +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: <1354734666.a6dc4576a395d0643a1a3aa49b14a5b13aacc6cb.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/postfix.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: a6dc4576a395d0643a1a3aa49b14a5b13aacc6cb X-VCS-Branch: master Date: Thu, 6 Dec 2012 15:41:47 +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: e30497fd-f887-498f-ac79-1a59d86f2eb4 X-Archives-Hash: b360ba004520afcc5e58f8fad719bc62 commit: a6dc4576a395d0643a1a3aa49b14a5b13aacc6cb Author: Sven Vermeulen siphos be> AuthorDate: Wed Dec 5 19:11:06 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Wed Dec 5 19:11:06 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=a6dc4576 Have postqueue send its signals back to the originating domain When a postfix admin runs postqueue, have the postfix_postqueue_t domain allowed to send back the sigchld signal. --- policy/modules/contrib/postfix.if | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/policy/modules/contrib/postfix.if b/policy/modules/contrib/postfix.if index 4233c1c..6e26d71 100644 --- a/policy/modules/contrib/postfix.if +++ b/policy/modules/contrib/postfix.if @@ -747,8 +747,11 @@ interface(`postfix_admin',` ifdef(`distro_gentoo',` gen_require(` type postfix_showq_exec_t; + type postfix_postqueue_t; ') - + + allow postfix_postqueue_t $1:process sigchld; + can_exec($1, postfix_showq_exec_t) ') ')