974a9282b5bda74c221d0c998c949b1266e4efc5 |
|
29-Aug-2017 |
Guangwen Feng <fenggw-fnst@cn.fujitsu.com> |
syscalls/keyctl: Make use of lapi/keyctl.h 1.syscalls/keyctl02 and syscalls/keyctl03 make use of lapi/keyctl.h 2.syscalls/keyctl0* use keyutils.h fallback definition in lapi/keyctl.h instead of raw syscall, thus we would test the keyutils library if the header is present and these tests will not be disabled otherwise. Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/keyctl/keyctl03.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/keyctl/keyctl03.c
|
16f4d568c0b63e0caa01be8ad6f408b3573ef132 |
|
09-Mar-2017 |
Guangwen Feng <fenggw-fnst@cn.fujitsu.com> |
syscalls/keyctl03: Add new regression test Fixed by: commit f05819df10d7b09f6d1eb6f8534a8f68e5a4fe61 Author: David Howells <dhowells@redhat.com> Date: Thu Oct 15 17:21:37 2015 +0100 KEYS: Fix crash when attempt to garbage collect an uninstantiated keyring Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/keyctl/keyctl03.c
|