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
Differential revision: https://reviews.freebsd.org/D41708
MFC after: 1 week

Details

Provenance
Vico Chen <vico.chern_qq.com>Authored on Sep 5 2023, 8:53 AM
dchaginCommitted on Sep 5 2023, 8:53 AM
Reviewer
dchagin
Differential Revision
D41708: Linux ABI timerfd can't work on FreeBSD 14 stable.
Parents
rG11e37048db35: linux(4): Return ENOTSUP from listxattr instead of EPERM
Branches
Unknown
Tags
Unknown