Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 1999 15:17:28 -0500 (EST)
From:      Brian Feldman <green@unixhelp.org>
To:        Mike Smith <mike@smith.net.au>
Cc:        Marcel Moolenaar <marcel@scc.nl>, freebsd-emulation@FreeBSD.ORG
Subject:   Re: sendmsg() not working?! 
Message-ID:  <Pine.BSF.4.05.9901101514430.13908-100000@janus.syracuse.net>
In-Reply-To: <199901101052.CAA05296@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9901101514430.13908-100000>