Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 01/07/2001 08:16:46
Module Name: syssrc
Committed By: thorpej
Date: Sun Jan 7 06:16:46 UTC 2001
Modified Files:
syssrc/sys/uvm: uvm_mmap.c
Log Message:
Only include PROT_EXEC in maxprot if the user specified PROT_EXEC
in the mmap() call. maxprot is used to create device mappings,
and always including PROT_EXEC causes the mapping to fail on the Alpha
when mapping a non-RAM offset of /dev/mem (which may be sparse, so
instruction fetch from there is disallowed).
To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 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.