On 2015-11-19 22:32:50 GMT Stephen Hemminger wrote:
> This header file comes from iptables. Please fix there, otherwise
> on next time someone does merge from there it will break.
It is already fixed in iptables:
https://git.netfilter.org/iptables/commit/include/libiptc/ipt_kernel_headers.h?id=0
Prefer using the POSIX constant PATH_MAX instead of the legacy BSD
derived MAXPATHLEN. The necessary includes for MAXPATHLEN and PATH_MAX
are and , respectively.
Signed-off-by: Felix Janda
---
This patch is identical except for title and commit message to the one
with title "Use PAT
Stephen Hemminger wrote:
> On Sat, 25 Apr 2015 22:54:11 +0200
> Felix Janda wrote:
>
> > Hello.
> >
> > Background:
> > Current iproute2 does not build when the libc is musl instead of glibc.
> > This is because of redefinition of in6_addr in neti
Hello.
Background:
Current iproute2 does not build when the libc is musl instead of glibc.
This is because of redefinition of in6_addr in netinet/in.h and
linux/in6.h. There are workarounds in linux/libc-compat.h to make it
somehow work for glibc.
As I can see linux/in6.h is only indirectly used
They are equivalent but the former is more common. PATH_MAX is
specified by POSIX and needs while MAXPATHLEN has BSD
origin and needs .
PATH_MAX has already been in use in misc/lnstat.h.
Signed-off-by: Felix Janda
---
ip/ipnetns.c| 15 +++
lib/namespace.c | 11 ++-
2