HomeFreeBSD

linux(4): Convert flags in timerfd_create

Description

linux(4): Convert flags in timerfd_create

The timerfd is introduced in FreeBSD 14, and the Linux ABI timerfd is
also moved to FreeBSD native timerfd, but it can't work well as Linux
TFD_CLOEXEC and TFD_NONBLOCK haven't been converted to FreeBSD
TFD_CLOEXEC and TFD_NONBLOCK.

Reviewed by: dchagin, jfree
PR: 273662
Differential revision: https://reviews.freebsd.org/D41708
MFC after: 1 week

(cherry picked from commit aadc14bceb4e94f5b75a05de96cd9619b877b030)

Details

Provenance
Vico Chen <vico.chern_qq.com>Authored on Sep 5 2023, 8:53 AM
dchaginCommitted on Sep 12 2023, 7:47 AM
Reviewer
dchagin
Differential Revision
D41708: Linux ABI timerfd can't work on FreeBSD 14 stable.
Parents
rG6b2f0a3c31db: stand: lua: module names should permit more
Branches
Unknown
Tags
Unknown