Page MenuHomeFreeBSD

Unbreak MSG_CMSG_CLOEXEC
ClosedPublic

Authored by arichardson on Mar 18 2021, 5:33 PM.
Tags
None
Referenced Files
F170813495: D29328.diff
Sun, Sep 6, 7:22 PM
F170789271: D29328.id.diff
Sun, Sep 6, 3:37 PM
F170774086: D29328.id.diff
Sun, Sep 6, 1:41 PM
F170754608: D29328.id85998.diff
Sun, Sep 6, 10:35 AM
Unknown Object (File)
Sat, Sep 5, 8:31 PM
Unknown Object (File)
Sat, Sep 5, 3:54 AM
Unknown Object (File)
Fri, Sep 4, 6:25 PM
Unknown Object (File)
Thu, Sep 3, 10:22 PM
Subscribers

Details

Summary

MSG_CMSG_CLOEXEC has not been working since 2015 (SVN r284380) because
_finstall expects O_CLOEXEC and not UF_EXCLOSE as the flags argument.
This was probably not noticed because we don't have a test for this flag
so this commit adds one. I found this problem because one of the
libwayland tests was failing.

Fixes: ea31808c3b07 ("fd: move out actual fp installation to _finstall")

Test Plan

Newly added test failed before, passes now.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable