mirror of https://github.com/torvalds/linux.git
CONFIG_KASAN implements wrappers for memcpy() memmove() and memset()
Those wrappers are doing the verification then call respectively
__memcpy() __memmove() and __memset(). The arches are therefore
expected to rename their optimised functions that way.
For files on which KASAN is inhibited, #defines are used to allow
them to directly call optimised versions of the functions without
going through the KASAN wrappers.
See commit
|
||
|---|---|---|
| .. | ||
| asm-compat.h | ||
| export.h | ||
| feature-fixups.h | ||
| kasan.h | ||
| ppc_asm.h | ||
| processor.h | ||