[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [PATCH 0/3] Add support for y2038 safe syscalls
From:       Alistair Francis <alistair.francis () wdc ! com>
Date:       2019-08-28 21:13:12
Message-ID: 20190828211315.19423-1-alistair.francis () wdc ! com
[Download RAW message or body]

Busybox currently manually calls the clock_gettime syscall in some
cases. This causes breakages on y2038 safe 32-bit architectures such as
32-bit RISC-V. To fix this breakage let's add some #ifdefs around the
syscalls to call the __NR_clock_gettime64 if we don't have
__NR_clock_gettime defined and time_t is 64-bits.

Alistair Francis (3):
  date: Use 64 prefix syscall if we have to
  time: Use 64 prefix syscall if we have to
  runsv: Use 64 prefix syscall if we have to

 coreutils/date.c | 11 +++++++++--
 libbb/time.c     |  7 +++++++
 runit/runsv.c    |  7 +++++++
 3 files changed, 23 insertions(+), 2 deletions(-)

-- 
2.22.0

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic