diff options
| author | Andrey Ryabinin <[email protected]> | 2016-05-20 23:59:28 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-05-21 00:58:30 +0000 |
| commit | 64f8ebaf115bcddc4aaa902f981c57ba6506bc42 (patch) | |
| tree | 11f1cba5bc8867e085236ff96861ced9a29c943e /lib/strncpy_from_user.c | |
| parent | mm/kasan: print name of mem[set,cpy,move]() caller in report (diff) | |
| download | kernel-64f8ebaf115bcddc4aaa902f981c57ba6506bc42.tar.gz kernel-64f8ebaf115bcddc4aaa902f981c57ba6506bc42.zip | |
mm/kasan: add API to check memory regions
Memory access coded in an assembly won't be seen by KASAN as a compiler
can instrument only C code. Add kasan_check_[read,write]() API which is
going to be used to check a certain memory range.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Andrey Ryabinin <[email protected]>
Acked-by: Alexander Potapenko <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions
