From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org, andreyknvl@gmail.com,
sfr@canb.auug.org.au, akpm@linux-foundation.org
Subject: + kasan-improve-vmalloc-tests-fix.patch added to -mm tree
Date: Tue, 01 Feb 2022 14:55:25 -0800 [thread overview]
Message-ID: <20220201225525.AD2B8C340ED@smtp.kernel.org> (raw)
The patch titled
Subject: similar to "kasan: test: fix compatibility with FORTIFY_SOURCE"
has been added to the -mm tree. Its filename is
kasan-improve-vmalloc-tests-fix.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/kasan-improve-vmalloc-tests-fix.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/kasan-improve-vmalloc-tests-fix.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: similar to "kasan: test: fix compatibility with FORTIFY_SOURCE"
Link: https://lkml.kernel.org/r/20220128144801.73f5ced0@canb.auug.org.au
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
lib/test_kasan.c | 2 ++
1 file changed, 2 insertions(+)
--- a/lib/test_kasan.c~kasan-improve-vmalloc-tests-fix
+++ a/lib/test_kasan.c
@@ -1096,6 +1096,8 @@ static void vmalloc_oob(struct kunit *te
v_ptr = vmalloc(size);
KUNIT_ASSERT_NOT_ERR_OR_NULL(test, v_ptr);
+ OPTIMIZER_HIDE_VAR(v_ptr);
+
/*
* We have to be careful not to hit the guard page in vmalloc tests.
* The MMU will catch that and crash us.
_
Patches currently in -mm which might be from sfr@canb.auug.org.au are
kasan-improve-vmalloc-tests-fix.patch
reply other threads:[~2022-02-01 22:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220201225525.AD2B8C340ED@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=andreyknvl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/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.