Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps

From: Ulrich Drepper
Date: Sun Sep 24 2006 - 11:51:17 EST

Stas Sergeev wrote:
> The one that goes to /dev/shm should allow PROT_EXEC, yet
> not allow executing the binaries with execve().

Why on earth would you want this? Previously you already acknowledged
that this kind of "protection" can be worked around by using
directly. Even if you try to stop this you can implement this
functionality in a scripting language.

Either all executable mapping is forbidden or none. No middle ground
can exist.

â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â

Attachment: signature.asc
Description: OpenPGP digital signature