forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
366 B
12 lines
366 B
#ifndef _LINUX_KASAN_CHECKS_H |
|
#define _LINUX_KASAN_CHECKS_H |
|
|
|
#ifdef CONFIG_KASAN |
|
void kasan_check_read(const void *p, unsigned int size); |
|
void kasan_check_write(const void *p, unsigned int size); |
|
#else |
|
static inline void kasan_check_read(const void *p, unsigned int size) { } |
|
static inline void kasan_check_write(const void *p, unsigned int size) { } |
|
#endif |
|
|
|
#endif
|
|
|