lkml.org 
[lkml]   [2003]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: logging when SIGSEGV is processed?
bert hubert, Sun, Sep 14, 2003 19:17:41 +0200:
> On Sun, Sep 14, 2003 at 12:14:08PM +0100, Mo McKinlay wrote:
>
> > Admittedly, it might need some shoehorning into some existing setups (i.e.,
> > where the daemon you wish to watch isn't started directly, but by something
> > else), but it wouldn't be too tricky, I'd've thought.
>
> init receives that stuff if a process has no other parent, I think, so that
> might be a great place.
>

will not work if the signal received by the child of a daemon, which does
nothing about its status.

Probably ptrace the daemon (following all its children) would server better.
The feature (logging the coredumps) is definitely no needed for
everything, just some suspectables.

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

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