[PATCH v6 00/13] Misc patches for improving y2038 calls

Alistair Francis alistair23 at gmail.com
Fri Mar 27 17:10:06 UTC 2020


On Fri, Mar 20, 2020 at 3:17 PM Alistair Francis
<alistair.francis at wdc.com> wrote:
>
> These are some misc patches for improving y2038 safe syscalls and
> preparing for RV32 support.
>
> Alistair Francis (13):
>   kernel_rusage.h: Add a internal rusage struct
>   tests/getrusage: Correctly use the long types from the rusage struct
>   tests/waitid: Correctly use the long types from the rusage struct
>   timespec32: Rename to old_timespec32
>   kernel_timespec.h: Add a kernel_old_timespec_t struct
>   print_timespec: Add support for printing the kernel old_timespec
>   print_timespec: Print the kernel_old_timespec for timestamps
>   tests/sockopt-timestamp: Use the old time_t struct for old timestamps
>   tests/msg_control: Use the old time_t struct for old timestamps
>   tests/wait4: Skip tests if __NR_wait4 syscall isn't defined
>   tests/semtimedop: Skip tests if __NR_semtimedop isn't defined
>   tests/xetitimer: Use syscalls instead of libc functions
>   linux/riscv: Split out generic RISC-V code

Ping!

>
>  Makefile.am                      |   2 +
>  aio.c                            |   4 +-
>  defs.h                           |  15 +++--
>  desc.c                           |   2 +-
>  futex.c                          |   2 +-
>  ipc_sem.c                        |   2 +-
>  kernel_rusage.h                  |  34 ++++++++++
>  kernel_timespec.h                |   7 +-
>  linux/riscv/arch_regs.c          |  11 ++++
>  linux/riscv/get_error.c          |  19 ++++++
>  linux/riscv/get_scno.c           |  14 ++++
>  linux/riscv/get_syscall_args.c   |  19 ++++++
>  linux/riscv/raw_syscall.h        |  29 +++++++++
>  linux/riscv/set_error.c          |  20 ++++++
>  linux/riscv/set_scno.c           |  15 +++++
>  linux/riscv64/arch_regs.c        |   5 +-
>  linux/riscv64/get_error.c        |  13 +---
>  linux/riscv64/get_scno.c         |   8 +--
>  linux/riscv64/get_syscall_args.c |  13 +---
>  linux/riscv64/raw_syscall.h      |  21 +-----
>  linux/riscv64/set_error.c        |  14 +---
>  linux/riscv64/set_scno.c         |   9 +--
>  mmsghdr.c                        |   2 +-
>  mq.c                             |   4 +-
>  poll.c                           |   4 +-
>  print_timespec.c                 |  10 +--
>  print_timespec32.c               |  12 ++--
>  print_timespec_old.c             |  19 ++++++
>  printrusage.c                    |  20 +-----
>  sched.c                          |   2 +-
>  signal.c                         |   2 +-
>  tests/getrusage.c                |   5 +-
>  tests/msg_control.c              |   9 ++-
>  tests/semtimedop.c               |   9 +++
>  tests/sockopt-timestamp.c        |   7 +-
>  tests/wait4.c                    |  35 ++++++----
>  tests/waitid.c                   | 108 ++++++-------------------------
>  tests/xetitimer.c                |  36 +++++++----
>  time.c                           |   8 +--
>  utimes.c                         |   2 +-
>  40 files changed, 320 insertions(+), 252 deletions(-)
>  create mode 100644 kernel_rusage.h
>  create mode 100644 linux/riscv/arch_regs.c
>  create mode 100644 linux/riscv/get_error.c
>  create mode 100644 linux/riscv/get_scno.c
>  create mode 100644 linux/riscv/get_syscall_args.c
>  create mode 100644 linux/riscv/raw_syscall.h
>  create mode 100644 linux/riscv/set_error.c
>  create mode 100644 linux/riscv/set_scno.c
>  create mode 100644 print_timespec_old.c
>
> --
> 2.25.1
>


More information about the Strace-devel mailing list