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

Re: Processed: Bug#679198: bash: [on native FreeBSD] unable to set FD_CLOEXEC flag



On 29/06/12 20:28, Robert Millan wrote:
> The problem is that userland isn't actually using O_CLOEXEC, because
> its declaration is missing in glibc headers.  Actually it's already
> been reported: see #679198.

#679198 is this bug.  Did you mean #635192?

In /usr/include/i386-kfreebsd-gnu/bits/fcntl.h :

> #if _POSIX_C_SOURCE >= 200809L
> #define O_TTY_INIT      0x00080000      /* Restore default termios attributes */
> /* Defining O_CLOEXEC would break kfreebsd 8.1, see #635192 */
> /* #define O_CLOEXEC    0x00100000 */
> #endif

So it is undefined on purpose?

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: