[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1159037913.24572.62.camel@localhost.localdomain>
Date: Sat, 23 Sep 2006 19:58:33 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Hugh Dickins <hugh@...itas.com>
Cc: Stas Sergeev <stsp@...et.ru>, Andrew Morton <akpm@...l.org>,
Ulrich Drepper <drepper@...hat.com>,
Linux kernel <linux-kernel@...r.kernel.org>
Subject: Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
Ar Sad, 2006-09-23 am 17:04 +0100, ysgrifennodd Hugh Dickins:
> No, it's not. But this doesn't have much to do with tmpfs,
> nor with shm_open. It's just that the kernel is not allowing
> mmap PROT_EXEC on a MNT_NOEXEC mount. Which seems reasonable
> (though you can argue that mprotect ought to disallow it too).
Agreed mprotect should also be fixed.
-
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