NetBSD-Bugs archive

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

kern/58235: compat_netbsd32 broken for SIOCGIFDATA



>Number:         58235
>Category:       kern
>Synopsis:       compat_netbsd32 broken for SIOCGIFDATA
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 08 15:30:00 +0000 2024
>Originator:     Martin Husemann
>Release:        NetBSD 10.99.10
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 10.99.10 NetBSD 10.99.10 (GENERIC) #698: Wed May 8 14:54:31 CEST 2024 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

On an amd64 machine running a -current GENERIC kernel running i386 "ifconfig" will fail
like this:

# ifconfig lo0
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33624
ifconfig: media_status: SIOCGIFDATA: Inappropriate ioctl for device

(both for the i386 binary running in a native installation via /usr/lib/i386 as
well as in a full populated i386 chroot)

This breaks some ATF tests (e.g. lib/libc/net/getaddrinfo/t_getaddrinfo)

>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index