From: Jim Meyering <jim@meyering.net>
To: Bruno Haible <bruno@clisp.org>
Cc: "bug-gnulib@gnu.org List" <bug-gnulib@gnu.org>
Subject: Re: use O_CLOEXEC in more places
Date: Wed, 27 May 2020 15:21:33 -0700 [thread overview]
Message-ID: <CA+8g5KHCaN7erUD+n2j5ixiw6tK_XRxchJbYctdD3n06ex1QSg@mail.gmail.com> (raw)
In-Reply-To: <2127200.Gmmp1eMdPG@omega>
[-- Attachment #1: Type: text/plain, Size: 400 bytes --]
On Wed, May 27, 2020, 11:44 Bruno Haible <bruno@clisp.org> wrote:
> The gnulib module 'open' supports O_CLOEXEC since 2017-08-14. We can use it
> to make multithreaded application that call fork() and exec() more robust.
>
> Here are proposed patches.
>
> How about module 'fts'? Should the directory fds that it allocates also be
> made O_CLOEXEC?
>
Good idea. Thanks for all the improvements.
>
[-- Attachment #2: Type: text/html, Size: 914 bytes --]
next prev parent reply other threads:[~2020-05-27 22:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-27 18:43 use O_CLOEXEC in more places Bruno Haible
2020-05-27 21:55 ` Bernhard Voelker
2020-05-27 22:21 ` Jim Meyering [this message]
2020-05-27 23:33 ` Paul Eggert
2020-05-28 19:51 ` Bruno Haible
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+8g5KHCaN7erUD+n2j5ixiw6tK_XRxchJbYctdD3n06ex1QSg@mail.gmail.com \
--to=jim@meyering.net \
--cc=bruno@clisp.org \
--cc=bug-gnulib@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).