2 * SYSCALL_DEFINE5(add_key, const char __user *, _type,
3 const char __user *, _description,
4 const void __user *, _payload,
8 * On success add_key() returns the serial number of the key it created or updated.
9 * On error, the value -1 will be returned and errno will have been set to an appropriate error.
13 struct syscallentry syscall_add_key
= {
17 .arg1type
= ARG_ADDRESS
,
18 .arg2name
= "_description",
19 .arg2type
= ARG_ADDRESS
,
20 .arg3name
= "_payload",
21 .arg3type
= ARG_ADDRESS
,
25 .rettype
= RET_KEY_SERIAL_T
,