Skip to content
Commit 3c17648c authored by Kees Cook's avatar Kees Cook
Browse files

lkdtm: adjust usercopy tests to bypass const checks



The hardened usercopy is now consistently avoiding checks against const
sizes, since we really only want to perform runtime bounds checking
on lengths that weren't known at build time. To test the hardened usercopy
code, we must force the length arguments to be seen as non-const.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 81409e9e
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