x86: signal: use signal_fault() in sys_sigreturn()
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Tue, 16 Dec 2008 22:02:16 +0000 (14:02 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 22:06:07 +0000 (23:06 +0100)
commitae417bb487e3bb88dc862b83b4bf00d87ba67ec8
tree99173e7b70ab35532651a4bcd4431a8a8c0875c6
parent4217458dafaa57d8e26a46f5d05ab8c53cf64191
x86: signal: use signal_fault() in sys_sigreturn()

Impact: cleanup

Call signal_fault() in error route of sys_sigreturn().
Change log level to KERN_EMERG if current is init.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/signal.c