mbox

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

Message ID 20220124122821.1265965-1-adhemerval.zanella@linaro.org
Headers

Message

Adhemerval Zanella Netto Jan. 24, 2022, 12:28 p.m. UTC
  v5: Remove socketcall from support_socket_so_timestamp_time64, fix
    typos, and minor issues.
v4: Rebase agasint master. 
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  |  48 +++
 sysdeps/unix/sysv/linux/Makefile              |   3 +
 .../unix/sysv/linux/convert_scm_timestamps.c  |  12 +-
 .../sysv/linux/tst-socket-timestamp-time64.c  |   1 +
 .../unix/sysv/linux/tst-socket-timestamp.c    | 340 ++++++++++++++++++
 7 files changed, 404 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