Let gpg disable core dumps
PATCH 1/1 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 <[email protected]>
--- policy/modules/contrib/gpg.if | 1 + 1 file changed, 1 insertion(+)
policy/modules/contrib/gpg.if +1 -0
@@ -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 })
PATCH 1/1 Let gpg disable core dumps
Quoted 11 lines · Guido Trentalancia
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 <[email protected]>--- policy/modules/contrib/gpg.if | 1 + 1 file changed, 1 insertion(+)
policy/modules/contrib/gpg.if interface(`gpg_role',` · line 36
Quoted 6 lines
policy/modules/contrib/gpg.if +1
-0@@ -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.
Signature · 1 line
Chris PeBenito