Re: [Linux-ia64] [patch] quick combo patch relative to 2.4.10+010924 ia64 patch

From: Andreas Schwab <schwab_at_suse.de>
Date: 2001-10-03 00:06:37
Here is another patch for the ia32 subsystem: the case SHMAT falls
through in sys32_ipc, but there is nothing that returns err to the caller.

--- linux/arch/ia64/ia32/sys_ia32.c.~1~	Tue Oct  2 11:08:44 2001
+++ linux/arch/ia64/ia32/sys_ia32.c	Tue Oct  2 11:15:49 2001
@@ -2575,8 +2575,7 @@
 		return msgctl32(first, second, (void *)AA(ptr));
 
 	      case SHMAT:
-		err = shmat32(first, second, third, version, (void *)AA(ptr));
-		break;
+		return shmat32(first, second, third, version, (void *)AA(ptr));
 	      case SHMDT:
 		return sys_shmdt((char *)AA(ptr));
 	      case SHMGET:

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
Received on Tue Oct 02 07:06:50 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:05 EST