diff options
author | Kees Cook <keescook@chromium.org> | 2016-06-03 12:06:52 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-06-10 15:57:51 -0700 |
commit | aa981a665d587a19be869ce7f3cb7232f8588dd8 (patch) | |
tree | 0e9bd379211cc7d63ef437a46bdf8089dbcc5ae5 /drivers/media | |
parent | 9a49a528dcf3c2022ff89f700d5d0345b9abf288 (diff) | |
download | linux-aa981a665d587a19be869ce7f3cb7232f8588dd8.tar.bz2 |
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>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions