Dear all, it appears as if kFreeBSD is not able to set owners of file descriptors. My kernel is 9.0-2-amd64 and libc is 2.13-38, from the Wheezy release.
The snippet bellow claims owner 0 (naught) every time it is executed with GNU/kFreeBSD: pid 1234, owner 0 Test runs on GNU/Linux, OpenSolaaris, NetBSD, and FreeBSD 9.0 all produce identical value of "pid2" and "owner": pid 1234, owner 1234 I initially detected this failure with TCP sockets, but the snippet below is clearly sufficient as test. Best regards, Mats E A ============== example code ================ #include <stdio.h> #include <fcntl.h> int main(void) { fcntl(0, F_SETOWN, getpid()); printf("pid %d, owner %d\n", getpid(), fcntl(0, F_GETOWN, 0)); return 0; } -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131107193148.ga1...@gisladisker.se