Date: Fri, 28 Sep 2001 00:27:04 +0900 (JST) From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org> To: marcel@xcllnt.net Cc: emulation@FreeBSD.org, iwasaki@jp.FreeBSD.org Subject: Re: Fix for linux_semctl - please test Message-ID: <20010928.002704.07647057.iwasaki@jp.FreeBSD.org> In-Reply-To: <20010926.140926.07647105.iwasaki@jp.FreeBSD.org> References: <20010925.175750.74756409.iwasaki@jp.FreeBSD.org> <20010925213133.A5791@athlon.pn.xcllnt.net> <20010926.140926.07647105.iwasaki@jp.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > It seems that this change breaks Linux sysv syscalls (at least, i386 > > > version of linux_semctl()) and my Oracle 8.1.7 stopped working. > > > > Please try attached patch. > > Perfect! My Oracle8i is working again. Oops, sorry. My testing was incomplete. Now it should be perfect, I hope ;-) Index: linux_ipc.c =================================================================== RCS file: /home/ncvs/src/sys/compat/linux/linux_ipc.c,v retrieving revision 1.26 diff -u -r1.26 linux_ipc.c --- linux_ipc.c 26 Sep 2001 05:39:59 -0000 1.26 +++ linux_ipc.c 27 Sep 2001 15:19:31 -0000 @@ -227,7 +227,7 @@ /* Make sure the arg parameter can be copied in. */ unptr = stackgap_alloc(&sg, sizeof(union semun)); - bcopy(unptr, &args->arg, sizeof(union semun)); + bcopy(&args->arg, unptr, sizeof(union semun)); bsd_args.semid = args->semid; bsd_args.semnum = args->semnum; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010928.002704.07647057.iwasaki>