Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: fd used for saving redirected fds leaked to child processes
- X-seq: zsh-workers 41548
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: fd used for saving redirected fds leaked to child processes
- Date: Mon, 14 Aug 2017 08:31:29 -0700
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Lcso4+2aYp+ydkCsctXJfNZVEjjJUDxpwtngsm1iKUk=; b=bMkoMHKe8qaVWKJaUoY1n2kNrcVFviTZ0qbDhGbXeuemjXffpON1DFRSA64NpTnVy1 ys/ipaD2xhQVn+IzyIfaSvJzgu9dDBqrHO8ktsNybGZIUufJcihimjgE3aMIBa++h3mx HuQ56nIZzecJN4QpjPyl0xokEt7Mpx625SNec4Qx1w4+KL3IIYUrow7RvInHK8PDdoa5 /rNBAjNFywg1tYX0+rVPOBZy/J/vviVoipYIlN/9bu1VVUCfDZ0AZ2iLCLH7SxieIDEz SNmdVYeNa3+iOoH6QiwQvK9TSIvwt1iUYMjxgoETkBb0oW135czln8mAx3BL3h2HJhUA oe+Q==
- In-reply-to: <20170814162453.3374d09d@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20170813161207.GA6530@chaz.gmail.com> <20170813194939.7a96bc4b@ntlworld.com> <CGME20170813214600epcas4p4764cb5399e27ff0e52a1936ecdf49346@epcas4p4.samsung.com> <CAH+w=7Y3OaN0JJOo=jG-G+yRZ9NUqbNCGZBw6b452_nOWUAKMA@mail.gmail.com> <20170814100956.363c7ea8@pwslap01u.europe.root.pri> <CAH+w=7bUMdLYFd0aBE=xFCizZvkK6Msj93fOAFanF5vZO7QsKg@mail.gmail.com> <20170814162453.3374d09d@pwslap01u.europe.root.pri>
On Mon, Aug 14, 2017 at 8:24 AM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
> On Mon, 14 Aug 2017 07:49:52 -0700
> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>>
>> Another flag in the fdtable array?
>
> That probably works --- by default we've got to search 64 fd's
Perhaps something that it would work to put in a global is a value for
max_saved_fd so we only have to search from 11 - max no matter the
size of the actual fdtable array.
The max could be reset when the fds are closed.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author