Mark Wielaard
3d6a8157d5
Add 32bit time64 syscalls for arm, mips32, ppc32 and x86.
...
This patch adds sycall wrappers for the following syscalls which
use a 64bit time_t on 32bit arches: gettime64, settime64,
clock_getres_time64, clock_nanosleep_time64, timer_gettime64,
timer_settime64, timerfd_gettime64, timerfd_settime64,
utimensat_time64, pselect6_time64, ppoll_time64, recvmmsg_time64,
mq_timedsend_time64, mq_timedreceive_time64, semtimedop_time64,
rt_sigtimedwait_time64, futex_time64 and sched_rr_get_interval_time64.
Still missing are clock_adjtime64 and io_pgetevents_time64.
For the more complicated syscalls futex[_time64], pselect6[_time64]
and ppoll[_time64] there are shared pre and/or post helper functions.
Other functions just have their own PRE and POST handler.
Note that the vki_timespec64 struct really is the struct as used by
by glibc (it internally translates a 32bit timespec struct to a 64bit
timespec64 struct before passing it to any of the time64 syscalls).
The kernel uses a 64-bit signed int, but is ignoring the upper 32 bits
of the tv_nsec field. It does always write the full struct though.
So avoid checking the padding is only needed for PRE_MEM_READ.
There are two helper pre_read_timespec64 and pre_read_itimerspec64
to check the new structs.
https://bugs.kde.org/show_bug.cgi?id=416753
2020-03-04 14:46:59 +01:00
..
2013-07-03 10:00:19 +00:00
2019-12-31 09:44:42 +00:00
2019-09-03 12:10:23 +00:00
2020-03-03 20:02:33 +01:00
2019-05-26 20:07:51 +02:00
2019-11-14 12:33:36 +00:00
2020-01-23 10:53:36 +01:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2020-01-23 10:53:36 +01:00
2020-02-21 17:22:26 -06:00
2020-03-04 14:46:59 +01:00
2019-05-26 20:07:51 +02:00
2017-10-01 19:45:10 -04:00
2019-05-26 20:07:51 +02:00
2019-09-03 12:10:23 +00:00
2017-05-16 08:22:51 +00:00
2017-05-05 22:13:20 +00:00
2017-05-05 22:13:20 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2020-01-23 10:53:36 +01:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2019-08-31 14:41:10 +02:00
2019-05-26 20:07:51 +02:00
2020-01-23 10:53:36 +01:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2019-09-03 12:10:23 +00:00
2019-08-31 14:41:10 +02:00
2019-12-31 09:44:42 +00:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2020-02-28 15:34:22 +01:00
2020-01-02 06:42:21 +01:00
2019-05-26 20:07:51 +02:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-11-27 12:06:10 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-12-31 09:44:42 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-09-03 12:10:23 +00:00
2019-12-31 09:44:42 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2020-01-14 17:24:29 +00:00
2020-01-02 06:42:21 +01:00
2019-09-03 12:10:23 +00:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2020-01-23 10:53:36 +01:00
2019-10-29 09:48:16 +11:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-08-31 14:41:10 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-08-31 14:41:10 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-09-03 12:10:23 +00:00
2019-09-03 12:10:23 +00:00
2019-08-31 14:41:10 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-12-31 09:44:42 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2019-11-14 12:33:36 +00:00
2019-09-03 12:10:23 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2020-02-08 13:01:24 +01:00
2020-02-08 13:01:24 +01:00
2019-05-26 20:07:51 +02:00
2020-02-08 13:01:24 +01:00
2020-02-08 13:01:24 +01:00