From patchwork Thu Apr 20 05:46:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 9689485 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B31BE6038D for ; Thu, 20 Apr 2017 05:49:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A63F028437 for ; Thu, 20 Apr 2017 05:49:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 97B0928447; Thu, 20 Apr 2017 05:49:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B98728447 for ; Thu, 20 Apr 2017 05:49:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941616AbdDTFs4 (ORCPT ); Thu, 20 Apr 2017 01:48:56 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:33485 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763296AbdDTFse (ORCPT ); Thu, 20 Apr 2017 01:48:34 -0400 Received: by mail-oi0-f67.google.com with SMTP id a189so5946028oib.0; Wed, 19 Apr 2017 22:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=q8lu3qYWO+preXa5p3M/TXYb9QDlQGRppaEm8ALCTYQ=; b=ECC0F12A1PGY+mRhXDPlAEairNkgr+CLz7PARsqpDngl/3/fTfcR34KqrK5Z3mxKKk Zj4054GvFE5pLfSg3odQIlmbq8y5ZNSXAcDdTUKnSZRK2r/q34frT0WyNDqfxq4A1TE6 XdeXig96pWjE+UZmTIWKpPVodT5vWUeWY5FHJlAwUrPb3OxcmXJMk5y/6RgJs+2uuagK qg6xOYV2UeEFFtyJFNKocljz4rNVLM0SqFHk9FwFlFTZJEWttpBdu+aQgkzhM2yF+SY0 6IgriFww7d5oEwd48n3nJAW2oV6k+WcU5zdqCN4nfAw4eTbQy35D5wBNuJVeUu7TREfD Assg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=q8lu3qYWO+preXa5p3M/TXYb9QDlQGRppaEm8ALCTYQ=; b=C40ygtIQC+JqlVdRcqA4FHT9oHPP0PplzVsr7DdwAZ9xGxl39XUSBFUrsBMo827sxw V+IIC6qXDa0+00pn5j5mkNd0EBSSMDgyJwD3dGuLHsxgX3HnMbzZ4X2RudtuSp5t/a2m HvgCWET0Ovyrt2hIkYsl3iLg21bUM8hhAsgQoRsIBktPSjQ5Y+csqJJt0I4oTlY6q5qm Vle4i7inEiciGFtSK/qqZ4s07+MAVlU1tYyBcedK+5npdVbFD4Wh74bB3i6q0+mEB35r QfxR4F1D6NdW3mh+Wrm7uDs+IMvw+7yim+uQgPMhH4kKJC/QIM841bJrvn1czRDWVyQv YTtw== X-Gm-Message-State: AN3rC/6LgJpv5Hxii82eV4RSJyVW1FTTWNv9kz5+4N918GlOS/UFM+fM FrJCvgehgeWbwQ== X-Received: by 10.84.136.70 with SMTP id 64mr8343443plk.82.1492667303652; Wed, 19 Apr 2017 22:48:23 -0700 (PDT) Received: from localhost.localdomain (c-73-239-167-150.hsd1.wa.comcast.net. [73.239.167.150]) by smtp.gmail.com with ESMTPSA id d83sm7686230pfe.40.2017.04.19.22.48.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Apr 2017 22:48:23 -0700 (PDT) From: Eric Biggers To: keyrings@vger.kernel.org Cc: linux-crypto@vger.kernel.org, Stephan Mueller , David Howells , Herbert Xu , mathew.j.martineau@linux.intel.com, Eric Biggers Subject: [PATCH 5/5] KEYS: DH: add __user annotations to keyctl_kdf_params Date: Wed, 19 Apr 2017 22:46:33 -0700 Message-Id: <20170420054633.14572-6-ebiggers3@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170420054633.14572-1-ebiggers3@gmail.com> References: <20170420054633.14572-1-ebiggers3@gmail.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Eric Biggers Signed-off-by: Eric Biggers --- include/uapi/linux/keyctl.h | 4 ++-- 1 file 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]; };