Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps

From: Ulrich Drepper
Date: Sun Sep 24 2006 - 12:50:00 EST

Stas Sergeev wrote:
> Exactly. So why such a "middle-ground" solution is currently
> there? I can:
> 1. mprotect() the existing mapping to PROT_EXEC and bypass the
> checks (but you can easily restrict that by patching mprotect()).

The consensus has been to add the same checks to mprotect. They were
not left out intentionally.

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

Attachment: signature.asc
Description: OpenPGP digital signature