Cc: Andrew Morton <akpm@...>, Linux Containers <containers@...>, Oleg Nesterov <oleg@...>, Christoph Hellwig <hch@...>, <linux-kernel@...>, Neil Brown <neilb@...>
Possibly I just hadn't looked close enough. The signals looked like
a redundant mechanism.
Maybe I'm missing something but I think you are referring to the semantics
of do_group_exit in the presence of CLONE_THREAD. All sharing a
sighand should do is cause the sharing of the signal handler. Causing
allow_signal and disallow_signal to act on a group of threads instead
of a single thread. I don't recall clone_sighand having any
other effects.
Reasonable if these mechanisms are not redundant.
Thinking it through because everything having to do with nfs mounting and
unmounting is behind the privileged mount operation this is not going to
become an issue until we start allowing unprivileged nfs mounts. Because
we cannot delegate control of nfs mount and unmount operations until then.
Since signals do not pose a immediate barrier to forward progress like
daemonize and kernel_thread we can leave things as is until we can
sort this out.
Eric
-