mbox series

[v2,0/2] linux-user: Introducing support for 'recvmmsg_time64()'

Message ID 20200825212005.35982-1-Filip.Bozuta@syrmia.com
Headers show
Series linux-user: Introducing support for 'recvmmsg_time64()' | expand

Message

Filip Bozuta Aug. 25, 2020, 9:20 p.m. UTC
This patch introduces functionality for 'recvmmsg_time64()' which
is a year 2038 safe variant of 'recvmmsg()'. This new time64 syscall
is introduced in series of two patches rather than in one patch
because a little modification was needed before the syscall could
be introduced properly.

The first patch in the series introduces a little fix in
the implementation of 'recvmmsg()' that introduces the timeout
argument which is of type 'struct timespec' for which the
separate time64 variant is added.

The second patch in the series introduces the implementation
of 'recvmmsg_time64()'.

Testing method:

    The implementation was tested using existing tests from
    the LTP test suite which was build inside a chroot.

Filip Bozuta (2):
  linux-user: Modify 'recvmmsg()' implementation
  linux-user: Add support for 'recvmmsg_time64()'

 linux-user/syscall.c | 56 +++++++++++++++++++++++++++++++++++++-------
 1 file changed, 48 insertions(+), 8 deletions(-)