Date: Sun, 10 Jan 1999 14:59:57 -0500 (EST) From: Brian Feldman <green@unixhelp.org> To: Marcel Moolenaar <marcel@scc.nl> Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: sendmsg() not working?! Message-ID: <Pine.BSF.4.05.9901101459110.13274-100000@janus.syracuse.net> In-Reply-To: <36987FEF.1CB35E1F@scc.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Jan 1999, Marcel Moolenaar wrote: > Brian Feldman wrote: > > > There's no real extra functionality, sendmsg in linux is exactly the same, > > binary-compatible with that of FreeBSD. When groping through the kernel to > > find out why sendmsg() can return EINVAL, I can't seem to find a reason. > > The only visible difference is the flags field the msghdr struct. Linux has > some incompatible defines. Your test program has flags=0 though. > > > I have the tarchive here, but you need to first add Linux system calls 183 > > and 184 to test it out (linux_i386_get_ldt and linux_i386_set_ldt, respectively) > > or you won't be able to use the LDT functions. The functions are already > > implemented elsewhere, so it's not that hard to add them and recompile/reload > > the Linux module. Once you add syscall 183 and 184 (183/get can just be a stub), > > let me know and I'll find some place to slap down the (*cough* 9 megabyte) > > tar.gz. > > Sounds like a lot of unnecessary overhead. I've Oracle Application Server > here which (as far as I can see) blocks in the sendmsg call. The only thing I > can do at that time is killing it. I think I'll use that or use some sort of It's not really a "test program" per se, it's WINE ;) > special test programs (like yours) to investigate. > If there is such a need, I can always choose to implement the LDT > functionality and ask politely if you could slap down the archive somewhere. Oh my, there's someone else having problems with sendmsg? > > I'll keep you informed of any progress... > > marcel > 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.9901101459110.13274-100000>