Messages in this thread | | | Date | Sun, 24 Sep 2006 09:49:37 -0700 | From | Ulrich Drepper <> | Subject | Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps |
| |
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 ❖
[unhandled content-type:application/pgp-signature] | |