tech-kern archive

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

Re: CVS commit: src/sys/netinet6



On Sun, May 10, 2009 at 01:38:05PM +0300, Elad Efrat wrote:

> On Sun, May 10, 2009 at 1:12 PM, YAMAMOTO Takashi
> <yamt%mwd.biglobe.ne.jp@localhost> wrote:
> 
> >> That said, where we now return EPERM is where in the future we'll
> >> return the error value returned by kauth(9), like many many other
> >> places in the kernel. Other parts of the networking stacks (say,
> >> opening a raw socket) now return EPERM instead of EACCES
> >
> > ip(4) and ip6(4) seem to document EACCES.
> 
> Right. Do you think we need to fix the code or the documentation?

You did not ask the question of me but I think they should continue to
return EACCES unless there is a really good reason for them to return EPERM.


Home | Main Index | Thread Index | Old Index