[Webkit-unassigned] [Bug 61287] [UNIX] Don't use SOCK_DGRAM in socketpair()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 26 00:19:00 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61287





--- Comment #13 from Carlos Garcia Campos <cgarcia at igalia.com>  2011-05-26 00:19:00 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #2)
> > > FWIW, it looks like chromium uses SOCK_STREAM sockets.
> > 
> > No, it seems they use SOCK_SEQPACKET in Linux, see
> > 
> > http://src.chromium.org/viewvc/chrome/trunk/src/content/browser/zygote_host_linux.cc?view=markup
> 
> well, which are indeed STREAM sockets.

I was wrong, it actually used DGRAM functions internally, see:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=net/unix/af_unix.c;h=0722a25a3a33e6717b5e305d1cf0550b3abb9bb1;hb=HEAD#l1685

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list