Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 187744 Details for
Bug 265072
FEATURES="test" sys-libs/glibc ends in infinite loop with sys-apps/sandbox-1.8
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-libsandbox-abort-on-fatal-traced-signals.patch (text/plain), 1.04 KB, created by
Nick Fortino
on 2009-04-08 23:51:44 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Nick Fortino
Created:
2009-04-08 23:51:44 UTC
Size:
1.04 KB
patch
obsolete
>From 358eaec5fdcf81b6ff2eb3702e9e4b420c35e821 Mon Sep 17 00:00:00 2001 >From: Nick Fortino <nfortino@gmail.com> >Date: Wed, 8 Apr 2009 16:36:52 -0700 >Subject: [PATCH] libsandbox: abort on fatal traced signals > >Avoids infinite trace loops caused by the parent process waiting >for the child to exit after having thrown a fatal signal. >This is effectively a partial reversal of commit >7fab636fb34f95cb0e40fbaa13fcdf10cb297abe > >URL: http://bugs.gentoo.org/265072 >--- > libsandbox/trace.c | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/libsandbox/trace.c b/libsandbox/trace.c >index 1fdeee6..1997332 100644 >--- a/libsandbox/trace.c >+++ b/libsandbox/trace.c >@@ -157,6 +157,12 @@ static void trace_child_signal(int signo, siginfo_t *info, void *context) > case SIGCHLD: > case SIGCONT: > return; >+ case SIGABRT: >+ case SIGSEGV: >+ case SIGILL: >+ SB_EERROR("ISE: Recieved fatal signal from child ", "%s(%i)\n", >+ strsig(info->si_status), info->si_status); >+ sb_abort(); > } > /* fall through */ > } >-- >1.6.2.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 265072
:
187444
|
187470
| 187744