From owner-freebsd-emulation Mon Jan 11 06:24:29 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA08630 for freebsd-emulation-outgoing; Mon, 11 Jan 1999 06:24:29 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA08622 for ; Mon, 11 Jan 1999 06:24:24 -0800 (PST) (envelope-from marcel@scc.nl) Received: from scones.sup.scc.nl (i030.ztm.euronet.nl [194.134.112.31]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id PAA16605; Mon, 11 Jan 1999 15:23:49 +0100 (MET) Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.1/8.9.1) with ESMTP id PAA75980; Mon, 11 Jan 1999 15:23:03 +0100 (CET) (envelope-from marcel@scc.nl) Message-ID: <369A0946.DA78C160@scc.nl> Date: Mon, 11 Jan 1999 15:23:02 +0100 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Brian Feldman CC: Mike Smith , freebsd-emulation@FreeBSD.ORG Subject: Re: sendmsg() not working?! References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Brian Feldman wrote: > > > > > > Just one question. Is it save to assume there is no problem with the native > > > FreeBSD syscall? > > > To put it differently; Is it wise to focus on the subtle differences of the > > > Linux syscall? > > > > I would definitely want to set up a FreeBSD version of the call under > > the same circumstances (ie. test program) to make sure it worked > > natively, then build the same test program under Linux and verify that > > it failed under emulation, and then compare the call data inside the > > kernel for the two operations. > > Thanks for the previous tip to try using DDB and work it out, from the kernel > on outward :) > [patch deleted] The patch is all that's needed for Oracle Application Server!!! The patch Brian posted does do the job, but, IMHO, is not a good basis for further finetuning of the sendmsg and recvmsg syscalls. Especially the copyout bothers me. Is it worth reimplementing sendmsg and recvmsg or is everybody happy with the patch? BTW Brian, you're quick. I was still setting up a second machine :-) marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message