Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6085a86 authored by Eugene Surovegin's avatar Eugene Surovegin Committed by H. Peter Anvin
Browse files

x86, kaslr: export offset in VMCOREINFO ELF notes



Include kASLR offset in VMCOREINFO ELF notes to assist in debugging.

[ hpa: pushing this for v3.14 to avoid having a kernel version with
  kASLR where we can't debug output. ]

Signed-off-by: default avatarEugene Surovegin <surovegin@google.com>
Link: http://lkml.kernel.org/r/20140123173120.GA25474@www.outflux.net


Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent cfbf8d48
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -279,5 +279,7 @@ void arch_crash_save_vmcoreinfo(void)
	VMCOREINFO_SYMBOL(node_data);
	VMCOREINFO_LENGTH(node_data, MAX_NUMNODES);
#endif
	vmcoreinfo_append_str("KERNELOFFSET=%lx\n",
			      (unsigned long)&_text - __START_KERNEL);
}