Skip to content

provide a unified way to parse /proc/cmdline

Li Wang ltp 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesIn review
  2. v23 patches 1 replySuperseded
  3. v13 patches 6 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kconfig: add funtion to parse /proc/cmdlineinclude/tst_kconfig.h lib/newlib_tests/test_kconfig03.c lib/tst_kconfig.c+135 -02 replies
2/3init_module: To handle kernel module signature enforcementtestcases/kernel/syscalls/delete_module/delete_module01.c testcases/kernel/syscalls/delete_module/delete_module03.c testcases/kernel/syscalls/finit_module/finit_module01.c +3 more+89 -150 replies
3/3stack_clash: make use of tst_kcmdline_parsetestcases/cve/stack_clash.c+5 -90 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPetr Vorel
1/3R-b
2/3R-b T-b
3/3R-b

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

Read the v3 thread

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

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
Signature · 5 lines
2.40.1


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