diff options
author | Jann Horn <[email protected]> | 2019-12-19 00:11:49 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-12-31 13:11:35 +0100 |
commit | aa49f20462c90df4150f33d245cbcfe0d9c80350 (patch) | |
tree | f12401b0d8f5f80a0e290ae66b3587f74c088b1f /arch/x86/mm/kasan_init_64.c | |
parent | 59c1dcbed5b51cab543be8f47b6d7d9cf107ec94 (diff) |
x86/dumpstack: Introduce die_addr() for die() with #GP fault address
Split __die() into __die_header() and __die_body(). This allows inserting
extra information below the header line that initiates the bug report.
Introduce a new function die_addr() that behaves like die(), but is for
faults only and uses __die_header() and __die_body() so that a future
commit can print extra information after the header line.
[ bp: Comment the KASAN-specific usage of gp_addr. ]
Signed-off-by: Jann Horn <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: [email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: "Peter Zijlstra (Intel)" <[email protected]>
Cc: Sean Christopherson <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/mm/kasan_init_64.c')
0 files changed, 0 insertions, 0 deletions