Re: [PATCH 1/2] protect /sbin/init from unwanted signals more

From: Roland McGrath
Date: Wed Nov 19 2008 - 22:05:44 EST


> inits today don't do anything with blocked signals. They explicitly ignore all signals,
> they don't want to deal with an enable those they do.

I don't think we should constrain them this way.
Future init versions might want to use blocked signals and sigwait.

> Which reminds me. I need to retest, but I had a case where I had a
> trivial init that set all signal handlers to SIG_IGN so it could ignore
> SIGCHLD. And not all of it's children were getting reaped automagically.
> Do we have a bug in the reparenting/reaping logic?

We have had bugs along those lines in the past.
AFAIK we've licked them all now. Re-testing is in order.


Thanks,
Roland
--
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/