]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
KEYS: DH: add __user annotations to keyctl_kdf_params
authorEric Biggers <ebiggers@google.com>
Thu, 8 Jun 2017 13:49:57 +0000 (14:49 +0100)
committerJames Morris <james.l.morris@oracle.com>
Fri, 9 Jun 2017 03:29:49 +0000 (13:29 +1000)
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>
include/uapi/linux/keyctl.h

index 201c6644b2376846f3fccf16bc64d99a5aabdfd4..ef16df06642a93462e1bd5d535ec3119af3adc22 100644 (file)
@@ -70,8 +70,8 @@ struct keyctl_dh_params {
 };
 
 struct keyctl_kdf_params {
-       char *hashname;
-       char *otherinfo;
+       char __user *hashname;
+       char __user *otherinfo;
        __u32 otherinfolen;
        __u32 __spare[8];
 };