Skip to content
Commit 2bf8496f authored by Kees Cook's avatar Kees Cook
Browse files

lkdtm/usercopy: Moves the KERNEL_DS test to non-canonical



The prior implementation of the KERNEL_DS fault checking would work on
any unmapped kernel address, but this was narrowed to the non-canonical
range instead. This adjusts the LKDTM test to match.

Fixes: 00c42373 ("x86-64: add warning for non-canonical user access address dereferences")
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 8c2ffd91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment