Hi,
Martin Blapp ([EMAIL PROTECTED]) and I have been poking at a seemingly broken
linux_connect() in the linux emulation suite. Now I'm actually curious,
because there's a little voodoo going on which I don't quite understand
and I'd appreciate some clued people explaining it.
* inside a syscal
Also have a look at:
http://www.FreeBSD.org/cgi/cvsweb.cgi/syssrc/sys/compat/
linux/common/linux_socket.c?rev=1.21.2.2
&content-type=text/x-cvsweb-markup&cvsroot=netbsd
(Add these three lines together)
There is a comment form linux_connect():
*/
* We should only let this call succeed once p
Adrian Chadd <[EMAIL PROTECTED]> writes:
> * inside a syscall, if I return (value); what happens?
errno gets set to that value, and if it's non-zero, the userland
syscall code returns -1 to the caller.
> * inside a syscall, if I set p->p_retval[0] to something, and then
> return (value); what
3 matches
Mail list logo