mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
usercopy: Add tests for all get_user() sizes
The existing test was only exercising native unsigned long size get_user(). For completeness, we should check all sizes. But we must skip some 32-bit architectures that don't implement a 64-bit get_user(). These new tests actually uncovered a bug in ARM's 64-bit get_user() zeroing. Signed-off-by: Kees Cook <keescook@chromium.org>
This commit is contained in:
parent
f5f893c57e
commit
4c5d7bc637
1 changed files with 76 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue