|
@@ -122,6 +122,9 @@ enum address_markers_idx {
|
|
|
VMALLOC_END_NR,
|
|
|
#ifdef CONFIG_HIGHMEM
|
|
|
PKMAP_BASE_NR,
|
|
|
+#endif
|
|
|
+#ifdef CONFIG_MODIFY_LDT_SYSCALL
|
|
|
+ LDT_NR,
|
|
|
#endif
|
|
|
CPU_ENTRY_AREA_NR,
|
|
|
FIXADDR_START_NR,
|
|
@@ -135,6 +138,9 @@ static struct addr_marker address_markers[] = {
|
|
|
[VMALLOC_END_NR] = { 0UL, "vmalloc() End" },
|
|
|
#ifdef CONFIG_HIGHMEM
|
|
|
[PKMAP_BASE_NR] = { 0UL, "Persistent kmap() Area" },
|
|
|
+#endif
|
|
|
+#ifdef CONFIG_MODIFY_LDT_SYSCALL
|
|
|
+ [LDT_NR] = { 0UL, "LDT remap" },
|
|
|
#endif
|
|
|
[CPU_ENTRY_AREA_NR] = { 0UL, "CPU entry area" },
|
|
|
[FIXADDR_START_NR] = { 0UL, "Fixmap area" },
|
|
@@ -609,6 +615,9 @@ static int __init pt_dump_init(void)
|
|
|
# endif
|
|
|
address_markers[FIXADDR_START_NR].start_address = FIXADDR_START;
|
|
|
address_markers[CPU_ENTRY_AREA_NR].start_address = CPU_ENTRY_AREA_BASE;
|
|
|
+# ifdef CONFIG_MODIFY_LDT_SYSCALL
|
|
|
+ address_markers[LDT_NR].start_address = LDT_BASE_ADDR;
|
|
|
+# endif
|
|
|
#endif
|
|
|
return 0;
|
|
|
}
|