|
Message-ID: <20191101145617.GN16318@brightrain.aerifal.cx> Date: Fri, 1 Nov 2019 10:56:17 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: [PATCH] missing parts to time64 switchover The time64 switchover I had been testing and hoped to push yesterday turned out to be missing the ioctl and sockopt bits, which I eventually remembered I'd omitted in the late-summer i386-only draft because making a bunch more archs have arch variants for these did not seem fun. So, I've worked out some changes to allow top-level socket.h to do a lot more. The msghdr move is pretty much orthogonal, aside from interaction with x32. It's probably not perfect at this point, but I think it's an improvement, and short of errors good enough to commit. It brings things closer to a state of only needing arch-specific bits for archs that actually do weird things, rather than repeating things that are universal to all 32-bit archs or all 64-bit archs on a per-arch basis. These patches should apply ok on the last time64 switchover draft posted to the list. But I'm posting them more for the sake of a (very brief) comment period about what they're doing, and to have a record of them as individual patches -- some of them will be squashed since they yield ABI-inconsistent revisions if left split. Rich View attachment "0001-fix-x32-msghdr-struct-by-removing-x32-bits-socket.h.patch" of type "text/plain" (1353 bytes) View attachment "0002-move-msghdr-and-cmsghdr-out-of-bits-socket.h.patch" of type "text/plain" (8462 bytes) View attachment "0003-add-back-x32-bits-socket.h-defining-time-related-soc.patch" of type "text/plain" (980 bytes) View attachment "0004-add-x32-bits-ioctl_fix.h-defining-time-related-socki.patch" of type "text/plain" (815 bytes) View attachment "0005-convert-ioctl-sockios-macro-definitions-for-time64.patch" of type "text/plain" (2831 bytes) View attachment "0006-convert-socket-option-macro-definitions-for-time64.patch" of type "text/plain" (3031 bytes)
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.