Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/uvm



On Fri May 11 2007 at 20:41:14 +0000, Christos Zoulas wrote:
> 
> Module Name:  src
> Committed By: christos
> Date:         Fri May 11 20:41:14 UTC 2007
> 
> Modified Files:
>       src/sys/uvm: uvm_mmap.c
> 
> Log Message:
> Improve on previous and write a RANGE_TEST macro and do it on all the
> system calls instead of doing a half-assed job on some of them and none
> on others.

Heh, you'll love this.  According to SUS, munmap() should not return
EOVERFLOW but EINVAL if addr+len wraps ;)
(I guess there's no reason to cry over this, though)

On a related note, SUS says that len==0 should return EINVAL, not succeed
with no action like our code does.  Is this emulating some prehistoric
behaviour?

-- 
Antti Kantee <pooka%iki.fi@localhost>                     Of course he runs 
NetBSD
http://www.iki.fi/pooka/                          http://www.NetBSD.org/
    "la qualité la plus indispensable du cuisinier est l'exactitude"



Home | Main Index | Thread Index | Old Index