Skip to content
Commit 4c5d7bc6 authored by Kees Cook's avatar Kees Cook
Browse files

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: default avatarKees Cook <keescook@chromium.org>
parent f5f893c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment