[RFC][PATCH] Define/use siginfo_from_ancestor_ns

Oleg Nesterov oleg at redhat.com
Wed Nov 12 08:38:32 PST 2008


On 11/11, Sukadev Bhattiprolu wrote:
>
> --- a/kernel/fork.c
> +++ b/kernel/fork.c
> @@ -1117,6 +1117,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
>
>  		if (clone_flags & CLONE_NEWPID) {
>  			retval = pid_ns_prepare_proc(p->nsproxy->pid_ns);
> +			p->signal->flags |= SIGNAL_UNKILLABLE;

Minor nit... up to you, but perhaps this should go into copy_signal().

Oleg.



More information about the Containers mailing list