mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 11:49:32 +00:00
13 lines
366 B
C
13 lines
366 B
C
![]() |
#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
|