From owner-freebsd-emulation Sun Jan 10 12:18:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA08869 for freebsd-emulation-outgoing; Sun, 10 Jan 1999 12:18:09 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA08862 for ; Sun, 10 Jan 1999 12:18:07 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id PAA14279; Sun, 10 Jan 1999 15:17:28 -0500 (EST) Date: Sun, 10 Jan 1999 15:17:28 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Mike Smith cc: Marcel Moolenaar , freebsd-emulation@FreeBSD.ORG Subject: Re: sendmsg() not working?! In-Reply-To: <199901101052.CAA05296@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 10 Jan 1999, Mike Smith 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. This is WINE, and under FreeBSD sendmsg() succeeds every time, and WINE runs. In Linux emulation, sendmsg never succeeds :( syscall linux_socketcall(0x10,0xefbfd654) errno -22 'Invalid argument' I guess I could try to DDB and break on sendmsg's... > > -- > \\ Sometimes you're ahead, \\ Mike Smith > \\ sometimes you're behind. \\ mike@smith.net.au > \\ The race is long, and in the \\ msmith@freebsd.org > \\ end it's only with yourself. \\ msmith@cdrom.com > > > Brian Feldman _ __ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message