Date: Thu, 18 Mar 2004 12:58:51 -0800 (PST) From: Guido van Rooij <guido@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_mmap.c Message-ID: <200403182058.i2IKwpTG005984@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403182058.i2IKwpTG005984>