[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45155707.4010906@aknet.ru>
Date: Sat, 23 Sep 2006 19:47:19 +0400
From: Stas Sergeev <stsp@...et.ru>
To: Ulrich Drepper <drepper@...hat.com>
Cc: 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
Hi.
Ulrich Drepper wrote:
> Definitely not. The test should stay. It does the right thing. Yes,
> some applications might break, but this is the fault of the application.
But why exactly? They do:
shm_open();
mmap(PROT_READ|PROT_WRITE|PROT_EXEC);
and mmap fails.
Where is the fault of an app here?
-
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