Messages in this thread | | | Date | Mon, 15 Sep 2003 09:09:45 +0200 | From | Alex Riesen <> | Subject | Re: 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/
| |