>From [EMAIL PROTECTED] Tue Feb 13 18:52:51 2001
>Return-Path: <[EMAIL PROTECTED]>
Received: from hera.kernel.org (IDENT:[EMAIL PROTECTED] [209.10.217.83])
by gateway.camelot.jp (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id SAA11333
for <[EMAIL PROTECTED]>; Tue, 13 Feb 2001 18:52:49 +0900
Received: (from majordom@localhost)
by hera.kernel.org (8.9.3/8.9.3) id BAA29851
for autofs-list; Tue, 13 Feb 2001 01:08:29 -0800
Received: from gw.goop.org ([EMAIL PROTECTED]
[206.170.148.147])
by hera.kernel.org (8.9.3/8.9.3) with ESMTP id BAA29848
for <[EMAIL PROTECTED]>; Tue, 13 Feb 2001 01:08:28 -0800
Received: from ixodes.goop.org (ixodes [192.168.0.5])
by gw.goop.org (Postfix) with ESMTP
id 4090E62002; Tue, 13 Feb 2001 01:08:28 -0800 (PST)
Received: by ixodes.goop.org (Postfix, from userid 0)
id 08B86104B6; Tue, 13 Feb 2001 01:08:28 -0800 (PST)
Date: Tue, 13 Feb 2001 01:08:27 -0800
From: Jeremy Fitzhardinge <[EMAIL PROTECTED]>
To: "H. Peter Anvin" <[EMAIL PROTECTED]>
Cc: Mike Lemoine <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: atuofs and redhat 7
Message-ID: <[EMAIL PROTECTED]>
References: <Pine.LNX.4.21.0102121804250.10942-100000@discordia>
<[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Mon, Feb 12,
2001 at 06:14:50PM -0800
Sender: [EMAIL PROTECTED]
Precedence: bulk
Status: O
Content-Length: 335
Lines: 10
On Mon, Feb 12, 2001 at 06:14:50PM -0800, H. Peter Anvin wrote:
> Actually, it's 256. This is used to close all file descriptors; anyone
> know of a better way to do this?
readdir /proc/self/fd?
Actually, lookup_program only uses OPEN_MAX as the arg to select(). You just need
to pass it the greater of pipefd or epipefd (+1).
J