Subject: Re: CVS commit: src/sys/uvm
To: Christos Zoulas <christos@astron.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: source-changes
Date: 05/11/2007 14:20:19
On May 11, 2007, at 2:02 PM, Christos Zoulas wrote:

> I read about it too, and decided that it makes more sense for all
> memory related system calls to return the same error codes for the
> same error conditions.

Y'know, it would be nice if we didn't gratuitously deviate from the  
standards like this.

>> 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?
>
> For some calls 0 is an error, for others it is ok. I don't know the
> rationale behind it. I'd say let's leave it alone for now.

Ditto.

-- thorpej