Hi,

what is currently used kernel on buildd for kfreebsd-* ?

According to last log of util-linux (22 May 2015/fayrfax.debian.org):
Kernel: GNU/kFreeBSD 9.0-2-amd64 kfreebsd-amd64 (x86_64)

Please beware, that F_DUPFD_CLOEXEC is not supported on this kernel.
The addition of F_DUPFD_CLOEXEC bellow is long term way, but in mean time (until buildd is upgraded to 10.x), we need to use fallback to previous code path in util-linux.

Petr


On Tue, 26 May 2015, Christoph Egger wrote:

Hi Steven, list!

I understand the thing below is the intended fix for util-linux? Is
there some planned timeline to get it into unstable? We're not building
anything currently for as long as util-linux isn't updated so one might
want to push a little

Thanks

 Christoph

stevenc-gu...@alioth.debian.org writes:
Author: stevenc-guest
Date: 2015-05-24 14:00:19 +0000 (Sun, 24 May 2015)
New Revision: 5714

Modified:
   trunk/glibc-ports/kfreebsd/bits/fcntl.h
Log:
provide F_DUPFD_CLOEXEC of POSIX.1-2008, implemented in kfreebsd-10


Modified: trunk/glibc-ports/kfreebsd/bits/fcntl.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/fcntl.h     2015-05-23 14:52:10 UTC (rev 
5713)
+++ trunk/glibc-ports/kfreebsd/bits/fcntl.h     2015-05-24 14:00:19 UTC (rev 
5714)
@@ -148,6 +148,10 @@
 #define F_SETLK64      12      /* Set record locking info (non-blocking).  */
 #define F_SETLKW64     13      /* Set record locking info (blocking).  */

+#if __USE_BSD || __POSIX_VISIBLE >= 200809
+#define        F_DUPFD_CLOEXEC 17      /* Like F_DUPFD, but FD_CLOEXEC is set 
*/
+#endif
+
 #if defined __USE_BSD || defined __USE_UNIX98
 # define F_GETOWN      5       /* Get owner of socket (receiver of SIGIO).  */
 # define F_SETOWN      6       /* Set owner of socket (receiver of SIGIO).  */

--
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/alpine.lnx.2.00.1505280854350.27...@contest.felk.cvut.cz

Reply via email to