mbox series

[v3,0/2] Introducing functionality for a group of 4 time64 syscalls

Message ID 20200824192116.65562-1-Filip.Bozuta@syrmia.com
Headers show
Series Introducing functionality for a group of 4 time64 syscalls | expand

Message

Filip Bozuta Aug. 24, 2020, 7:21 p.m. UTC
This two patch series introduces functionality for a group
of 4 2038 safe syscalls.

The list of implemented syscalls and implementation details
can be found in the patch commit messages.

Testing method:

    The implementation of the implemented syscalls was tested
    using already existing tests from LTP test suite which
    was built inside chroot.

*v2:
    -Added check for 'clock_nanosleep_time64()' which returns
     '-TARGET_EFAULT' if conversion of 'struct timespec64'
     between host and target

    -Removed unnecesary special errno handling for 'PPC'

*v3:
    -Removed unnecesary pointer to timex structure 'phtx'

Filip Bozuta (2):
  linux-user: Add support for 'clock_nanosleep_time64()' and
    'clock_adjtime64()'
  linux-user: Add support for 'rt_sigtimedwait_time64()' and
    'sched_rr_get_interval_time64()'

 linux-user/syscall.c      | 190 +++++++++++++++++++++++++++++++++++++-
 linux-user/syscall_defs.h |  31 +++++++
 2 files changed, 219 insertions(+), 2 deletions(-)