From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: fix missing __user in compat_vfp_{get,set}()
Date: Thu, 29 Jun 2017 11:04:19 +0100 [thread overview]
Message-ID: <20170629100418.GC14607@arm.com> (raw)
In-Reply-To: <20170628145816.24807-1-luc.vanoostenryck@gmail.com>
On Wed, Jun 28, 2017 at 04:58:16PM +0200, Luc Van Oostenryck wrote:
> compat_vfp_get() & compat_vfp_set() are two helpers reading
> or writting some values via {get,put}_user() which need a
> pointer annotated with '__user'.
> The buffers used by the two helpers are correctly '__user'
> annotated but need to be casted to a real type before being
> given to {get,put}_user().
>
> The problem is that this cast lack a '__user' annotation.
>
> Fix this by adding the missing '__user'.
>
> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
> ---
> arch/arm64/kernel/ptrace.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
This doesn't apply against the arm64 for-next/core branch, due to
changes from Dave reworking this to use user_regset_copyout.
Will
next prev parent reply other threads:[~2017-06-29 10:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-28 14:58 [PATCH] arm64: fix missing __user in compat_vfp_{get,set}() Luc Van Oostenryck
2017-06-28 15:22 ` Dave Martin
2017-06-28 16:24 ` Luc Van Oostenryck
2017-06-29 10:04 ` Will Deacon [this message]
2017-06-29 14:24 ` [PATCH v2] arm64: fix missing __user in compat_vfp_set() Luc Van Oostenryck
2017-06-29 14:34 ` Dave Martin
2017-06-29 16:23 ` Luc Van Oostenryck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170629100418.GC14607@arm.com \
--to=will.deacon@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.