[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use O_CLOEXEC in more places
From: |
Bernhard Voelker |
Subject: |
Re: use O_CLOEXEC in more places |
Date: |
Wed, 27 May 2020 23:55:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 2020-05-27 20:43, Bruno Haible wrote:
> How about module 'fts'? Should the directory fds that it allocates also be
> made O_CLOEXEC?
+1
I doubt that passing on those fds to any child is wanted/necessary.
At least that would be a bug for coreutils (rm,du,chmod,chgrp,chcon)
and findutils (find).
Thanks & have a nice day,
Berny