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

Wei Gao wegao@suse.com
Tue Jul 7 04:29:40 CEST 2026


v8->v9:
- Use a canary value for excluding SAFE_CHOWN/CHMOD from
being used

Wei Gao (2):
  lib: New library function tst_get_free_uid
  open16: allow restricted O_CREAT of FIFOs and regular files

 include/tst_uid.h                         |   7 +-
 lib/tst_uid.c                             |  26 +++++
 runtest/syscalls                          |   1 +
 testcases/kernel/syscalls/open/.gitignore |   1 +
 testcases/kernel/syscalls/open/open16.c   | 131 ++++++++++++++++++++++
 5 files changed, 164 insertions(+), 2 deletions(-)
 create mode 100644 testcases/kernel/syscalls/open/open16.c

-- 
2.54.0



More information about the ltp mailing list