public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] IA-32 emulation patch: semctl.patch
@ 2003-05-23  1:49 Arun Sharma
  2003-05-29 16:24 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Arun Sharma @ 2003-05-23  1:49 UTC (permalink / raw)
  To: linux-ia64

semctl doesn't check for bad command.
This patch is in 2.5 already. Bjorn, could you please apply it to 2.4 ?

	-Arun

=== linux-ia64-2.4/arch/ia64/ia32/sys_ia32.c 1.16 vs edited ==--- 1.16/arch/ia64/ia32/sys_ia32.c	Fri Apr 18 10:55:20 2003
+++ edited/linux-ia64-2.4/arch/ia64/ia32/sys_ia32.c	Thu May 22 17:57:38 2003
@@ -2167,6 +2167,9 @@
 	else
 		fourth.__pad = (void *)A(pad);
 	switch (third) {
+	      default:
+		err = -EINVAL;
+		break;
 	      case IPC_INFO:
 	      case IPC_RMID:
 	      case IPC_SET:



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-29 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-23  1:49 [Linux-ia64] IA-32 emulation patch: semctl.patch Arun Sharma
2003-05-29 16:24 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox