lkml.org 
[lkml]   [2006]   [Oct]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 09 Oct 2006 08:40:13 +0400
FromStas Sergeev <>
SubjectRe: [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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-09 06:41    [from the cache]
©2003-2008