]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - include/linux/kasan-checks.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_KASAN_CHECKS_H
3 #define _LINUX_KASAN_CHECKS_H
5 #if defined(__SANITIZE_ADDRESS__) || defined(__KASAN_INTERNAL)
6 void kasan_check_read(const volatile void *p
, unsigned int size
);
7 void kasan_check_write(const volatile void *p
, unsigned int size
);
9 static inline void kasan_check_read(const volatile void *p
, unsigned int size
)
11 static inline void kasan_check_write(const volatile void *p
, unsigned int size
)