Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1224722

Re: [PATCH V3] kasan: use IS_ALIGNED in memory_is_poisoned_8()

From Andrey Ryabinin <ryabinin.a.a@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH V3] kasan: use IS_ALIGNED in memory_is_poisoned_8()
Date 2015-09-15 09:40 +0200
Message-ID <q8T0n-6AI-35@gated-at.bofh.it> (permalink)
References <q8rx8-UX-3@gated-at.bofh.it> <q8DHY-1xe-25@gated-at.bofh.it> <q8NR0-7HD-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 09/15/2015 05:02 AM, Xishi Qiu wrote:
> Use IS_ALIGNED() to determine whether the shadow span two bytes. It
> generates less code and more readable. Also add some comments in shadow
> check functions.
> 
> Please apply "kasan: fix last shadow judgement in memory_is_poisoned_16()"
> first.
> 
> Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>

Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH V2] kasan: use IS_ALIGNED in memory_is_poisoned_8() Xishi Qiu <qiuxishi@huawei.com> - 2015-09-14 04:20 +0200
  Re: [PATCH V2] kasan: use IS_ALIGNED in memory_is_poisoned_8() Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2015-09-14 17:20 +0200
    [PATCH V3] kasan: use IS_ALIGNED in memory_is_poisoned_8() Xishi Qiu <qiuxishi@huawei.com> - 2015-09-15 04:10 +0200
      Re: [PATCH V3] kasan: use IS_ALIGNED in memory_is_poisoned_8() Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2015-09-15 09:40 +0200

csiph-web