[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] Re: [PATCH] ping/libping, ping6: Catch BSD-specific beha
From: |
Simon Josefsson |
Subject: |
[bug-inetutils] Re: [PATCH] ping/libping, ping6: Catch BSD-specific behaviour. |
Date: |
Fri, 01 Oct 2010 17:09:05 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Mats Erik Andersson <address@hidden> writes:
> Hello,
>
> in BSD the error returned when the user has insufficient
> privilages to generate a raw socket is EACCES, not EPERM
> as the present coding in
>
> ping/libping.c and ping/ping6.c.
>
> conduct tests for.
>
> In addition, the header file <sys/uio.h> is necessary
> to get access to "struct iovec", which is needed in
> order get a compilable source in "ping/ping6.c"
Reading POSIX, it looks to me as EACCESS is actually the right errno
value, and struct iovec belongs to sys/uio.h, so I have pushed your
patch.
Thanks,
Simon
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-inetutils] Re: [PATCH] ping/libping, ping6: Catch BSD-specific behaviour.,
Simon Josefsson <=