diff options
author | Jann Horn <[email protected]> | 2018-08-28 22:14:21 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-09-03 15:12:10 +0200 |
commit | bef459026b161fbc39d20dcba698ed0cfffbac38 (patch) | |
tree | da222ce16f935127b188f773d843a95f1f9dca4a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9da3f2b74054406f87dff7101a569217ffceb29b (diff) |
lkdtm: Test copy_to_user() on bad kernel pointer under KERNEL_DS
Test whether the kernel WARN()s when, under KERNEL_DS, a bad kernel pointer
is used as "userspace" pointer. Should normally be used in "DIRECT" mode.
Signed-off-by: Jann Horn <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Kees Cook <[email protected]>
Acked-by: Kees Cook <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: "Naveen N. Rao" <[email protected]>
Cc: Anil S Keshavamurthy <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: [email protected]
Cc: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions