From: pebenito@ieee.org (Chris PeBenito) Date: Sat, 13 Aug 2016 09:36:15 -0400 Subject: [refpolicy] [PATCH] Let gpg disable core dumps In-Reply-To: <1470871757.3062.1.camel@trentalancia.net> References: <1470871757.3062.1.camel@trentalancia.net> Message-ID: <29ee656a-2bb8-67f6-6a8c-2e0aa87d50d2@ieee.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 08/10/16 19:29, Guido Trentalancia wrote: > 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 > --- > policy/modules/contrib/gpg.if | 1 + > 1 file changed, 1 insertion(+) > > --- refpolicy-git-06082016-orig/policy/modules/contrib/gpg.if 2016-08-06 21:27:11.355094349 +0200 > +++ refpolicy-git-06082016/policy/modules/contrib/gpg.if 2016-08-11 01:01:52.223176254 +0200 > @@ -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 }) Merged. -- Chris PeBenito