All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/3] testcases/kernel/syscalls: Adding new testcases for existing tests
@ 2020-08-04 14:40 Filip Bozuta
  2020-08-04 14:40 ` [LTP] [PATCH 1/3] syscalls/mq_timed{send|receive}: Add test cases for bad address Filip Bozuta
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Filip Bozuta @ 2020-08-04 14:40 UTC (permalink / raw)
  To: ltp

This series introduces new test cases for existing tests for syscalls

    * mq_timedsend()        * sendmmsg()
    * mq_timedreceive()     * recvmmsg()
    * clock_nanosleep()

* First patch in the series introduces bad address test cases for
  'mq_timedsend()' and 'mq_timedreceive()'

* Second patch in the series introduces bad timespec address cases
  for 'clock_nanosleep()'

* Third patch in the series introduces a timeout case and an errno
  test for 'sendmmsg()' and 'recvmmsg()'

More detailed descriptions of these newly added test cases and the
implementation details can be found in this series patch commit
messages.

These new test cases are part of my work of implementation for 2038
safe variants of the above mentioned syscalls in QEMU:

    * mq_timedsend_time64()
    * mq_timedreceive_time64()
    * clock_nanosleep_time64()
    * recvmmsg_time64()

These test cases are needed to make sure that QEMU implementations of
the above mentioned time64 syscalls work properly.

These test cases are also used to fix some minor issues with already
existing implementations of regular variants of these syscalls.

Filip Bozuta (3):
  syscalls/mq_timed{send|receive}: Add test cases for bad address
  syscalls/clock_nanosleep: add a test case for bad timespec address
  syscalls/{send|recv}mmsg: add a test case for timeout and errno test

 runtest/syscalls                              |   1 +
 .../clock_nanosleep/clock_nanosleep01.c       |  27 ++-
 .../mq_timedreceive/mq_timedreceive01.c       |  12 +-
 .../syscalls/mq_timedsend/mq_timedsend01.c    |  23 +-
 testcases/kernel/syscalls/sendmmsg/.gitignore |   1 +
 .../kernel/syscalls/sendmmsg/sendmmsg01.c     |  69 ++++--
 .../kernel/syscalls/sendmmsg/sendmmsg02.c     | 223 ++++++++++++++++++
 testcases/kernel/syscalls/utils/mq_timed.h    |   2 +
 8 files changed, 338 insertions(+), 20 deletions(-)
 create mode 100644 testcases/kernel/syscalls/sendmmsg/sendmmsg02.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-08-05 15:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-04 14:40 [LTP] [PATCH 0/3] testcases/kernel/syscalls: Adding new testcases for existing tests Filip Bozuta
2020-08-04 14:40 ` [LTP] [PATCH 1/3] syscalls/mq_timed{send|receive}: Add test cases for bad address Filip Bozuta
2020-08-05 15:22   ` Cyril Hrubis
2020-08-04 14:40 ` [LTP] [PATCH 2/3] syscalls/clock_nanosleep: add a test case for bad timespec address Filip Bozuta
2020-08-04 14:40 ` [LTP] [PATCH 3/3] syscalls/{send|recv}mmsg: add a test case for timeout and errno test Filip Bozuta
2020-08-05 15:20 ` [LTP] [PATCH 0/3] testcases/kernel/syscalls: Adding new testcases for existing tests Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.