mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
Revert "kasan: print the original fault addr when access invalid shadow"
This reverts commit4e14f2d588which is commitbabddbfb7dupstream. It breaks the allmodconfig build on Android systems, so it needs to be reverted. Android does not use kasan, so this is not an issue. Change-Id: I457322b18e135ac5e49588b6efa6f44e9883755c Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -468,10 +468,10 @@ static inline void kasan_free_module_shadow(const struct vm_struct *vm) {}
|
||||
|
||||
#endif /* (CONFIG_KASAN_GENERIC || CONFIG_KASAN_SW_TAGS) && !CONFIG_KASAN_VMALLOC */
|
||||
|
||||
#ifdef CONFIG_KASAN
|
||||
#ifdef CONFIG_KASAN_INLINE
|
||||
void kasan_non_canonical_hook(unsigned long addr);
|
||||
#else /* CONFIG_KASAN */
|
||||
#else /* CONFIG_KASAN_INLINE */
|
||||
static inline void kasan_non_canonical_hook(unsigned long addr) { }
|
||||
#endif /* CONFIG_KASAN */
|
||||
#endif /* CONFIG_KASAN_INLINE */
|
||||
|
||||
#endif /* LINUX_KASAN_H */
|
||||
|
||||
Reference in New Issue
Block a user