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

Sukadev Bhattiprolu
2008-12-24T21:13:21Z

Oleg Nesterov [oleg@redhat.com] 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.