Partially revert "net: socket: implement 64-bit timestamps"
authorBen Hutchings <ben@decadent.org.uk>
Tue, 20 Aug 2019 17:12:35 +0000 (18:12 +0100)
committerBen Hutchings <benh@debian.org>
Thu, 3 Oct 2024 21:58:46 +0000 (23:58 +0200)
commitb6b3dd12747b0463e09a2c6b0022803b19bfa7a8
treea74b35f7ddcb7fbcbedce399371cf33ac51ea118
parent1ff5a7b77617390ccd5004040c4838f70464b7f9
Partially revert "net: socket: implement 64-bit timestamps"

The introduction of SIOCGSTAMP{,NS}_OLD and move of SICOGSTAMP{,NS} to
a different header has caused build failures for various user-space
programs including qemu and suricata.  It also causes a test failure
for glibc.

For now, remove the _OLD suffix on the old ioctl numbers and require
programs using 64-bit timestamps to explicitly use SIOCGSTAMP{,NS}_NEW.

References: https://lore.kernel.org/lkml/af0eb47a-5b98-1bd9-3e8d-652e7f28b01f@de.ibm.com/
References: https://bugs.debian.org/934316
References: https://ci.debian.net/data/autopkgtest/testing/amd64/g/glibc/2772289/log.gz
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name partially-revert-net-socket-implement-64-bit-timestamps.patch
arch/alpha/include/uapi/asm/sockios.h
arch/mips/include/uapi/asm/sockios.h
arch/sh/include/uapi/asm/sockios.h
arch/xtensa/include/uapi/asm/sockios.h
include/uapi/asm-generic/sockios.h
include/uapi/linux/sockios.h
net/socket.c