Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps

From: Arjan van de Ven
Date: Tue Oct 03 2006 - 14:42:59 EST


On Tue, 2006-10-03 at 22:40 +0400, Stas Sergeev wrote:
> Hello.
>
> Arjan van de Ven wrote:
> > you do "noexec" and then complain that executing (!!) windows binaries
> > from that gets more of a problem!
> It only became slower and more memory-consuming -
> is this really what you wanted to achieve?
> Also, you haven't commented on the other points,
> namely, the problem of getting a shm with an exec

then don't put noexec on /dev/shm.

> permission, and the current limitation of an ld.so
> fix (and the solution to it).

ld.so fix is phony. Really; I can always put an "unfixed" ld.so there
and use it as user.

--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com

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