Skip to content

user_connectat: correctly pass fd through - #2754

Merged
bsdjhb merged 1 commit into
devfrom
fix-connectat
Nov 11, 2026
Merged

bsdjhb merged 1 commit into
devfrom
fix-connectat

Conversation

@brooksdavis

Copy link
Copy Markdown
Member

In the original adaptation of connect/connectat to use user_connectat in CheriBSD, I failed to pass the fd through in the connectat case and always passed AT_FDCWD. This did trigger failures in the unix_connectat test which I somehow missed in prior test runs.

Reported by: llm-postcr

(cherry picked from commit 431cc94c0395205f7859d5f65289f9f2ebbe8162)

This fixes a bug in 8a26c8f

In the original adaptation of connect/connectat to use user_connectat in
CheriBSD, I failed to pass the fd through in the connectat case and
always passed AT_FDCWD.  This did trigger failures in the unix_connectat
test which I somehow missed in prior test runs.

Reported by:	llm-postcr

(cherry picked from commit 431cc94c0395205f7859d5f65289f9f2ebbe8162)
@bsdjhb bsdjhb added the ready-to-land PR is ready to land after revisions label Nov 11, 2026
@bsdjhb
bsdjhb merged commit a26c595 into dev Nov 11, 2026
25 of 30 checks passed
@bsdjhb
bsdjhb deleted the fix-connectat branch November 11, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-land PR is ready to land after revisions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants