NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/58235: compat_netbsd32 broken for SIOCGIFDATA
The following reply was made to PR kern/58235; it has been noted by GNATS.
From: Paul Goyette <paul%whooppee.com@localhost>
To: Martin Husemann <martin%duskware.de@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/58235: compat_netbsd32 broken for SIOCGIFDATA
Date: Thu, 9 May 2024 05:59:53 -0700 (PDT)
On Thu, 9 May 2024, Martin Husemann wrote:
> The following reply was made to PR kern/58235; it has been noted by GNATS.
>
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: kern/58235: compat_netbsd32 broken for SIOCGIFDATA
> Date: Thu, 9 May 2024 13:29:38 +0200
>
> I tested NetBSD 4.0 and 5.2.3 binaries, both for amd64 and i386.
>
> The 4.0 ones work fine, ifconfig is using different ioctls there, which are
> properly translated.
>
> The 5.x ones do not work at all - from a quick glance due to the sysctls
> used by getifaddrs(3) not working. I'll leave this part alone.
>
> If noone has better ideas how to deal with the struct layout in the compat
> structures in my patch, I'll commit it in a few days.
I'm not really clear on what combinations you tested. But go ahead and
commit what you have, and _please_ file a new PR for the getifaddrs(3)
problems, and assign both PRs to me. I will try to get everything to
work, especially in a NOCOMPAT environment (with none of the compat code
built-in). It will take me some time to get a test environment set up.
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost |
| Software Developer | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost |
| & Network Engineer | | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+
Home |
Main Index |
Thread Index |
Old Index