aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2017-06-08 14:49:57 +0100
committerJames Morris <[email protected]>2017-06-09 13:29:49 +1000
commita77395447b0aeab9473a066ff28fbee01130206b (patch)
tree8d6bf1486c29b34503b57b1ba195e4d8e3a29730
parent0ddd9f1a6b7e5746b52959f645fc66859b805e88 (diff)
KEYS: DH: add __user annotations to keyctl_kdf_params
Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: David Howells <[email protected]> Acked-by: Stephan Mueller <[email protected]> Signed-off-by: James Morris <[email protected]>
-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];
};