[Devel] Re: [PATCH 3/3] Signal semantics for pid namespaces

Oleg Nesterov oleg at tv-sign.ru
Sat Sep 1 04:48:03 PDT 2007


On 08/31, sukadev at us.ibm.com wrote:
>
> @@ -48,7 +49,7 @@ static int sig_init_ignore(struct task_s
>  	if (likely(!is_container_init(tsk->group_leader)))
>  		return 0;
>  
> -	if (!in_interrupt())
> +	if (is_current_in_ancestor_pid_ns(tsk) && !in_interrupt())
>  		return 0;

We should return 1 in that case, afaics the logic is wrongly reversed.

Oleg.

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list