Skip to content

freebsd: add SO_RERROR#5260

Merged
tgross35 merged 1 commit into
rust-lang:mainfrom
sbogomolov:freebsd-so-rerror
Jul 7, 2026
Merged

freebsd: add SO_RERROR#5260
tgross35 merged 1 commit into
rust-lang:mainfrom
sbogomolov:freebsd-so-rerror

Conversation

@sbogomolov

Copy link
Copy Markdown
Contributor

Description

Add the SO_RERROR socket option on FreeBSD. When enabled, the socket reports
receive errors instead of silently dropping them.

Sources

FreeBSD SO_RERROR (sys/sys/socket.h):

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are included
  • Tested locally (cd libc-test && cargo test --target mytarget)

@rustbot label +stable-nominated

@rustbot rustbot added S-waiting-on-review stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Jul 7, 2026
@sbogomolov sbogomolov force-pushed the freebsd-so-rerror branch from 7108807 to ae3b8f2 Compare July 7, 2026 13:15
@rustbot

rustbot commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@sbogomolov sbogomolov force-pushed the freebsd-so-rerror branch from ae3b8f2 to e493a66 Compare July 7, 2026 14:26

@JohnTitor JohnTitor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JohnTitor JohnTitor added this pull request to the merge queue Jul 7, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 7, 2026
@sbogomolov

sbogomolov commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

@JohnTitor Failed status check is flaky. Could you re-add it to the merge queue? Thanks!

@tgross35 tgross35 added this pull request to the merge queue Jul 7, 2026
Merged via the queue into rust-lang:main with commit 5848d31 Jul 7, 2026
57 checks passed
@sbogomolov sbogomolov deleted the freebsd-so-rerror branch July 7, 2026 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants