History log of /external/ltp/testcases/kernel/syscalls/memfd_create/memfd_create01.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ded8006f4a77d887b2a31232fb5cd91ccc40450c 07-Jun-2017 Jakub Racek <jracek@redhat.com> syscalls/memfd_create: test memfd flags separately

Signed-off-by: Jakub Racek <jracek@redhat.com>
/external/ltp/testcases/kernel/syscalls/memfd_create/memfd_create01.c
a5bf5254ca94e0164af76d409224ea0764632d22 14-Mar-2017 Cyril Hrubis <chrubis@suse.cz> tst_test.c: set the test id automatically

Use the argv[0] to set the tst_test->tid automatically since we fail to
update it commonly and we end up with wrong tid due to copy&paste.

Now it's initialized in the test setup based on argv[0]. If argv[0] is a
path we take last element in it.

This patch is based on v1 by Li Wang but I've omitted moving the
parse_opts() up in the setup() since the setup() function expects
that tst_test sturcture is non-NULL and may segfault if that is not
true.

Signed-off-by: Li Wang <liwang@redhat.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Acked-by: Petr Vorel <pvorel@suse.cz>
/external/ltp/testcases/kernel/syscalls/memfd_create/memfd_create01.c
869494a38dd6ca0dfe56cfca912a15ec3f6d164f 23-Mar-2017 Jakub Racek <jracek@redhat.com> syscalls: added memfd_create dir and memfd_create/memfd_create01.c

Signed-off-by: Jakub Racek <jracek@redhat.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/memfd_create/memfd_create01.c