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

Wei Gao wegao@suse.com
Fri Oct 23 16:30:41 CEST 2026


On Fri, Oct 23, 2026 at 10:49:58AM +0000, Andrea Cervesato wrote:
> 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.
Thanks for point this , will update in next patch :)
> 
> Kind Regards,
> --
> Andrea Cervesato
> SUSE QE Automation Engineer Linux
> andrea.cervesato@suse.com


More information about the ltp mailing list