Skip to content

linux: add SO_DETACH_REUSEPORT_BPF#5081

Open
swananan wants to merge 1 commit intorust-lang:mainfrom
swananan:so-detach-reuseport-bpf
Open

linux: add SO_DETACH_REUSEPORT_BPF#5081
swananan wants to merge 1 commit intorust-lang:mainfrom
swananan:so-detach-reuseport-bpf

Conversation

@swananan
Copy link
Copy Markdown

@swananan swananan commented Apr 25, 2026

Description

Add SO_DETACH_REUSEPORT_BPF for Linux, following the same approach as #3917.

This exposes the constant on the Linux arch modules that define socket option values directly (generic, mips, powerpc, and sparc) and updates the Linux semver list.

SO_DETACH_REUSEPORT_BPF is already defined by musl starting in v1.2.0, but libc CI still runs old-musl jobs as well, so the libc-test constant check is still skipped for musl.

Sources

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are
    included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget);
    especially relevant for platforms that may not be checked in CI

@swananan
Copy link
Copy Markdown
Author

Looks like CI is flaky, will retry this tomorrow.

@swananan swananan force-pushed the so-detach-reuseport-bpf branch from 8db9076 to 817167c Compare April 26, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants