Skip to content

listns() testing suite

Andrea Cervesato ltp 2 versions In review

Get series with b4
b4 am [email protected] change-id 20260312-listns-3f85a0d77cca

Versions newest first

  1. v2 Latest5 patches 9 repliesIn review
  2. v15 patches 1 replySuperseded

Changes in v2 from the cover letter

- link tests to runtest file
- listns02: don't reap children before exit the test
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Update architectures syscalls identifiersinclude/lapi/syscalls/arc.in include/lapi/syscalls/arm.in include/lapi/syscalls/arm64.in +14 more+61 -942 replies
2/5Add listns fallback headerinclude/lapi/listns.h+36 -04 replies
3/5Add NS_GET_ID fallbackinclude/lapi/ioctl_ns.h+3 -01 reply
4/5syscalls: add listns01 test for EFAULT on invalid addressruntest/syscalls testcases/kernel/syscalls/listns/.gitignore testcases/kernel/syscalls/listns/Makefile +1 more+66 -01 reply
5/5syscalls: add listns02 functionality testruntest/syscalls testcases/kernel/syscalls/listns/.gitignore testcases/kernel/syscalls/listns/listns02.c+111 -01 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchCyril Hrubis
1/5
2/5
3/5R-b
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [LTP] [PATCH v2 0/5] listns() testing suite

This testing suite is focusing on basic listns() syscall functionalities, since most of the complex scenarios are already covered inside the kselftests at tools/testing/selftests/namespaces/.

This is the first testing suite where we started to use AI agents and claude configuration at https://github.com/acerv/agents-config

---
Changes in v2:
- link tests to runtest file
- listns02: don't reap children before exit the test
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Andrea Cervesato (5):
Update architectures syscalls identifiers
Add listns fallback header
Add NS_GET_ID fallback
syscalls: add listns01 test for EFAULT on invalid address
syscalls: add listns02 functionality test

 include/lapi/ioctl_ns.h                     |   3 +
 include/lapi/listns.h                       |  36 +++++++++
 include/lapi/syscalls/arc.in                |   2 +
 include/lapi/syscalls/arm.in                |   3 +-
 include/lapi/syscalls/arm64.in              |   2 +
 include/lapi/syscalls/i386.in               |   3 +-
 include/lapi/syscalls/loongarch64.in        |   3 +
 include/lapi/syscalls/mips64.in             |   4 +-
 include/lapi/syscalls/mips64n32.in          |   4 +-
 include/lapi/syscalls/mipso32.in            |   4 +-
 include/lapi/syscalls/parisc.in             |   3 +-
 include/lapi/syscalls/powerpc.in            |   3 +-
 include/lapi/syscalls/powerpc64.in          |   3 +-
 include/lapi/syscalls/s390.in               | 102 +++++++-------------------
 include/lapi/syscalls/s390x.in              |   4 +-
 include/lapi/syscalls/sh.in                 |   3 +-
 include/lapi/syscalls/sparc.in              |   4 +-
 include/lapi/syscalls/sparc64.in            |   4 +-
 include/lapi/syscalls/x86_64.in             |   4 +-
 runtest/syscalls                            |   3 +
 testcases/kernel/syscalls/listns/.gitignore |   2 +
 testcases/kernel/syscalls/listns/Makefile   |   7 ++
 testcases/kernel/syscalls/listns/listns01.c |  56 ++++++++++++++
 testcases/kernel/syscalls/listns/listns02.c | 109 ++++++++++++++++++++++++++++
 24 files changed, 277 insertions(+), 94 deletions(-)

---
base-commit: 712e6e47e9744a1cf60074bf90e45ef402cce90f
change-id: 20260312-listns-3f85a0d77cca

Best regards,

Signature · 5 lines
Andrea Cervesato <[email protected]>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp