[LTP] [PATCH v4 5/6] syscalls: added memfd_create dir and memfd_create/memfd_create01.c

Cyril Hrubis chrubis@suse.cz
Tue Mar 21 16:27:11 CET 2017


Hi!
>  .../syscalls/memfd_create/memfd_create_common.h    | 457 +++++++++++++++++++++

Just a short question before further review, do you intend to write more
testcases that will use this header?

Since as it is the memfd_create02 needs only the memfd_new function and
the ASSERT that memfd_create() is implemented in kernel and including
that header in memfd_create02.c yields a few "unused function" warnings.
There are a couple of ways how to fix that but the easies solution would
be moving these functions into the memfd_create01.c in a case that
these are not needed for further testcases.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list