Page MenuHomeFreeBSD

Unbreak MSG_CMSG_CLOEXEC
ClosedPublic

Authored by arichardson on Mar 18 2021, 5:33 PM.
Tags
None
Referenced Files
F157991667: D29328.id85998.diff
Wed, May 27, 6:17 AM
Unknown Object (File)
Mon, May 25, 3:25 PM
Unknown Object (File)
Thu, May 21, 6:18 AM
Unknown Object (File)
Tue, May 12, 6:52 PM
Unknown Object (File)
Wed, May 6, 3:42 AM
Unknown Object (File)
Tue, May 5, 3:41 PM
Unknown Object (File)
Apr 26 2026, 4:56 PM
Unknown Object (File)
Apr 24 2026, 4:50 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37917
Build 34806: arc lint + arc unit