9cb40b24c5e2f4fc46f80363cdb561a4c9123d90 |
|
16-Oct-2017 |
Petr Vorel <pvorel@suse.cz> |
syscalls/request_key: Port to use lapi/keyctl.h header + minor whitespace cleanup Signed-off-by: Petr Vorel <pvorel@suse.cz>
/external/ltp/testcases/kernel/syscalls/request_key/request_key01.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/request_key/request_key01.c
|
00b4cdeed78d43e3f9dca769ef444f68cbb681c1 |
|
02-Nov-2016 |
Xiao Yang <yangx.jy@cn.fujitsu.com> |
syscalls/*: fix TERRNO 1) we should use TTERRNO instead of TERRNO after calling TEST() function 2) remove unnecessary TERRNO Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/request_key/request_key01.c
|
2a9c158efcb4ee6647986097b70b65cb4d9242d1 |
|
14-Apr-2016 |
Xiao Yang <yangx.jy@cn.fujitsu.com> |
request_key/request_key01.c: add new testcase The testcase checks basic functionality of the request_key(2). request_key(2) asks the kernel to find a key which matches the specified description. If successful, it attaches it to the nominated keyring and returns its serial number. Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/request_key/request_key01.c
|