[LTP] memfd_create: move sys_memfd_create() to lapi/memfd.h
Cyril Hrubis
chrubis@suse.cz
Tue May 5 14:24:19 CEST 2026
Hi!
> > memfd_create: move sys_memfd_create() to lapi/memfd.h
> >
> > Add the static inline wrapper to include/lapi/memfd.h and include the
> > required headers so other tests can reuse it.
> >
> > Also fix some minor issues detected by make check.
>
> The commit bundles two logical changes: the main refactoring (moving
> sys_memfd_create() to lapi/memfd.h) and unrelated minor fixes (blank
> line in memfd_create01.c, trailing semicolon in CHECK_MFD_HAS_SEALS).
> Please split them into separate commits.
In this case it's a single semicolon removal, so I would let it as it
is.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list