mbox series

[v6,0/3] Fix socket ancillary timestamp on 32 bit time_t ABIs

Message ID 20220128175043.161446-1-adhemerval.zanella@linaro.org
Headers show
Series Fix socket ancillary timestamp on 32 bit time_t ABIs | expand

Message

Adhemerval Zanella Jan. 28, 2022, 5:50 p.m. UTC
Adhemerval Zanella (3):
  support: Add support_socket_so_timestamp_time64
  linux: Fix ancillary 64-bit time timestamp conversion (BZ #28349,
    BZ#28350)
  Linux: Only generate 64 bit timestamps for 64 bit time_t
    recvmsg/recvmmsg

 include/sys/socket.h                          |  10 +-
 support/Makefile                              |   1 +
 support/support.h                             |   4 +
 support/support_socket_so_timestamp_time64.c  |  48 +++
 sysdeps/unix/sysv/linux/Makefile              |   9 +
 .../unix/sysv/linux/convert_scm_timestamps.c  |  14 +-
 sysdeps/unix/sysv/linux/recvmmsg.c            |  45 ++-
 sysdeps/unix/sysv/linux/recvmsg.c             |  34 +-
 .../tst-socket-timestamp-compat-time64.c      |   1 +
 .../sysv/linux/tst-socket-timestamp-compat.c  | 265 ++++++++++++++
 .../sysv/linux/tst-socket-timestamp-time64.c  |   1 +
 .../unix/sysv/linux/tst-socket-timestamp.c    | 336 ++++++++++++++++++
 12 files changed, 735 insertions(+), 33 deletions(-)
 create mode 100644 support/support_socket_so_timestamp_time64.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-socket-timestamp-compat-time64.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-socket-timestamp-time64.c
 create mode 100644 sysdeps/unix/sysv/linux/tst-socket-timestamp.c