cvs commit: src/sys/vm vm_mmap.c
Jacques A. Vidrine
nectar at FreeBSD.org
Thu Mar 18 13:12:50 PST 2004
On Thu, Mar 18, 2004 at 12:58:51PM -0800, 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
> http://cvsweb.FreeBSD.org/src/sys/vm/vm_mmap.c.diff?r1=1.185&r2=1.186&f=c
Thanks!
--
Jacques Vidrine / nectar at celabo.org / jvidrine at verio.net / nectar at freebsd.org
More information about the cvs-src
mailing list