HomeFreeBSD

Unbreak MSG_CMSG_CLOEXEC

Description

Unbreak MSG_CMSG_CLOEXEC

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")
MFC after: 3 days
Reviewed By: mjg, kib
Differential Revision: https://reviews.freebsd.org/D29328

Details

Provenance
arichardsonAuthored on Mar 18 2021, 8:52 PM
Reviewer
mjg
Differential Revision
D29328: Unbreak MSG_CMSG_CLOEXEC
Parents
rGc853c53d024a: Add Chacha20+Poly1035 to the list of AEAD algorithms.
Branches
Unknown
Tags
Unknown