Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191102013911.GA26175@brightrain.aerifal.cx>
Date: Fri, 1 Nov 2019 21:39:11 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: [PATCH v3] remaining steps for time64 switchover

A couple errors in the v2 patchset motivated me to factor the changes
to sys/socket.h and arch/generic/ioctl.h out of the main switchover
commit, so that the latter only touches arch dirs, and acts uniformly
on them. The final result with all patches applied is almost the same,
except now the powerpc and mips[n32] socket.h bits omit the time64
socket options, letting the top-level header's defaults take effect.

All archs I have toolchains handy for, which includes the oddballs
(mips, powerpc) and a few 64-bit ones, have been tested to build
successfully and get the right values of the sockopt and ioctl macros,
utilizing a horrible hack (uncommitted of course) dropped into the
source tree while building.

Hopefully this is "final" now and ready for push.

Rich

View attachment "0001-add-time64-symbol-name-redirects-to-public-headers-u.patch" of type "text/plain" (12539 bytes)

View attachment "0002-prepare-struct-sched_param-for-change-in-time_t-defi.patch" of type "text/plain" (1005 bytes)

View attachment "0003-disable-lfs64-aliases-for-remapped-time64-functions.patch" of type "text/plain" (2766 bytes)

View attachment "0004-make-fstatat-fill-in-old-time32-stat-fields-too.patch" of type "text/plain" (2016 bytes)

View attachment "0005-add-time32-ABI-compat-shims-compat-source-tree.patch" of type "text/plain" (50334 bytes)

View attachment "0006-add-time64-redirect-for-and-redirecting-implementati.patch" of type "text/plain" (2361 bytes)

View attachment "0007-add-__dlsym_time64-asm-entry-point-for-all-legacy-32.patch" of type "text/plain" (3615 bytes)

View attachment "0008-add-framework-for-arch-provided-makefile-fragments-c.patch" of type "text/plain" (1706 bytes)

View attachment "0009-make-time-related-socket-options-overridable-by-arch.patch" of type "text/plain" (2086 bytes)

View attachment "0010-fix-x32-msghdr-struct-by-removing-x32-bits-socket.h.patch" of type "text/plain" (1355 bytes)

View attachment "0011-move-msghdr-and-cmsghdr-out-of-bits-socket.h.patch" of type "text/plain" (8464 bytes)

View attachment "0012-add-back-x32-bits-socket.h-defining-time-related-soc.patch" of type "text/plain" (982 bytes)

View attachment "0013-add-x32-bits-ioctl_fix.h-defining-time-related-socki.patch" of type "text/plain" (817 bytes)

View attachment "0014-switch-all-existing-32-bit-archs-to-64-bit-time_t.patch" of type "text/plain" (49063 bytes)

View attachment "0015-move-time64-socket-options-from-arch-bits-to-top-lev.patch" of type "text/plain" (5350 bytes)

View attachment "0016-move-time64-ioctl-numbers-to-generic-bits-ioctl.h.patch" of type "text/plain" (3304 bytes)

View attachment "0017-move-time_t-and-suseconds_t-definitions-to-common-al.patch" of type "text/plain" (7656 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.