Subject: PR/29607 CVS commit: src/sys/arch
To: None <,>
From: Christos Zoulas <>
List: netbsd-bugs
Date: 07/01/2005 18:06:02
The following reply was made to PR bin/29607; it has been noted by GNATS.

From: Christos Zoulas <>
Subject: PR/29607 CVS commit: src/sys/arch
Date: Fri,  1 Jul 2005 18:01:45 +0000 (UTC)

 Module Name:	src
 Committed By:	christos
 Date:		Fri Jul  1 18:01:45 UTC 2005
 Modified Files:
 	src/sys/arch/alpha/alpha: linux_syscall.c osf1_syscall.c syscall.c
 	src/sys/arch/amd64/amd64: netbsd32_syscall.c syscall.c
 	src/sys/arch/arm/arm: linux_syscall.c syscall.c
 	src/sys/arch/hppa/hppa: trap.c
 	src/sys/arch/i386/i386: freebsd_syscall.c ibcs2_syscall.c
 	    linux_syscall.c mach_syscall.c svr4_syscall.c syscall.c
 	src/sys/arch/m68k/m68k: linux_syscall.c m68k_syscall.c sunos_syscall.c
 	src/sys/arch/mips/mips: syscall.c
 	src/sys/arch/pc532/pc532: trap.c
 	src/sys/arch/powerpc/powerpc: syscall.c
 	src/sys/arch/sh3/sh3: exception.c
 	src/sys/arch/sh5/sh5: syscall.c
 	src/sys/arch/sparc/sparc: trap.c
 	src/sys/arch/vax/vax: trap.c
 Log Message:
 PR/29607: Christian Biere systrace doesn't handle interrupted syscalls properly
 Instead of jumping to the default "bad" case, jump to the error handling
 switch, so that we can deal with ERESTART/EJUSTRETURN properly.
 To generate a diff of this commit:
 cvs rdiff -r1.13 -r1.14 src/sys/arch/alpha/alpha/linux_syscall.c
 cvs rdiff -r1.15 -r1.16 src/sys/arch/alpha/alpha/osf1_syscall.c \
 cvs rdiff -r1.5 -r1.6 src/sys/arch/amd64/amd64/netbsd32_syscall.c
 cvs rdiff -r1.8 -r1.9 src/sys/arch/amd64/amd64/syscall.c
 cvs rdiff -r1.11 -r1.12 src/sys/arch/arm/arm/linux_syscall.c
 cvs rdiff -r1.26 -r1.27 src/sys/arch/arm/arm/syscall.c
 cvs rdiff -r1.26 -r1.27 src/sys/arch/hppa/hppa/trap.c
 cvs rdiff -r1.16 -r1.17 src/sys/arch/i386/i386/freebsd_syscall.c
 cvs rdiff -r1.26 -r1.27 src/sys/arch/i386/i386/ibcs2_syscall.c
 cvs rdiff -r1.29 -r1.30 src/sys/arch/i386/i386/linux_syscall.c \
 cvs rdiff -r1.12 -r1.13 src/sys/arch/i386/i386/mach_syscall.c
 cvs rdiff -r1.25 -r1.26 src/sys/arch/i386/i386/svr4_syscall.c
 cvs rdiff -r1.7 -r1.8 src/sys/arch/m68k/m68k/linux_syscall.c \
 cvs rdiff -r1.14 -r1.15 src/sys/arch/m68k/m68k/m68k_syscall.c
 cvs rdiff -r1.22 -r1.23 src/sys/arch/mips/mips/syscall.c
 cvs rdiff -r1.66 -r1.67 src/sys/arch/pc532/pc532/trap.c
 cvs rdiff -r1.23 -r1.24 src/sys/arch/powerpc/powerpc/syscall.c
 cvs rdiff -r1.20 -r1.21 src/sys/arch/sh3/sh3/exception.c
 cvs rdiff -r1.12 -r1.13 src/sys/arch/sh5/sh5/syscall.c
 cvs rdiff -r1.157 -r1.158 src/sys/arch/sparc/sparc/trap.c
 cvs rdiff -r1.95 -r1.96 src/sys/arch/vax/vax/trap.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.