2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 13:13:57 +08:00
linux-next/arch/sparc64
David S. Miller 2678fefedb sparc64: Fix syscall restart, for real...
The change I put into copy_thread() just papered over the real
problem.

When we are looking to see if we should do a syscall restart, when
deliverying a signal, we should only interpret the syscall return
value as an error if the carry condition code(s) are set.

Otherwise it's a success return.

Also, sigreturn paths should do a pt_regs_clear_trap_type().

It turns out that doing a syscall restart when returning from a fork()
does and should happen, from time to time.  Even if copy_thread()
returns success, copy_process() can still unwind and signal
-ERESTARTNOINTR in the parent.

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-05-02 05:22:52 -07:00
..
boot [SPARC64]: Add .gitignore file for sparc64 boot images. 2006-02-05 00:15:11 -08:00
kernel sparc64: Fix syscall restart, for real... 2008-05-02 05:22:52 -07:00
lib iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
math-emu [SPARC64]: small Makefile cleanups 2007-10-22 02:32:10 -07:00
mm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-04-30 08:46:16 -07:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
prom [SPARC]: Kill 'prom_palette'. 2008-02-18 15:28:16 -08:00
defconfig sparc64: Kill CONFIG_SPARC32_COMPAT 2008-04-26 21:41:19 -07:00
Kconfig sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
Kconfig.debug [SPARC64]: Remove DEBUG_BOOTMEM. 2008-02-13 01:00:26 -08:00
Makefile [SPARC]: Remove SunOS and Solaris binary support. 2008-04-21 15:10:15 -07:00