Date: Thu, 18 Mar 2004 13:26:53 -0800 (PST) From: Nate Lawson <nate@root.org> To: Guido van Rooij <guido@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_mmap.c Message-ID: <20040318132615.U9436@root.org> In-Reply-To: <20040318205858.AEC6416A4CE@hub.freebsd.org> References: <20040318205858.AEC6416A4CE@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Mar 2004, Guido van Rooij wrote: > guido 2004/03/18 12:58:51 PST > > FreeBSD src repository > > Modified files: > sys/vm vm_mmap.c > Log: > When mmap-ing a file from a noexec mount, be sure not to grant the right > to mmap it PROT_EXEC. This also depends on the architecture, as some > architextures (e.g. i386) do not distinguish between read and exec pages > > Inspired by: http://linux.bkbits.net:8080/linux-2.4/cset@1.1267.1.85 > Reviewed by: alc > > Revision Changes Path > 1.186 +5 -1 src/sys/vm/vm_mmap.c Prescott and AMD64 have a no-exec page bit now. -Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040318132615.U9436>