[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ddrescue] [PATCH 6/7] [clang-tidy] Use O_CLOEXEC when opening f

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: 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.


          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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]