[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4529D2AD.9080509@aknet.ru>
Date: Mon, 09 Oct 2006 08:40:13 +0400
From: Stas Sergeev <stsp@...et.ru>
To: "Horst H. von Brand" <vonbrand@....utfsm.cl>
Cc: Arjan van de Ven <arjan@...radead.org>,
Ulrich Drepper <drepper@...hat.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Jakub Jelinek <jakub@...hat.com>,
Linux kernel <linux-kernel@...r.kernel.org>,
Hugh Dickins <hugh@...itas.com>,
Jeremy Fitzhardinge <jeremy@...p.org>
Subject: Re: [patch] honour MNT_NOEXEC for access()
Hello.
Horst H. von Brand wrote:
> Right. But what prevents anybody to have a hacked, non-testing, ld.so lying
> around?
Having "noexec" on every user-writable mount can
kind of make that difficult - you can't easily run
the ld.so you just copied in.
> It just can't do them (reliably at least) in general.
Certainly it can't, now and then.
Right now the check is to see whether the mmap(PROT_EXEC)
fails. I wanted to change that to something that at least
won't break other apps, but of course without adding any
extra reliability.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists