[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190626142014.141844-1-elver@google.com>
Date: Wed, 26 Jun 2019 16:20:09 +0200
From: Marco Elver <elver@...gle.com>
To: elver@...gle.com
Cc: linux-kernel@...r.kernel.org,
Andrey Ryabinin <aryabinin@...tuozzo.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Alexander Potapenko <glider@...gle.com>,
Andrey Konovalov <andreyknvl@...gle.com>,
Christoph Lameter <cl@...ux.com>,
Pekka Enberg <penberg@...nel.org>,
David Rientjes <rientjes@...gle.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
Mark Rutland <mark.rutland@....com>,
kasan-dev@...glegroups.com, linux-mm@...ck.org
Subject: [PATCH v3 0/5] mm/kasan: Add object validation in ksize()
This version addresses formatting in kasan-checks.h and splits
introduction of __kasan_check and returning boolean into 2 patches.
Previous version:
http://lkml.kernel.org/r/20190626122018.171606-1-elver@google.com
Marco Elver (5):
mm/kasan: Introduce __kasan_check_{read,write}
mm/kasan: Change kasan_check_{read,write} to return boolean
lib/test_kasan: Add test for double-kzfree detection
mm/slab: Refactor common ksize KASAN logic into slab_common.c
mm/kasan: Add object validation in ksize()
include/linux/kasan-checks.h | 47 ++++++++++++++++++++++++++++++------
include/linux/kasan.h | 7 ++++--
include/linux/slab.h | 1 +
lib/test_kasan.c | 17 +++++++++++++
mm/kasan/common.c | 14 +++++------
mm/kasan/generic.c | 13 +++++-----
mm/kasan/kasan.h | 10 +++++++-
mm/kasan/tags.c | 12 +++++----
mm/slab.c | 28 +++++----------------
mm/slab_common.c | 45 ++++++++++++++++++++++++++++++++++
mm/slob.c | 4 +--
mm/slub.c | 14 ++---------
12 files changed, 147 insertions(+), 65 deletions(-)
--
2.22.0.410.gd8fdbe21b5-goog
Powered by blists - more mailing lists