Module Name: src Committed By: snj Date: Mon Jul 24 06:03:42 UTC 2017
Modified Files: src/sys/uvm [netbsd-8]: uvm_fault.c src/tests/lib/libc/sys [netbsd-8]: t_write.c Log Message: Pull up following revision(s) (requested by kamil in ticket #120): sys/uvm/uvm_fault.c: revision 1.200 tests/lib/libc/sys/t_write.c: revision 1.4-1.6 PR/52384: make uvm_fault_check() return EFAULT not EACCES, like our man pages (but not OpenGroup which does not document EFAULT for read/write, and onl= y documents EACCES for sockets) say for read/write. -- check for EFAULT on reads and writes to memory with not permission. -- add munmap #define for const. -- add another missing munmap (Kamil) To generate a diff of this commit: cvs rdiff -u -r1.199 -r1.199.6.1 src/sys/uvm/uvm_fault.c cvs rdiff -u -r1.3 -r1.3.6.1 src/tests/lib/libc/sys/t_write.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.