Re: [PATCH -mm] vmscan: make mapped executable pages the firstclass citizen

From: Peter Zijlstra
Date: Sun May 10 2009 - 08:20:47 EST


On Sun, 2009-05-10 at 19:44 +0800, Wu Fengguang wrote:
>
> > They always use mmap(PROT_READ | PROT_WRITE | PROT_EXEC) for anycase.
> > Please google it. you can find various example.
>
> How widely is PROT_EXEC abused? Would you share some of your google results?

That's a security bug right there and should be fixed regardless of our
heuristics.

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