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 EBC4D13832E for ; Sat, 13 Aug 2016 18:35:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4866321C207; Sat, 13 Aug 2016 18:35:09 +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 EF1D821C206 for ; Sat, 13 Aug 2016 18:35:07 +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 1CC9C340CDE for ; Sat, 13 Aug 2016 18:35:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A594E2466 for ; Sat, 13 Aug 2016 18:35:01 +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: <1471112583.953f0de61ff6969382d34002fc7d4b4992e88c1a.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/gpg.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 953f0de61ff6969382d34002fc7d4b4992e88c1a X-VCS-Branch: next Date: Sat, 13 Aug 2016 18:35:01 +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: cff700c8-049b-41f9-b39f-8be03071ce1e X-Archives-Hash: 472bc5dc137730e363cbc15cfff4897f commit: 953f0de61ff6969382d34002fc7d4b4992e88c1a Author: Guido Trentalancia trentalancia net> AuthorDate: Wed Aug 10 23:29:17 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Aug 13 18:23:03 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=953f0de6 Let gpg disable core dumps Update the gpg role interface so that core dumps can be disabled at runtime (required for successful execution of gpg). Signed-off-by: Guido Trentalancia trentalancia.net> policy/modules/contrib/gpg.if | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/contrib/gpg.if b/policy/modules/contrib/gpg.if index b299418..0370dd1 100644 --- a/policy/modules/contrib/gpg.if +++ b/policy/modules/contrib/gpg.if @@ -31,6 +31,7 @@ interface(`gpg_role',` domtrans_pattern($2, gpg_exec_t, gpg_t) domtrans_pattern($2, gpg_agent_exec_t, gpg_agent_t) + allow $2 self:process setrlimit; allow $2 { gpg_t gpg_agent_t gpg_helper_t gpg_pinentry_t }:process { ptrace signal_perms }; ps_process_pattern($2, { gpg_t gpg_agent_t gpg_helper_t gpg_pinentry_t }) 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 16EF513832E for ; Sat, 13 Aug 2016 18:32:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 223FA21C1EC; Sat, 13 Aug 2016 18:32:12 +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 53A0421C1F3 for ; Sat, 13 Aug 2016 18:32:06 +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 6D718340CEF for ; Sat, 13 Aug 2016 18:32:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B55F0246A for ; Sat, 13 Aug 2016 18:32:01 +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: <1471112583.953f0de61ff6969382d34002fc7d4b4992e88c1a.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/gpg.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 953f0de61ff6969382d34002fc7d4b4992e88c1a X-VCS-Branch: master Date: Sat, 13 Aug 2016 18:32:01 +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: b8370854-f877-4b42-9c9f-431741dd82d3 X-Archives-Hash: f304a19401a5e518ceb668247c589540 Message-ID: <20160813183201.4KrymTCbkFMHWxib9lBNxaA-H3xT1Ha-It7gwmuisXI@z> commit: 953f0de61ff6969382d34002fc7d4b4992e88c1a Author: Guido Trentalancia trentalancia net> AuthorDate: Wed Aug 10 23:29:17 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Aug 13 18:23:03 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=953f0de6 Let gpg disable core dumps Update the gpg role interface so that core dumps can be disabled at runtime (required for successful execution of gpg). Signed-off-by: Guido Trentalancia trentalancia.net> policy/modules/contrib/gpg.if | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/contrib/gpg.if b/policy/modules/contrib/gpg.if index b299418..0370dd1 100644 --- a/policy/modules/contrib/gpg.if +++ b/policy/modules/contrib/gpg.if @@ -31,6 +31,7 @@ interface(`gpg_role',` domtrans_pattern($2, gpg_exec_t, gpg_t) domtrans_pattern($2, gpg_agent_exec_t, gpg_agent_t) + allow $2 self:process setrlimit; allow $2 { gpg_t gpg_agent_t gpg_helper_t gpg_pinentry_t }:process { ptrace signal_perms }; ps_process_pattern($2, { gpg_t gpg_agent_t gpg_helper_t gpg_pinentry_t })