mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
lkdtm: add usercopy tests
This adds test to detect copy_to_user/copy_from_user problems that are protected by PAX_USERCOPY (and will be protected by HARDENED_USERCOPY). Explicitly tests both "to" and "from" directions of heap object size problems, heap object markings and, stack frame misalignment. Signed-off-by: Kees Cook <keescook@chromium.org>
This commit is contained in:
parent
9a49a528dc
commit
aa981a665d
1 changed files with 273 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue