tech-kern archive

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

Re: CVS commit: src/sys/netinet6



On Tue, May 12, 2009 at 12:11 AM, Andrew Doran <ad%netbsd.org@localhost> wrote:
> On Sun, May 10, 2009 at 11:48:05AM +0300, Elad Efrat wrote:
>
>> places in the kernel. Other parts of the networking stacks (say,
>> opening a raw socket) now return EPERM instead of EACCES -- if we're
>> interested in checking whether this is a problem or not we should do
>> so on a much larger scale, and not as a response to a specific change.
>
> This is an ABI change. Also be aware that many operations are defined to
> return EACCESS, example: bind(). See www.opengroup.org. Have you changed
> any of theses interfaces to return EPERM?

Yes, and I will change it back -- all points raised against returning
EPERM are very good, and I'm not that attached to one error code or
another. :)

-e.


Home | Main Index | Thread Index | Old Index