]> git.baikalelectronics.ru Git - kernel.git/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)
commitc929e25099c9e6e56d667b592c9eba213070d8ac
treec7e65549871504bb4df03982f9a7581aa6417cab
parent795998b4c75e2aba94f6adacc4d71c429bdfe94e
[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