[LTP] [PATCH v14 0/3] open16: allow restricted O_CREAT of FIFOs and regular files

Wei Gao wegao@suse.com
Fri Sep 18 09:52:20 CEST 2026


v13->v14:
   * Swapped informal "Level 1/2" descriptions for actual sysctl values 1 and 2.
   * Moved local sysctl macros to the global include/tst_path_defs.h header.
   * Use designated initializers.
   * Flat-nested the child process path by using SAFE_FORK() with an early parent return.
   * Replaced conditional branch logic with the unified TST_EXP_FD_OR_FAIL() macro.
   * Add 8 missing CVE tags associated with the kernel commit.

Wei Gao (3):
  lib/tst_uid: Remove spurious TERRNO from tst_get_free_gid success path
  lib: New library function tst_get_free_uid
  open16: allow restricted O_CREAT of FIFOs and regular files

 include/tst_path_defs.h                   |   2 +
 include/tst_uid.h                         |  14 +++
 lib/tst_uid.c                             |  30 ++++-
 runtest/syscalls                          |   1 +
 testcases/kernel/syscalls/open/.gitignore |   1 +
 testcases/kernel/syscalls/open/open16.c   | 143 ++++++++++++++++++++++
 6 files changed, 190 insertions(+), 1 deletion(-)
 create mode 100644 testcases/kernel/syscalls/open/open16.c

-- 
2.55.0



More information about the ltp mailing list