diff options
author | Kees Cook <keescook@chromium.org> | 2022-09-28 23:17:05 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2022-10-29 01:07:57 +0200 |
commit | 96fce387d58fa8eae6e8d9b1ecdfbc18292d7a68 (patch) | |
tree | de98db88e53664f58502ddd7871a0d46b1553101 /MAINTAINERS | |
parent | string: Rewrite and add more kern-doc for the str*() functions (diff) | |
download | linux-96fce387d58fa8eae6e8d9b1ecdfbc18292d7a68.tar.xz linux-96fce387d58fa8eae6e8d9b1ecdfbc18292d7a68.zip |
kunit/memcpy: Add dynamic size and window tests
The "side effects" memmove() test accidentally found[1] a corner case in
the recent refactoring of the i386 assembly memmove(), but missed another
corner case. Instead of hoping to get lucky next time, implement much
more complete tests of memcpy() and memmove() -- especially the moving
window overlap for memmove() -- which catches all the issues encountered
and should catch anything new.
[1] https://lore.kernel.org/lkml/CAKwvOdkaKTa2aiA90VzFrChNQM6O_ro+b7VWs=op70jx-DKaXA@mail.gmail.com
Cc: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index cf0f18502372..9dd8d74c4df0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8044,6 +8044,7 @@ S: Supported T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/hardening F: include/linux/fortify-string.h F: lib/fortify_kunit.c +F: lib/memcpy_kunit.c F: lib/test_fortify/* F: scripts/test_fortify.sh K: \b__NO_FORTIFY\b |