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

Andrea Cervesato andrea.cervesato@suse.com
Fri Oct 23 12:49:58 CEST 2026


Hi Wei,

> diff --git a/include/tst_path_defs.h b/include/tst_path_defs.h
> index 1a60028d3..2995150be 100644
> --- a/include/tst_path_defs.h
> +++ b/include/tst_path_defs.h
> @@ -47,6 +47,8 @@
>  #define PATH_FS_PIPE_MAX_PAGES			"/proc/sys/fs/pipe-max-pages"
>  #define PATH_FS_MAX_USER_GROUPS			"/proc/sys/fs/fanotify/max_user_groups"
>  #define PATH_FS_MAX_USER_MARKS			"/proc/sys/fs/fanotify/max_user_marks"
> +#define PATH_FS_PROTECTED_REGULAR		"/proc/sys/fs/protected_regular"
> +#define PATH_FS_PROTECTED_FIFOS			"/proc/sys/fs/protected_fifos"

I just figured out that these were added in the same commit that is
modifying open16. They should be inside an another commit.

Kind Regards,
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list