|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ddrescue] [PATCH 6/7] [clang-tidy] Use O_CLOEXEC when opening files |
Date: | Wed, 16 Oct 2019 19:22:33 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Rosen Penev wrote:
Found with android-cloexec-open This is mainly useful with SELinux is my understanding. Requires POSIX 2008.
From POSIX: O_CLOEXEC The FD_CLOEXEC flag associated with the new descriptor shall be set to close the file descriptor upon execution of an exec family function. But ddrescue does not call any function from the exec family. BTW, are you running ddrescue on android?
[Prev in Thread] | Current Thread | [Next in Thread] |