From: Eric Biggers Date: Thu, 8 Jun 2017 13:49:57 +0000 (+0100) Subject: KEYS: DH: add __user annotations to keyctl_kdf_params X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a77395447b0aeab9473a066ff28fbee01130206b;p=openwrt%2Fstaging%2Fblogic.git KEYS: DH: add __user annotations to keyctl_kdf_params Signed-off-by: Eric Biggers Signed-off-by: David Howells Acked-by: Stephan Mueller Signed-off-by: James Morris --- 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]; };