Skip to content
Commit 4deaa6fd authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Kees Cook
Browse files

usercopy: ARM NOMMU has no 64-bit get_user



On a NOMMU ARM kernel, we get this link error:

ERROR: "__get_user_bad" [lib/test_user_copy.ko] undefined!

The problem is that the extended get_user/put_user definitions
were only added for the normal (MMU based) case.

We could add it for NOMMU as well, but it seems easier to just not
call it, since no other code needs it.

Fixes: 4c5d7bc6 ("usercopy: Add tests for all get_user() sizes")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 4c5d7bc6
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