Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15209
| Path | csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Sam Liddicott <sam@liddicott.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: leaks fd for internal functions but not external command |
| Date | Tue, 23 Jul 2019 16:15:16 +0100 |
| Lines | 15 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.2078.1563894957.2688.bug-bash@gnu.org> (permalink) |
| References | <CAOj-5WDk=8kt=J8wO23giFVWRp5=_GbCNB2HQO87Upc4kkTg+g@mail.gmail.com> <5c34ecd5-c8b2-7000-46bc-1bbe3f71f163@case.edu> <CAOj-5WCFbUoU1x2aUvidT1opUbGeG2jFSaM__ch=SUAfzQbQ9w@mail.gmail.com> <78679ee9-fdaf-5180-d32f-81d92b936538@case.edu> <CAOj-5WBei5KMar7c967=jSwZRsW-Rz-0iL20TQMeuQoz61rfkw@mail.gmail.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Trace | usenet.stanford.edu 1563894958 18518 209.51.188.17 (23 Jul 2019 15:15:58 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-bash@gnu.org, bash@packages.debian.org |
| To | Chester Ramey <chet.ramey@case.edu> |
| Envelope-to | bug-bash@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=liddicott-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GF/mIywLjfvyFq471FQqL+t3zl5P7cPzgpCS6ZPqDGo=; b=ibaXf9aI3GD1XFClz5EYDD2ojGRrtLKZCFSmGVzFqgT/enlebQ68lJ1nWW4JOZAhJY fS3Bo8DNvM77zZ5Y0qki7H8ttGNTQ7xBuOAnGYuoFCS5CELhNdjUpbmPVdC2RXaXZRdt OnpeAuFJjJeGfUUVbCZe8jATBBvxBJM3Hkdpqq6hbpurBuuZSe7AVOu0fxgFokdj6i/O rnKMOjIPp+lia816yNL6o3ja7mX63byFQMoxKKMp5+BjF5xrr6PZfTTIS0UstUM+Nbop bRAo23664JosBX+WDNoYuG7zASgu5goZ5HW+xTdAVHH9irRrnnWG5FxNN4gHHJek9s3n ALiQ== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GF/mIywLjfvyFq471FQqL+t3zl5P7cPzgpCS6ZPqDGo=; b=ueJLjfD31OvbTeYEEpNjwfN3zuSB+ZgICPBc2masyUC7MbZfWT/Y/DEpXKArMFSuu6 grUiZjqAKPAbmxkbBbnBeDlB/Vydx554MwaUroWTgKLY1fEuxcQgbtGxOkmvEVGzT+39 cR/51jKxuIoTUHX4xL7rwi5Xk+YsMyJmmUhFZses1dNNCh/lNWoxEirDwm80lOjY0/2m uS1Y9ji5QkbaBlvwnr9HScUflLXSBdh/1ubxepHKl3SdoppumPreRcIBtOk5XJhfJPPW 32Z4O4TTbo785XISVpsbcbUwgVvIb5Od+wMWZt4X6w+pAJxuxmIyH7tjC+bnZ0l0CwXX WMKg== |
| X-Gm-Message-State | APjAAAVgiNpTeGzghsvwYSfxjhu0yCjtRERqMKccARygcV26dluXaVOW eXUjwzjm7YURn7kz69S0d9cUL4G0kq+i1EBV+4A= |
| X-Google-Smtp-Source | APXvYqyj2URGH44MGQ4842PMqfM+/X6vqmcFzZ+kqlWn55HxevIcSOZAeh8Uwg0JL/L11EAXUTJ6IKpQvFq+WukyYak= |
| X-Received | by 2002:a19:7616:: with SMTP id c22mr36228525lff.115.1563894952360; Tue, 23 Jul 2019 08:15:52 -0700 (PDT) |
| In-Reply-To | <78679ee9-fdaf-5180-d32f-81d92b936538@case.edu> |
| X-detected-operating-system | by eggs.gnu.org: Genre and OS details not recognized. |
| X-Received-From | 2a00:1450:4864:20::12c |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.23 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <CAOj-5WBei5KMar7c967=jSwZRsW-Rz-0iL20TQMeuQoz61rfkw@mail.gmail.com> |
| X-Mailman-Original-References | <CAOj-5WDk=8kt=J8wO23giFVWRp5=_GbCNB2HQO87Upc4kkTg+g@mail.gmail.com> <5c34ecd5-c8b2-7000-46bc-1bbe3f71f163@case.edu> <CAOj-5WCFbUoU1x2aUvidT1opUbGeG2jFSaM__ch=SUAfzQbQ9w@mail.gmail.com> <78679ee9-fdaf-5180-d32f-81d92b936538@case.edu> |
| Xref | csiph.com gnu.bash.bug:15209 |
Show key headers only | View raw
On Tue, 23 Jul 2019 at 16:13, Chet Ramey <chet.ramey@case.edu> wrote: > On 7/23/19 11:11 AM, Sam Liddicott wrote: > > > The report concerns the different behaviour with internal and external > > operations. > > Right. The close-on-exec is deliberate. That's how it was intended. > Doesn't close-on-exec usually takes effect only on the process that does the exec? i.e. the fork that does the exec, not the parent process? Sam
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: leaks fd for internal functions but not external command Sam Liddicott <sam@liddicott.com> - 2019-07-23 16:15 +0100
csiph-web