diff options
| author | Kees Cook <keescook@chromium.org> | 2016-09-07 09:54:34 -0700 |
|---|---|---|
| committer | Amit Pundir <amit.pundir@linaro.org> | 2016-09-14 14:44:29 +0530 |
| commit | f9ae153c0546111f4f11a6a63473802fcad345c2 (patch) | |
| tree | 79bb88b86708c4c7ee32f69b5766a6ac82ee1bbc /kernel/sysctl_binary.c | |
| parent | 0c9f69c443b43eb8b545c605cf65f509a7ab64f7 (diff) | |
UPSTREAM: 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>
Change-Id: I4177c0fb943f14a5faf5c70f5e54bf782c316f43
(cherry picked from commit 8e1f74ea02cf4562404c48c6882214821552c13f)
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
