lkml.org 
[lkml]   [1998]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux 2.1.125 doesn't dump core on SIGSEGV
Date
In dist.linux.kernel, article <909551496.30024@noris.de>,
"Brandon S. Allbery KF8NH" <allbery@kf8nh.apk.net> writes:
> In message <m0zYGuU-0007UkC@the-village.bc.nu>, Alan Cox writes:
> | Its a nice solution. I still miss the approach some non unix platforms have
> | where when the program takes the fatal exception its frozen and dumped under
> | the debugger
>
> So? Put together a replacement for the exec*() family and use LD_PRELOAD.

I'd rather like to see a method to tell the kernel to stop a process
instead of coredumping.

That way, the shell will notice, and you can either attach to the thing
with gdb, or tell it to continue (at which point it'll drop core for real).

Appropriate modifications to the shell (or to your favorite window manager)
are then not a problem.

My idea of a kernel interface would be to add another flag bit to the
clone() syscall.

--
Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661
The quote was selected randomly. Really. | http://www.noris.de/~smurf/
--
It's not Camelot, but it's not Cleveland, either.
-- Kevin White, mayor of Boston

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.058 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site