Skip to content

Add syscall handlers for sendmsg() and recvmsg()#2811

Merged
stevenengler merged 7 commits intoshadow:mainfrom
stevenengler:readv-writev
Mar 29, 2023
Merged

Add syscall handlers for sendmsg() and recvmsg()#2811
stevenengler merged 7 commits intoshadow:mainfrom
stevenengler:readv-writev

Conversation

@stevenengler
Copy link
Copy Markdown
Contributor

@stevenengler stevenengler commented Mar 28, 2023

For each sendto/recvfrom test, we also now test sendmsg/recvmsg, but this only tests the simple cases of sendmsg and recvmsg (for example, no control data, a single iovec, doesn't return the message flags, etc). In the future we should add more complex tests, but these tests do make sure we're handling the simple cases correctly (for example correctly returning the socket address, blocking behaviour, etc).

@stevenengler stevenengler self-assigned this Mar 28, 2023
@github-actions github-actions bot added Component: Build Build/install tools and dependencies Component: Main Composing the core Shadow executable Component: Testing Unit and integration tests and frameworks labels Mar 28, 2023
@stevenengler stevenengler force-pushed the readv-writev branch 2 times, most recently from 929f475 to 5bb69dd Compare March 28, 2023 22:13
@stevenengler stevenengler requested a review from sporksmith March 28, 2023 22:13
@stevenengler stevenengler enabled auto-merge March 29, 2023 18:39
@stevenengler stevenengler merged commit d24105f into shadow:main Mar 29, 2023
@stevenengler stevenengler deleted the readv-writev branch March 29, 2023 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Build Build/install tools and dependencies Component: Main Composing the core Shadow executable Component: Testing Unit and integration tests and frameworks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants