File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 18
18
#include <linux/sched.h>
19
19
#include <linux/seq_file.h>
20
20
21
+ #include <asm/kasan.h>
21
22
#include <asm/pgtable.h>
22
23
23
24
/*
@@ -51,6 +52,10 @@ enum address_markers_idx {
51
52
LOW_KERNEL_NR ,
52
53
VMALLOC_START_NR ,
53
54
VMEMMAP_START_NR ,
55
+ #ifdef CONFIG_KASAN
56
+ KASAN_SHADOW_START_NR ,
57
+ KASAN_SHADOW_END_NR ,
58
+ #endif
54
59
# ifdef CONFIG_X86_ESPFIX64
55
60
ESPFIX_START_NR ,
56
61
# endif
@@ -76,6 +81,10 @@ static struct addr_marker address_markers[] = {
76
81
{ 0 /* PAGE_OFFSET */ , "Low Kernel Mapping" },
77
82
{ 0 /* VMALLOC_START */ , "vmalloc() Area" },
78
83
{ 0 /* VMEMMAP_START */ , "Vmemmap" },
84
+ #ifdef CONFIG_KASAN
85
+ { KASAN_SHADOW_START , "KASAN shadow" },
86
+ { KASAN_SHADOW_END , "KASAN shadow end" },
87
+ #endif
79
88
# ifdef CONFIG_X86_ESPFIX64
80
89
{ ESPFIX_BASE_ADDR , "ESPfix Area" , 16 },
81
90
# endif
You can’t perform that action at this time.
0 commit comments