]> err.no Git - linux-2.6/commit
[PATCH] i386: extra checks in show_registers()
authorChuck Ebbert <76306.1226@compuserve.com>
Fri, 23 Jun 2006 09:04:31 +0000 (02:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:59 +0000 (07:42 -0700)
commit7e04a1183eac3e6b3570a154c8677fd9184b51e7
treec7e65549871504bb4df03982f9a7581aa6417cab
parent722f4f5b2600b8930b63a096e48b878cd6e0e15a
[PATCH] i386: extra checks in show_registers()

Sometimes thread_info and task_struct get out-of-sync with each other.
Printing task.thread_info in show_registers() can help spot this.  And when
task_struct is corrupt then task.comm can contain garbage, so only print as
many characters as it can hold.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/traps.c