Re: Failure of fcntl(F_SETOWN).

2013-11-08 Thread Mats Erik Andersson
torsdag den 7 november 2013 klockan 21:57 skrev Petr Salinger detta: >> 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. > > There is a "typo" in our header. > It should be > > #if defined __USE_B

Re: Failure of fcntl(F_SETOWN).

2013-11-07 Thread Petr Salinger
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. Many thanks for test case. There is a "typo" in our header #if defined __USE_BSD || defined __USE_UNIX98 # define F_SETOWN 5 /* Get owner

Failure of fcntl(F_SETOWN).

2013-11-07 Thread Mats Erik Andersson
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, OpenSolaa