Re: [PATCH v2 7/11] Uprobes Implementation

From: Srikar Dronamraju
Date: Wed May 12 2010 - 06:31:20 EST


* Peter Zijlstra <peterz@xxxxxxxxxxxxx> [2010-05-11 22:45:23]:

> On Thu, 2010-04-22 at 17:40 +0200, Oleg Nesterov wrote:
> >
> > Either way, I think register_uprobe() should disallow the probes in
> > VM_SHARED/VM_MAYWRITE vmas.
>
> VM_SHARED, fully agreed, MAYWRITE not so sure, MAP_PRIVATE has MAYWRITE
> iirc and its perfectly fine to poke at those.
>

Okay, I will put a check to disallow probes in VM_SHARED vmas.

--
Thanks and Regards
Srikar
--
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/