Subject: kern/11354: Incompatible change for SIOCGIFCONF (c.f. PR#10968)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tshiozak@netbsd.org>
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
>Closed-Date:
>Last-Modified:
>Originator: Takuya SHIOZAKI
>Release: 1.5H
>Organization:
>Environment:
NetBSD aoi.astec.co.jp 1.5H NetBSD 1.5H (AOI) #0: Tue Oct 31 19:06:23 JST 2000 tshiozak@aoi.astec.co.jp:/usr/src/sys/arch/i386/compile/AOI i386
>Description:
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.
>How-To-Repeat:
CVSup for FreeBSD causes runtime error under the 1.5H kernel configured with over-11 network interfaces :-)
>Fix:
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.
>Release-Note:
>Audit-Trail:
>Unformatted: