Subject: kern/11354: Incompatible change for SIOCGIFCONF (c.f. PR#10968)
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/31/2000 20:18:18
>Number:         11354
>Category:       kern
>Synopsis:       Incompatible change for SIOCGIFCONF (c.f. PR#10968)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 31 20:18:00 PST 2000
>Originator:     Takuya SHIOZAKI
>Release:        1.5H
NetBSD 1.5H NetBSD 1.5H (AOI) #0: Tue Oct 31 19:06:23 JST 2000 i386

The change in sys/net/if.c:1.70 makes SIOCGIFCONF incompatible from
the previous versions of it.
Some applications assume the returning length to be actual bytes filled
in the buffer.

CVSup for FreeBSD causes runtime error under the 1.5H kernel configured with over-11 network interfaces :-)

1. bring back to the previous behaviour, or
2. at least assign a new ioctl number for the new one, and stay
   the previous one. Additionally, COMPAT_FREEBSD use the latter.