]> Zhao Yanbai Git Server - minix.git/commit
libc: make socketpair(3) use the right device 52/2752/3
authorDavid van Moolenbroek <david@minix3.org>
Sun, 24 Aug 2014 10:16:37 +0000 (10:16 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 18 Sep 2014 12:46:28 +0000 (12:46 +0000)
commit2e89653e65c25c480c40ec47d9e27349f1279c8c
treef0b1fe7b332a87fead1a88e5a0f9dc42a1fa404f
parent970d95ecd592b97088f82dd45b0c93a10fc1d1c4
libc: make socketpair(3) use the right device

UDS expects the device number of the actual socket, not the device on
which the socket happens to reside.  The code worked only because PFS
returned the same value in the st_dev stat field, which it will have
to continue doing for a while now.

Change-Id: I426d38a86a96307ff6e6ed8099d37dae02d6bf2b
minix/lib/libc/sys/socketpair.c