panic: print more informative messages on stackprotect failure
authorIngo Molnar <mingo@elte.hu>
Thu, 14 Feb 2008 08:02:13 +0000 (09:02 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 26 May 2008 14:15:31 +0000 (16:15 +0200)
commit517a92c4e19fcea815332d3155e9fb7723251274
tree75e57ff7749b37c3f78c23175b87e5908a0a3bc0
parent7e09b2a02dae4616a5a26000169964b32f86cd35
panic: print more informative messages on stackprotect failure

pointed out by pageexec@freemail.hu:

we just simply panic() when there's a stackprotector attack - giving
the attacked person no information about what kernel code the attack went
against.

print out the attacked function.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/panic.c