[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4516A8E3.4020100@redhat.com>
Date: Sun, 24 Sep 2006 08:48:51 -0700
From: Ulrich Drepper <drepper@...hat.com>
To: Stas Sergeev <stsp@...et.ru>
CC: Alan Cox <alan@...rguk.ukuu.org.uk>,
Hugh Dickins <hugh@...itas.com>, Andrew Morton <akpm@...l.org>,
Linux kernel <linux-kernel@...r.kernel.org>
Subject: Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
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 ld.so
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 ❖
Download attachment "signature.asc" of type "application/pgp-signature" (252 bytes)
Powered by blists - more mailing lists