From: aryabinin@virtuozzo•com (Andrey Ryabinin)
To: linux-arm-kernel@lists•infradead.org
Subject: [v2 PATCH] arm64: kasan: instrument user memory access API
Date: Mon, 30 May 2016 11:26:41 +0300 [thread overview]
Message-ID: <574BF941.7090906@virtuozzo.com> (raw)
In-Reply-To: <1464382863-11879-1-git-send-email-yang.shi@linaro.org>
On 05/28/2016 12:01 AM, Yang Shi wrote:
> The upstream commit 1771c6e1a567ea0ba2cccc0a4ffe68a1419fd8ef
> ("x86/kasan: instrument user memory access API") added KASAN instrument to
> x86 user memory access API, so added such instrument to ARM64 too.
>
> Define __copy_to/from_user in C in order to add kasan_check_read/write call,
> rename assembly implementation to __arch_copy_to/from_user.
>
> Tested by test_kasan module.
>
> Signed-off-by: Yang Shi <yang.shi@linaro•org>
>
Acked-by: Andrey Ryabinin <aryabinin@virtuozzo•com>
next prev parent reply other threads:[~2016-05-30 8:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 21:01 [v2 PATCH] arm64: kasan: instrument user memory access API Yang Shi
2016-05-30 8:26 ` Andrey Ryabinin [this message]
2016-06-06 16:37 ` Shi, Yang
2016-06-06 17:07 ` Mark Rutland
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=574BF941.7090906@virtuozzo.com \
--to=aryabinin@virtuozzo$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox