summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2016-09-06 11:26:12 -0700
committerKees Cook <keescook@chromium.org>2016-09-06 12:17:30 -0700
commit3c17648c2816f6d28bd2be9293032a2901994a36 (patch)
treebe51f2f74d09f2c6a201f3edb4bfca3fe2326f1b /net
parent81409e9e28058811c9ea865345e1753f8f677e44 (diff)
downloadlinux-3c17648c2816f6d28bd2be9293032a2901994a36.tar.bz2
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: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions