mbox series

[v3,0/2] Fix 64-bit time_t ancillary socket conversion

Message ID 20211213143643.1182659-1-adhemerval.zanella@linaro.org
Headers show
Series Fix 64-bit time_t ancillary socket conversion | expand

Message

Adhemerval Zanella Dec. 13, 2021, 2:36 p.m. UTC
---
v3: Move the assignment in the loop header to make the patch more
    readable.
v2: Fix some typos and use support_socket_time64_timestamp.

Adhemerval Zanella (2):
  support: Add support_socket_so_timestamp_time64
  linux: Fix ancillary 64-bit time timestamp conversion (BZ #28349, BZ
    #28350)

 support/Makefile                              |   1 +
 support/support.h                             |   4 +
 support/support_socket_so_timestamp_time64.c  |  56 +++
 sysdeps/unix/sysv/linux/Makefile              |   3 +
 .../unix/sysv/linux/convert_scm_timestamps.c  |   8 +-
 .../sysv/linux/tst-socket-timestamp-time64.c  |   1 +
 .../unix/sysv/linux/tst-socket-timestamp.c    | 338 ++++++++++++++++++
 7 files changed, 406 insertions(+), 5 deletions(-)
 create mode 100644 support/support_socket_so_timestamp_time64.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-socket-timestamp-time64.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-socket-timestamp.c