[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#551494: libc6-dev: Please define O_CLOEXEC in fcntl.h



Package: libc6-dev
Version: 2.9-27
Severity: wishlist


	Hello,

Recent kernel versions introduced the O_CLOEXEC open() flag to support
setting the close-on-exec in a thread-safe manner (i.e. atomic w.r.t.
the process file descriptor table).

Unfortunately, the definition for O_CLOEXEC is only available through
kernel headers that conflict with <fcntl.h>. Please provide a definition
from the glibc headers too!

Best regards,

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (100, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.9 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6-dev depends on:
ii  libc-dev-bin                  2.9-27     GNU C Library: Development binarie
ii  libc6                         2.9-27     GNU C Library: Shared libraries
ii  linux-libc-dev                2.6.30-8   Linux support headers for userspac

Versions of packages libc6-dev recommends:
ii  gcc [c-compiler]          4:4.3.3-9+nmu1 The GNU C compiler
ii  gcc-4.3 [c-compiler]      4.3.4-5        The GNU C compiler
ii  gcc-4.4 [c-compiler]      4.4.1-6        The GNU C compiler
ii  tcc [c-compiler]          0.9.24-1       the smallest ANSI C compiler

Versions of packages libc6-dev suggests:
ii  glibc-doc                     2.9-27     GNU C Library: Documentation
ii  manpages-dev                  3.22-1     Manual pages about using GNU/Linux

-- no debconf information



Reply to: