Subject: CVS commit: src/sys/uvm
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 12/02/2004 15:23:47
Module Name:	src
Committed By:	briggs
Date:		Thu Dec  2 15:23:47 UTC 2004

Modified Files:
	src/sys/uvm: uvm_mmap.c

Log Message:
mlock(2) and munlock(2) are defined by our man pages (which agree with
those on opengroup.org) to return ENOMEM if trying to lock a region that
is not accessible.  So if uvm_map_pageable() returns EFAULT, make it ENOMEM.


To generate a diff of this commit:
cvs rdiff -r1.84 -r1.85 src/sys/uvm/uvm_mmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.