diff options
author | Eric Biggers <ebiggers@google.com> | 2017-06-08 09:49:57 -0400 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-06-08 23:29:49 -0400 |
commit | a77395447b0aeab9473a066ff28fbee01130206b (patch) | |
tree | 8d6bf1486c29b34503b57b1ba195e4d8e3a29730 | |
parent | 0ddd9f1a6b7e5746b52959f645fc66859b805e88 (diff) |
KEYS: DH: add __user annotations to keyctl_kdf_params
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: James Morris <james.l.morris@oracle.com>
-rw-r--r-- | include/uapi/linux/keyctl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/keyctl.h b/include/uapi/linux/keyctl.h index 201c6644b237..ef16df06642a 100644 --- a/include/uapi/linux/keyctl.h +++ b/include/uapi/linux/keyctl.h | |||
@@ -70,8 +70,8 @@ struct keyctl_dh_params { | |||
70 | }; | 70 | }; |
71 | 71 | ||
72 | struct keyctl_kdf_params { | 72 | struct keyctl_kdf_params { |
73 | char *hashname; | 73 | char __user *hashname; |
74 | char *otherinfo; | 74 | char __user *otherinfo; |
75 | __u32 otherinfolen; | 75 | __u32 otherinfolen; |
76 | __u32 __spare[8]; | 76 | __u32 __spare[8]; |
77 | }; | 77 | }; |