Re: [PATCH] usercopy: ARM NOMMU has no 64-bit get_user

2017-02-21 Thread Kees Cook
On Tue, Feb 21, 2017 at 2:01 PM, Arnd Bergmann wrote: > 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 noral (MMU based) case. > > We could ad

[PATCH] usercopy: ARM NOMMU has no 64-bit get_user

2017-02-21 Thread Arnd Bergmann
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 noral (MMU based) case. We could add it for NOMMU as well, but it seems easier to just not call it, sin