Page MenuHomeFreeBSD

linux: stub io_uring_setup.
Needs ReviewPublic

Authored by philmb3487_proton.me on May 27 2026, 11:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 20, 10:41 AM
Unknown Object (File)
Sat, Jul 18, 7:41 PM
Unknown Object (File)
Sat, Jul 4, 3:15 AM
Unknown Object (File)
Fri, Jul 3, 6:53 AM
Unknown Object (File)
Tue, Jun 30, 12:34 AM
Unknown Object (File)
Mon, Jun 29, 1:29 PM
Unknown Object (File)
Jun 17 2026, 8:22 AM
Unknown Object (File)
Jun 10 2026, 9:32 PM
Subscribers

Details

Reviewers
None
Group Reviewers
Linux Emulation
Summary

linux: stub io_uring_setup.

Cmake on musl libc fails if io_uring_setup doesn't exist. This is
a system call that was added around ~2019 that adds support for
io_uring, but io_uring itself is not always enabled on modern Linux
distros. Therefore, stub with (EPERM) to let userspace know what to
do.

Signed-off-by: Philippe Michaud-Boudreault <philmb3487@proton.me>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 74836
Build 71719: arc lint + arc unit

Event Timeline

Based on feedback, remove comment text to be more neutral.

philmb3487_proton.me retitled this revision from linux: io_uring implemented as EPERM error. to linux: stub io_uring_setup..Wed, Jul 15, 8:14 PM
philmb3487_proton.me edited the summary of this revision. (Show Details)
philmb3487_proton.me edited the summary of this revision. (Show Details)

Reworked the commit message, and removed the function's comment as a follow up to feedback, in order to be more neutral.