[PATCH v2 1/4] hurd: Don't pass FD_CLOEXEC in CMSG_DATA

Sergey Bugaev bugaevc@gmail.com
Mon Apr 24 21:13:24 GMT 2023


On Tue, Apr 25, 2023 at 12:02 AM Samuel Thibault
<samuel.thibault@gnu.org> wrote:
> The two patches actually make me realize that there was a confusion here
> between FD_* flags and O_* flags. _hurd_intern_fd definitely takes O_*
> flags (and translates O_CLOEXEC to FD_CLOEXEC). If we are to transport
> some flags, it'd probably rather be O_* flags. I'll commit that way.

Right, good point.

Sergey


More information about the Libc-alpha mailing list