lkml.org 
[lkml]   [2006]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
Date
Arjan van de Ven  wrote:
>[...] so you remove a security check ... [...]
>
>If you can mmap PROT_EXEC the "noexec" mount option doesn't mean
>anything! Because a elf binary loader is easily written in
>perl/shell/whatever, the kernel "x" bit is just a convenience there!
>The PROT_EXEC check at least makes it a bit harder to do anything like
>this; not impossible obviously

The last sentence of your post implies that this never was a security
check. (I'll believe it was a check to prevent some kinds of accidental
misbehavior, but I don't believe it prevents deliberate misbehavior.)
-
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-09-25 22:15    [W:0.183 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site