Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 01/08/2001 03:35:04
Module Name: syssrc
Committed By: thorpej
Date: Mon Jan 8 01:35:03 UTC 2001
Modified Files:
syssrc/sys/uvm: uvm_mmap.c
Log Message:
Nevermind that it's silly to include PROT_EXEC even if a vnode
doesn't have the exec bit set, we need to have PROT_EXEC set
in order for some expected mmap/mprotect behavior to work, so
do the last bit slightly differently: if udv_attach() fails, and
the protection (NOT maxprot) doens't include PROT_EXEC, then clear
PROT_EXEC from maxprot and try udv_attach() again.
Sigh, mmap really needs to be rototilled.
To generate a diff of this commit:
cvs rdiff -r1.47 -r1.48 syssrc/sys/uvm/uvm_mmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.