Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z2b__0GNVxP4cRfl@voyager>
Date: Sat, 21 Dec 2024 18:50:55 +0100
From: Markus Wichmann <nullplan@....net>
To: Rich Felker <dalias@...c.org>
Cc: musl@...ts.openwall.com
Subject: Re: struct mq_attr wrong on x32?

Am Sat, Dec 21, 2024 at 01:15:41AM -0500 schrieb Rich Felker:
> On Tue, Dec 17, 2024 at 07:46:28PM +0100, Markus Wichmann wrote:
>
> > [struct mq_attr is wrong on x32]
> I recall something about this coming up before. I'll dig and see what
> I can find. It's not clear to me if we should fix this in the
> interface type (leaving behind any broken stuff already compiled using
> the mismatched definition) or translate it in libc (keeping ABI same
> and fixing existing binaries too).
>
> Rich

I also found struct rusage to be wrong in a similar way. The kernel
struct is defined in terms of __kernel_long_t again, and musl
substitutes that for long. So that would add a few translations.

At this point, since the wrong definitions are already published,
translation makes the most sense, of course.

Ciao,
Markus

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.