diff options
author | Kees Cook | 2017-02-14 21:38:07 +0100 |
---|---|---|
committer | Kees Cook | 2017-02-21 20:59:38 +0100 |
commit | 4c5d7bc63775b40631b75f6c59a3a3005455262d (patch) | |
tree | f87807d3452c42476285a1ffcbf72540016bf60e /tools/lib/api/fs/fs.c | |
parent | usercopy: Adjust tests to deal with SMAP/PAN (diff) | |
download | kernel-qcow2-linux-4c5d7bc63775b40631b75f6c59a3a3005455262d.tar.gz kernel-qcow2-linux-4c5d7bc63775b40631b75f6c59a3a3005455262d.tar.xz kernel-qcow2-linux-4c5d7bc63775b40631b75f6c59a3a3005455262d.zip |
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>
Diffstat (limited to 'tools/lib/api/fs/fs.c')
0 files changed, 0 insertions, 0 deletions