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

Bug#551494: marked as done (libc6-dev: Please define O_CLOEXEC in fcntl.h)



Your message dated Sun, 18 Oct 2009 21:29:23 +0200
with message-id <20091018192923.GO4127@hall.aurel32.net>
and subject line Re: Bug#551494: libc6-dev: Please define O_CLOEXEC in fcntl.h
has caused the Debian Bug report #551494,
regarding libc6-dev: Please define O_CLOEXEC in fcntl.h
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
551494: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551494
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
On Sun, Oct 18, 2009 at 07:18:46PM +0300, Remi Denis-Courmont wrote:
> 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!
> 

This is already present from <bits/fcntl.h> that is included by
<fcntl.h>. You have to define _GNU_SOURCE.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


--- End Message ---

Reply to: