Subject: Re: PROT_EXEC mappings of vnodes -> VTEXT
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Eric Haszlakiewicz <erh@nimenees.com>
List: tech-kern
Date: 10/30/2001 13:40:24
On Tue, Oct 30, 2001 at 07:15:09AM -0800, Jason R Thorpe wrote:
> On Tue, Oct 30, 2001 at 10:06:57AM -0500, Thor Lancelot Simon wrote:
>
> > I would like to point out that were my suggestion of only allowing
> > mappings of files *with execute permission* to be set PROT_EXEC
> > implemented, this problem (user can make file read-only by mapping
> > it PROT_EXEC) would not exist.
>
> Yes, we know, but unfortunately our world would break in other
> spectacular ways since we would be the only Unix system to enforce
> such a rule.
hpux 11 enforces this.
eric