Re: [RFC][PATCH 2/7][v4] Protect init from unwanted signals more

From: Sukadev Bhattiprolu
Date: Wed Dec 24 2008 - 16:13:22 EST


Oleg Nesterov [oleg@xxxxxxxxxx] wrote:
| Or, we can do
|
| if (unlikely(t->signal->flags & SIGNAL_UNKILLABLE) &&
| handler == SIG_DFL)
| return 1;
| return sig_handler_ignored(handler, sig);
|
| because sig_handler_ignored() checks SIG_IGN too.

Yes it more optimal. I will change.
--
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/