kasan.h (23689e91fb22c15b84ac6c22ad9942039792f3af) kasan.h (f6e39794f4b6da7ca9b77f2f9ad11fd6f0ac83e5)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINUX_KASAN_H
3#define _LINUX_KASAN_H
4
5#include <linux/bug.h>
6#include <linux/kasan-enabled.h>
7#include <linux/kernel.h>
8#include <linux/static_key.h>

--- 14 unchanged lines hidden (view full) ---

23struct kunit_kasan_expectation {
24 bool report_found;
25};
26
27#endif
28
29typedef unsigned int __bitwise kasan_vmalloc_flags_t;
30
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINUX_KASAN_H
3#define _LINUX_KASAN_H
4
5#include <linux/bug.h>
6#include <linux/kasan-enabled.h>
7#include <linux/kernel.h>
8#include <linux/static_key.h>

--- 14 unchanged lines hidden (view full) ---

23struct kunit_kasan_expectation {
24 bool report_found;
25};
26
27#endif
28
29typedef unsigned int __bitwise kasan_vmalloc_flags_t;
30
31#define KASAN_VMALLOC_NONE 0x00u
32#define KASAN_VMALLOC_INIT 0x01u
33#define KASAN_VMALLOC_VM_ALLOC 0x02u
31#define KASAN_VMALLOC_NONE 0x00u
32#define KASAN_VMALLOC_INIT 0x01u
33#define KASAN_VMALLOC_VM_ALLOC 0x02u
34#define KASAN_VMALLOC_PROT_NORMAL 0x04u
34
35#if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS)
36
37#include <linux/pgtable.h>
38
39/* Software KASAN implementations use shadow memory. */
40
41#ifdef CONFIG_KASAN_SW_TAGS

--- 458 unchanged lines hidden ---
35
36#if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS)
37
38#include <linux/pgtable.h>
39
40/* Software KASAN implementations use shadow memory. */
41
42#ifdef CONFIG_KASAN_SW_TAGS

--- 458 unchanged lines hidden ---