xenomai.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] y2038: Finalize and enable y2038 support
@ 2023-08-11  7:37 Florian Bezdeka
  2023-08-11  7:37 ` [PATCH 1/7] y2038: kernel/drivers: Implement SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW Florian Bezdeka
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Florian Bezdeka @ 2023-08-11  7:37 UTC (permalink / raw)
  To: xenomai, jan.kiszka; +Cc: Florian Bezdeka

Hi all,
    
this is the final y2038 related patch series. With this series applied
y2038 support will be enabled by default for all affected
builds/architectures.

There is a kill switch (--disable-y2038) available in case unexpected
problems come up after merge but that is not expected. The y2038 queue
was regularly tested over the last two years now.
    
Short summary:
  - Implement y2038 safe ioctls around SO_RCVTIMEO and SO_SNDTIMEO
  - Enable additional function wrapping
  - Fix some smokey tests (reading of reference clocks)

Fingers crossed, seems the y2038 issue is solved now.

Best regards,
Florian

Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
---
Florian Bezdeka (7):
      y2038: kernel/drivers: Implement SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW
      y2038: lib/cobalt: Switch vdso to gettime64
      y2038: testsuite/clocktest: Fix reading of reference clock
      y2038: build: Introduce new build parameter --disable-y2038
      y2038: lib/cobalt: Add additional time64_t related function wrappers
      y2038: Route explicitly requested stdlib calls to time64 equivalents
      y2038: lib/cobalt/select: Fix __RT(select()) routing

 configure.ac                                     |  63 ++++++-
 include/cobalt/mqueue.h                          |  11 ++
 include/cobalt/pthread.h                         |  10 ++
 include/cobalt/semaphore.h                       |   4 +
 include/cobalt/signal.h                          |   5 +
 include/cobalt/sys/ioctl.h                       |   3 +
 include/cobalt/sys/select.h                      |   8 +
 include/cobalt/sys/socket.h                      |  15 ++
 include/cobalt/sys/time.h                        |   4 +
 include/cobalt/sys/timerfd.h                     |   9 +
 include/cobalt/time.h                            |  35 ++++
 include/cobalt/wrappers.h                        |  10 ++
 kernel/drivers/ipc/bufp.c                        |  34 ++++
 kernel/drivers/ipc/iddp.c                        |  34 ++++
 kernel/drivers/ipc/internal.h                    |  27 +++
 kernel/drivers/ipc/rtipc.c                       |  29 ++++
 kernel/drivers/ipc/xddp.c                        |  18 ++
 kernel/drivers/net/stack/ipv4/tcp/tcp.c          |  31 ++++
 lib/cobalt/Makefile.am                           |   7 +
 lib/cobalt/arch/arm/include/asm/xenomai/time.h   |   5 +
 lib/cobalt/arch/arm64/include/asm/xenomai/time.h |   5 +
 lib/cobalt/arch/x86/include/asm/xenomai/time.h   |   5 +
 lib/cobalt/cobalt-glibc-time64.wrappers          |  23 +++
 lib/cobalt/select.c                              |  15 ++
 lib/cobalt/wrappers-time64.c                     | 203 +++++++++++++++++++++++
 scripts/xeno-config-cobalt.in                    |   5 +
 testsuite/clocktest/clocktest.c                  |  11 +-
 testsuite/smokey/y2038/syscall-tests.c           |  46 +++++
 28 files changed, 669 insertions(+), 6 deletions(-)
---
base-commit: b6c84c13785ebb2c5493bdfe8fad50974eda442e
change-id: 20230809-florian-y2038-2-23303aa750cf

Best regards,
-- 
Florian Bezdeka <florian.bezdeka@siemens.com>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-08-15  9:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-11  7:37 [PATCH 0/7] y2038: Finalize and enable y2038 support Florian Bezdeka
2023-08-11  7:37 ` [PATCH 1/7] y2038: kernel/drivers: Implement SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW Florian Bezdeka
2023-08-11  7:37 ` [PATCH 2/7] y2038: lib/cobalt: Switch vdso to gettime64 Florian Bezdeka
2023-08-11  7:37 ` [PATCH 3/7] y2038: testsuite/clocktest: Fix reading of reference clock Florian Bezdeka
2023-08-11  7:37 ` [PATCH 4/7] y2038: build: Introduce new build parameter --disable-y2038 Florian Bezdeka
2023-08-11 15:06   ` Jan Kiszka
2023-08-15  9:09     ` Florian Bezdeka
2023-08-11  7:37 ` [PATCH 5/7] y2038: lib/cobalt: Add additional time64_t related function wrappers Florian Bezdeka
2023-08-11  7:37 ` [PATCH 6/7] y2038: Route explicitly requested stdlib calls to time64 equivalents Florian Bezdeka
2023-08-11 14:57   ` Jan Kiszka
2023-08-15  9:19     ` Florian Bezdeka
2023-08-11  7:37 ` [PATCH 7/7] y2038: lib/cobalt/select: Fix __RT(select()) routing Florian Bezdeka
2023-08-11 15:07   ` Jan Kiszka
2023-08-15  9:18     ` Florian Bezdeka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).