summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-06-08 15:49:57 +0200
committerJames Morris <james.l.morris@oracle.com>2017-06-09 05:29:49 +0200
commita77395447b0aeab9473a066ff28fbee01130206b (patch)
tree8d6bf1486c29b34503b57b1ba195e4d8e3a29730 /include
parentKEYS: DH: ensure the KDF counter is properly aligned (diff)
downloadlinux-a77395447b0aeab9473a066ff28fbee01130206b.tar.xz
linux-a77395447b0aeab9473a066ff28fbee01130206b.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/keyctl.h4
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 {
};
struct keyctl_kdf_params {
- char *hashname;
- char *otherinfo;
+ char __user *hashname;
+ char __user *otherinfo;
__u32 otherinfolen;
__u32 __spare[8];
};