Re: [PATCH v3 2.6.39-rc1-tip 18/26] 18: uprobes: commonly usedfilters.
From: Peter Zijlstra
Date: Thu Apr 21 2011 - 07:34:45 EST
On Thu, 2011-04-21 at 16:39 +0530, Srikar Dronamraju wrote:
> > What you want is to save the pid-namespace of the task creating the
> > filter in your uprobe_simple_consumer and use that to obtain the task's
> > pid for matching with the provided number.
> >
>
> Okay, will do by adding the pid-namespace of the task creating the
> filter in the uprobe_simple_consumer.
Maybe you could convert to the global pid namespace on construction and
always use that for comparison.
That would avoid the namespace muck on comparison..
--
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/