Re: [PATCH 2/4] signals: send_signal: use si_fromuser() to detectfrom_ancestor_ns

From: Sukadev Bhattiprolu
Date: Mon Oct 05 2009 - 20:07:51 EST


Oleg Nesterov [oleg@xxxxxxxxxx] wrote:
| Sorry for confusion.
|
| > But sure, we could use force_sig_info() in caller.
|
| Yes, because this makes the code more explicit imho. And we can avoid
| the further complicatiions in send_signal() path.

Although, one small drawback would be the different behavior for the
SIGKILL in load_aout_binary() to the container-init itself calling:

kill(getpid(), SIGKILL);

(which of course is not very useful).
--
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/