second small patch - was (Re: linuxulator problems in linux_socket.c (and friends))
Andrew Atrens
atrens at nortelnetworks.com
Fri Jan 9 13:45:03 PST 2004
Another bug in linux_socket.c.
kern_fcntl() needs a valid pointer to a fcntl_dat object.
Index: linux_socket.c
===================================================================
RCS file: /usr/dfly/repo/src/sys/emulation/linux/linux_socket.c,v
retrieving revision 1.15
retrieving revision 1.15.2.14
diff -b -B -r1.15 -r1.15.2.14
424a425
> union fcntl_dat dat = { 0 };
467c468
< kern_fcntl(*res, F_SETFL, 0);
---
> kern_fcntl(*res, F_SETFL, &dat);
Cheers,
Andrew.
More information about the Bugs
mailing list