Re: [PATCH] emit logging when a process receives a fatal signal

From: Jan Engelhardt
Date: Sat Nov 18 2006 - 14:33:28 EST



>> 4. If this is about detecting the loss of specific processes
>> (network services say), then the problem can be solved in
>> user-space by using a separate monitor process, or by
>> controlling the processes via ptrace.
>
>No not only for specific processes. It helps you detect problems with
>processes you dind't know they have bugs and flakey hardware (sig 11).

Write an LSM module that hooks ->task_kill. It's probably the most
beautiful and non-intrusive solution in the set of possible solutions.



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