Re: [PATCH] UPROBES: Remove useless __weak attribute

From: David Daney
Date: Fri Oct 11 2013 - 18:07:10 EST


On 10/11/2013 05:24 AM, Ralf Baechle wrote:
On Fri, Oct 11, 2013 at 06:21:28AM +0530, Srikar Dronamraju wrote:

Will be nice to have another arch(mips) support for uprobes.

It's basically ready to be merged - but it's triggering issues elsewhere
in the kernel which I have to resolve first.

The short version is that the memory special mapping created by uprobe
with VM_EXEC but not VM_READ permissions is not working but it's working
if I add VM_READ. That should not be necessary so something deep down
in the guts of arch/mips is wrong.


Weird, I have a testcase that explicitly tests VM_EXEC and !VM_READ that works.

Do you have more information about the failure, I can look at it in the simulator and see where it goes wrong.

Thanks,
David Daney

--
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/