Re: [PATCH 1/1] ptrace: do_notify_parent_cldstop: fix the wrong->nsproxy usage

From: Roland McGrath
Date: Wed May 27 2009 - 18:25:37 EST


> Actually, ptrace_signal() is fine wrt pid_ns. task_pid_vnr(current->parent)
> returns 0 if the tracer is not seen from the tracee's namespace, this is
> correct. So, afaics only ptrace_notify() needs the (low priority) fix.

Oh, both are correct. Sorry. These are signals received by tracee, which
is current, so task_pid_vnr() dtrt.


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/