[LTP] [PATCH v3 0/3] provide a unified way to parse /proc/cmdline

Li Wang liwang@redhat.com
Sun Mar 17 10:38:58 CET 2024


v2 --> v3
	* add params.found feild
	* correct sentece errors
	* replace the fgetc() by fgets()

Li Wang (3):
  kconfig: add funtion to parse /proc/cmdline
  init_module: To handle kernel module signature enforcement
  stack_clash: make use of tst_kcmdline_parse

 include/tst_kconfig.h                         | 29 ++++++++
 lib/newlib_tests/test_kconfig03.c             | 40 +++++++++++
 lib/tst_kconfig.c                             | 66 +++++++++++++++++++
 testcases/cve/stack_clash.c                   | 14 ++--
 .../syscalls/delete_module/delete_module01.c  |  8 +++
 .../syscalls/delete_module/delete_module03.c  |  8 +++
 .../syscalls/finit_module/finit_module01.c    | 16 ++++-
 .../syscalls/finit_module/finit_module02.c    | 38 +++++++----
 .../syscalls/init_module/init_module01.c      | 14 ++++
 .../syscalls/init_module/init_module02.c      | 20 +++++-
 10 files changed, 229 insertions(+), 24 deletions(-)
 create mode 100644 lib/newlib_tests/test_kconfig03.c

-- 
2.40.1



More information about the ltp mailing list