[LTP] [PATCH] syscalls/add_key02: add the "big_key" key type

Yang Xu xuyang2018.jy@cn.fujitsu.com
Fri Jan 17 08:04:50 CET 2020


This key type is introduced in kernel:
commit ab3c3587f8cd ("KEYS: Implement a big key type that can save to tmpfs")

Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
---
 testcases/kernel/syscalls/add_key/add_key02.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/syscalls/add_key/add_key02.c b/testcases/kernel/syscalls/add_key/add_key02.c
index 159234f67..98dd5b905 100644
--- a/testcases/kernel/syscalls/add_key/add_key02.c
+++ b/testcases/kernel/syscalls/add_key/add_key02.c
@@ -40,6 +40,7 @@ struct tcase {
 	{ "rxrpc_s",		 8 },
 	{ "user",		64 },
 	{ "logon",              64 },
+	{ "big_key",            64 },
 };
 
 static void verify_add_key(unsigned int i)
-- 
2.18.0





More information about the ltp mailing list