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 15 2024, 5:52 AM
Unknown Object (File)
Feb 4 2024, 11:26 PM
Unknown Object (File)
Feb 1 2024, 9:41 PM
Unknown Object (File)
Dec 30 2023, 9:14 PM
Unknown Object (File)
Dec 20 2023, 6:00 AM
Unknown Object (File)
Dec 14 2023, 2:08 AM
Unknown Object (File)
Dec 12 2023, 4:11 AM
Unknown Object (File)
Nov 9 2023, 9:36 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable