Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps

From: Stas Sergeev
Date: Sun Sep 24 2006 - 10:53:30 EST


Alan Cox wrote:
If you want a tmpfs with noexec and a shared memory space with exec why
don't you just sort out mounting two different tmpfs instances ?
The one that goes to /dev/shm should allow PROT_EXEC, yet
not allow executing the binaries with execve(). How?
There may be other tmpfs instances, I think they are
unaffected, but what to do with the /dev/shm one?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at