All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 00/13] runtest generator prototype for runtest/cve
@ 2026-06-24  9:18 Cyril Hrubis
  2026-06-24  9:18 ` [LTP] [PATCH 01/13] tst_test: Add may_kmemleak flag and annotate tests Cyril Hrubis
                   ` (12 more replies)
  0 siblings, 13 replies; 38+ messages in thread
From: Cyril Hrubis @ 2026-06-24  9:18 UTC (permalink / raw)
  To: ltp

This patchset is mostly preparation for the runtest file generator. We
add two more fields to the tst_test structure. Rewrite tests to new
libraries etc. But it also fixes bugs in the build system. These
patches should go in regardless of the last patch that introduces the
runtest file generator.

Once the runtest generator is merged we can easily add more. e.g.
syscalls-ipc. However the main point of these changes is to have the
complete information on how to filter and run tests in the metadata so
that we can add advanced filtering and features to the kirk test runner.
Or eventually that people can generate their own runtest files on demand
based on the JSON metadata with their own scripts and rules.

Cyril Hrubis (13):
  tst_test: Add may_kmemleak flag and annotate tests
  keyctl01.sh: Rewrite to the new shell library
  keyctl01.sh: Remove the keyctl subcommand check
  tst_run_shell: Add support for groups in the env JSON
  vma05.sh, keyctl01.sh: Add groups
  mem/ksm05: Add proper runtime support
  mem/thp01: Add proper runtime support
  lib: tst_test: Move the iterations to struct tst_test
  syscalls/setsockopt08: Add .iterations = 100
  testcases: Fix the CVE tags
  build: rules.mk: Fix HOST_MAKE_TARGET rule
  mem: vma03: Rewrite to the new test library
  metadata: Add runtest file generator

 include/mk/rules.mk                           |   4 +-
 include/tst_test.h                            |  10 +-
 lib/tst_test.c                                |   8 +-
 metadata/.gitignore                           |   1 +
 metadata/Makefile                             |  10 +-
 metadata/genruntest.c                         | 292 ++++++++++++++++++
 metadata/metaparse.c                          |   1 +
 runtest/.gitignore                            |   1 +
 runtest/cve                                   | 100 ------
 runtest/mm                                    |   4 +-
 testcases/commands/keyctl/keyctl01.sh         |  89 ++----
 testcases/cve/cve-2022-4378.c                 |   1 +
 testcases/cve/cve-2025-21756.c                |   1 +
 testcases/cve/cve-2025-38236.c                |   1 +
 testcases/kernel/containers/userns/userns08.c |   2 +-
 testcases/kernel/crypto/af_alg08.c            |   1 +
 testcases/kernel/mem/ksm/ksm05.c              |  27 +-
 testcases/kernel/mem/thp/thp01.c              |  11 +-
 testcases/kernel/mem/vma/vma03.c              | 189 +++++-------
 testcases/kernel/mem/vma/vma05.sh             |   3 +
 testcases/kernel/pty/pty04.c                  |   2 +-
 .../kernel/security/dirtypipe/dirtypipe.c     |   2 +-
 testcases/kernel/syscalls/bpf/bpf_prog05.c    |   2 +-
 testcases/kernel/syscalls/bpf/bpf_prog06.c    |   2 +-
 testcases/kernel/syscalls/bpf/bpf_prog07.c    |   2 +-
 .../kernel/syscalls/fsconfig/fsconfig03.c     |   1 +
 .../gethostbyname_r/gethostbyname_r01.c       |   2 +-
 .../kernel/syscalls/io_uring/io_uring04.c     |   1 +
 testcases/kernel/syscalls/kill/kill13.c       |   2 +-
 .../perf_event_open/perf_event_open03.c       |   1 +
 .../syscalls/set_mempolicy/set_mempolicy05.c  |   2 +-
 .../kernel/syscalls/setsockopt/setsockopt03.c |   2 +-
 .../kernel/syscalls/setsockopt/setsockopt08.c |   1 +
 testcases/lib/tst_run_shell.c                 |  18 +-
 testcases/network/sockets/vsock01.c           |   2 +-
 testcases/network/sockets/xfrm01.c            |   1 +
 testcases/network/sockets/xfrm02.c            |   1 +
 testcases/network/sockets/xfrm03.c            |   1 +
 38 files changed, 490 insertions(+), 311 deletions(-)
 create mode 100644 metadata/genruntest.c
 create mode 100644 runtest/.gitignore
 delete mode 100644 runtest/cve
 mode change 100644 => 100755 testcases/commands/keyctl/keyctl01.sh

-- 
2.53.0


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

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

end of thread, other threads:[~2026-06-24 13:27 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24  9:18 [LTP] [PATCH 00/13] runtest generator prototype for runtest/cve Cyril Hrubis
2026-06-24  9:18 ` [LTP] [PATCH 01/13] tst_test: Add may_kmemleak flag and annotate tests Cyril Hrubis
2026-06-24 10:38   ` Andrea Cervesato via ltp
2026-06-24 10:41     ` Cyril Hrubis
2026-06-24  9:18 ` [LTP] [PATCH 02/13] keyctl01.sh: Rewrite to the new shell library Cyril Hrubis
2026-06-24  9:59   ` Andrea Cervesato via ltp
2026-06-24 10:57   ` [LTP] tst_test: Add may_kmemleak flag and annotate tests linuxtestproject.agent
2026-06-24 11:08     ` Cyril Hrubis
2026-06-24  9:18 ` [LTP] [PATCH 03/13] keyctl01.sh: Remove the keyctl subcommand check Cyril Hrubis
2026-06-24 10:38   ` Andrea Cervesato via ltp
2026-06-24  9:18 ` [LTP] [PATCH 04/13] tst_run_shell: Add support for groups in the env JSON Cyril Hrubis
2026-06-24  9:18 ` [LTP] [PATCH 05/13] vma05.sh, keyctl01.sh: Add groups Cyril Hrubis
2026-06-24 10:42   ` Andrea Cervesato via ltp
2026-06-24 10:50     ` Cyril Hrubis
2026-06-24 11:10       ` Cyril Hrubis
2026-06-24 11:14       ` Andrea Cervesato via ltp
2026-06-24 12:28         ` Cyril Hrubis
2026-06-24 12:37           ` Andrea Cervesato via ltp
2026-06-24 13:21             ` Cyril Hrubis
2026-06-24 13:25               ` Andrea Cervesato via ltp
2026-06-24  9:18 ` [LTP] [PATCH 06/13] mem/ksm05: Add proper runtime support Cyril Hrubis
2026-06-24 12:04   ` Andrea Cervesato via ltp
2026-06-24 12:17     ` Cyril Hrubis
2026-06-24 12:20       ` Andrea Cervesato via ltp
2026-06-24  9:18 ` [LTP] [PATCH 07/13] mem/thp01: " Cyril Hrubis
2026-06-24  9:18 ` [LTP] [PATCH 08/13] lib: tst_test: Move the iterations to struct tst_test Cyril Hrubis
2026-06-24 12:05   ` Andrea Cervesato via ltp
2026-06-24  9:18 ` [LTP] [PATCH 09/13] syscalls/setsockopt08: Add .iterations = 100 Cyril Hrubis
2026-06-24  9:18 ` [LTP] [PATCH 10/13] testcases: Fix the CVE tags Cyril Hrubis
2026-06-24 12:05   ` Andrea Cervesato via ltp
2026-06-24  9:18 ` [LTP] [PATCH 11/13] build: rules.mk: Fix HOST_MAKE_TARGET rule Cyril Hrubis
2026-06-24 12:05   ` Andrea Cervesato via ltp
2026-06-24  9:18 ` [LTP] [PATCH 12/13] mem: vma03: Rewrite to the new test library Cyril Hrubis
2026-06-24  9:19 ` [LTP] [PATCH 13/13] metadata: Add runtest file generator Cyril Hrubis
2026-06-24 12:14   ` Andrea Cervesato via ltp
2026-06-24 12:25     ` Cyril Hrubis
2026-06-24 13:22   ` Andrea Cervesato via ltp
2026-06-24 13:27     ` 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.