cvs commit: src/sys/vm vm_mmap.c

Guido van Rooij guido at FreeBSD.org
Thu Mar 18 12:58:52 PST 2004


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


More information about the cvs-src mailing list