Page MenuHomeFreeBSD

Unbreak MSG_CMSG_CLOEXEC
ClosedPublic

Authored by arichardson on Mar 18 2021, 5:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 24 2025, 6:26 PM
Unknown Object (File)
Feb 10 2025, 1:08 PM
Unknown Object (File)
Feb 9 2025, 10:00 AM
Unknown Object (File)
Feb 2 2025, 7:57 PM
Unknown Object (File)
Jan 28 2025, 10:17 AM
Unknown Object (File)
Jan 25 2025, 7:46 PM
Unknown Object (File)
Jan 25 2025, 7:29 PM
Unknown Object (File)
Jan 17 2025, 1:20 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