[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240429194019.work.664-kees@kernel.org>
Date: Mon, 29 Apr 2024 12:43:38 -0700
From: Kees Cook <keescook@...omium.org>
To: linux-hardening@...r.kernel.org
Cc: Kees Cook <keescook@...omium.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] kunit/fortify: Add memcpy() tests
Hi,
This adds memcpy() fortify KUnit tests, similar to how the others
were done. This is in preparation for removing the 0-sized destination
exclusion now that we seem to be in good shape now after removing all
our 0-sized arrays.
-Kees
Kees Cook (3):
kunit/fortify: Rename tests to use recommended conventions
kunit/fortify: Do not spam logs with fortify WARNs
kunit/fortify: Add memcpy() tests
include/linux/fortify-string.h | 6 +-
lib/fortify_kunit.c | 174 ++++++++++++++++++++++++---------
2 files changed, 135 insertions(+), 45 deletions(-)
--
2.34.1
Powered by blists - more mailing lists