From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30944 invoked by alias); 2 Jul 2009 06:27:57 -0000 Received: (qmail 30906 invoked by uid 48); 2 Jul 2009 06:27:45 -0000 Date: Thu, 02 Jul 2009 06:27:00 -0000 Message-ID: <20090702062745.30905.qmail@sourceware.org> From: "drepper at redhat dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20090630233109.10353.martinrb@google.com> References: <20090630233109.10353.martinrb@google.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/10353] Methods for deleting all file descriptors greater than given integer X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00005.txt.bz2 ------- Additional Comments From drepper at redhat dot com 2009-07-02 06:27 ------- (In reply to comment #3) > Here's OpenBSD: > [...] > Here's NetBSD: > [...] This is *anything* but an argument in favor. > To provide more motivation, the idea is that you are in a > large multithreaded app that is swimming in a sea of unknown > file descriptors that may or may not have FD_CLOEXEC set, So, fix the code. We have O_CLOEXEC support as well. There is no reason to work around buggy code and this interface *actively* prevents innovations by usurping file descriptors. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX http://sourceware.org/bugzilla/show_bug.cgi?id=10353 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.