Date: Sun, 10 Jan 1999 11:24:47 +0100 From: Marcel Moolenaar <marcel@scc.nl> To: Brian Feldman <green@unixhelp.org> Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: sendmsg() not working?! Message-ID: <36987FEF.1CB35E1F@scc.nl> References: <Pine.BSF.4.05.9901091401480.304-100000@janus.syracuse.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 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. I'll keep you informed of any progress... marcel 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?36987FEF.1CB35E1F>