Page MenuHomeFreeBSD

Unbreak MSG_CMSG_CLOEXEC
ClosedPublic

Authored by arichardson on Mar 18 2021, 5:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 6, 7:05 AM
Unknown Object (File)
Mon, Mar 30, 4:18 PM
Unknown Object (File)
Mon, Mar 30, 10:54 AM
Unknown Object (File)
Mar 6 2026, 7:58 AM
Unknown Object (File)
Feb 23 2026, 11:23 PM
Unknown Object (File)
Feb 17 2026, 10:26 AM
Unknown Object (File)
Feb 13 2026, 11:36 PM
Unknown Object (File)
Feb 13 2026, 11:30 AM
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