[Devel] Re: [RFC][PATCH 2/7][v4] Protect init from unwanted signals more
Sukadev Bhattiprolu
sukadev at linux.vnet.ibm.com
Wed Dec 24 13:11:37 PST 2008
Oleg Nesterov [oleg at 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.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list