Skip to content

Fix linux incompatibilities in sockets API#253

Merged
hexagonal-sun merged 1 commit intohexagonal-sun:masterfrom
arihant2math:socket-fixups
Mar 8, 2026
Merged

Fix linux incompatibilities in sockets API#253
hexagonal-sun merged 1 commit intohexagonal-sun:masterfrom
arihant2math:socket-fixups

Conversation

@arihant2math
Copy link
Collaborator

@arihant2math arihant2math commented Mar 7, 2026

  • Add filtration to usertest to only run specific tests (Usage: usertest <substr>)
  • rename socket dir to net
  • Add sys_accept4 and ensure sys_accept actually sets socket addr
  • Allow MSG_NOSIGNAL for sys_sendto because we don't send a signal anyhow.
  • Implement sys_recvfrom
  • Update syscall table

This gets the test_rust_unix_socket test working, which is a non-contrived test of the capabilities of UDS stream sockets.

@arihant2math arihant2math force-pushed the socket-fixups branch 3 times, most recently from 9c3c7f7 to e43883e Compare March 7, 2026 19:12
@arihant2math arihant2math marked this pull request as ready for review March 7, 2026 23:26
Copy link
Owner

@hexagonal-sun hexagonal-sun left a comment

Choose a reason for hiding this comment

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

LGTM!

@hexagonal-sun hexagonal-sun merged commit 5becb38 into hexagonal-sun:master Mar 8, 2026
4 checks passed
@arihant2math arihant2math deleted the socket-fixups branch March 8, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants