[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use O_CLOEXEC in more places
From: |
Bruno Haible |
Subject: |
Re: use O_CLOEXEC in more places |
Date: |
Thu, 28 May 2020 21:51:29 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; ) |
Paul Eggert wrote:
> > How about module 'fts'? Should the directory fds that it allocates also be
> > made O_CLOEXEC?
>
> Yes, I'd say so; I see little reason for a child process to continue an fts
> scan.
Done through this patch. In fact, you had already done most of the work
on 2017-08-12.
Bruno
0001-fts-Make-more-robust-in-multithreaded-applications.patch
Description: Text Data