diff options
author | Kees Cook <keescook@chromium.org> | 2016-09-07 09:54:34 -0700 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2016-09-24 11:41:19 +0800 |
commit | 4663a70283d6b3bb1270627d2dd3fc3ba94cd723 (patch) | |
tree | 7702937d05161a83f986def3d6945e6367fec3ad /lib/strncpy_from_user.c | |
parent | 455003e59e7981b5fc2e660b3d93b74b85a1a55f (diff) |
usercopy: remove page-spanning test for now
A custom allocator without __GFP_COMP that copies to userspace has been
found in vmw_execbuf_process[1], so this disables the page-span checker
by placing it behind a CONFIG for future work where such things can be
tracked down later.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1373326
Reported-by: Vinson Lee <vlee@freedesktop.org>
Fixes: f5509cc18daa ("mm: Hardened usercopy")
Signed-off-by: Kees Cook <keescook@chromium.org>
(cherry picked from commit 8e1f74ea02cf4562404c48c6882214821552c13f)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions