[LTP] memfd_create: move sys_memfd_create() to lapi/memfd.h

acervesato@ltp-agent acervesato@ltp-agent
Sat Apr 11 12:44:02 CEST 2026


Hi Ricardo,

our agent completed the review of the patch.

The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.

--- [PATCH 1/2] ---

On Sat, 11 Apr 2026 11:47:22 +0200, Ricardo Branco wrote:
> 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.

Regards,
LTP AI Reviewer


More information about the ltp mailing list