mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-11 17:55:54 +00:00
* 0day explit mitigation * Memory corruption prevention * Privilege escalation prevention * Buffer over flow prevention * File System corruption defense * Thread escape prevention This may very well be the most intensive inclusion to BrooklynR. This will not be part of an x86 suite nor it will be released as tool kit. The security core toolkit will remain part of kernel base.
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
|