mbox series

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

Message ID 20200727112307.343608-1-Filip.Bozuta@syrmia.com (mailing list archive)
Headers show
Series Introducing functionality for a group of 4 time64 syscalls | expand

Message

Filip Bozuta July 27, 2020, 11:23 a.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 fails

    -Removed unnecesary special errno handling for 'PPC'

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

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