Skip to content

Bind comment updates#262

Merged
JustinCappos merged 4 commits intodevelopfrom
bind-comment-updates
Jun 20, 2024
Merged

Bind comment updates#262
JustinCappos merged 4 commits intodevelopfrom
bind-comment-updates

Conversation

@davidge20
Copy link
Copy Markdown
Contributor

Description

Commented out bind_syscall and all functions related to it

Copy link
Copy Markdown
Member

@JustinCappos JustinCappos left a comment

Choose a reason for hiding this comment

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

Overall, it's a good first pass. At a high level:

  1. focus on why the code does something instead of what. For example, why did you insert an item into a data structure?

  2. Feel free to say when you are not sure. This is totally normal and something I do when writing my own code. Don't be shy to do this more often.

  3. if you want to cite a source go ahead. For example, if you read a manpage to understand something or looked at an article, it's okay to drop a link, especially if the concept is complicated. This might be helpful for some of the setsockopt activities and related flags.

Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
@davidge20 davidge20 requested a review from JustinCappos June 14, 2024 21:06
@JustinCappos
Copy link
Copy Markdown
Member

Please ping me for a review after you've had a chance to address all the comments.

@davidge20 davidge20 closed this Jun 14, 2024
@davidge20 davidge20 reopened this Jun 14, 2024
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Copy link
Copy Markdown
Contributor

@rennergade rennergade left a comment

Choose a reason for hiding this comment

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

Requested some minor changes. Also should add some tests, bind is used in most of the net tests in the test suite already, but worth adding some explicit edge cases.

@davidge20
Copy link
Copy Markdown
Contributor Author

@JustinCappos pinging for further review after updates

Copy link
Copy Markdown
Member

@JustinCappos JustinCappos left a comment

Choose a reason for hiding this comment

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

It's close. Please fix the things I mentioned (if something isn't clear, let me know) and then have Yash or Nick merge...

Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Comment thread src/safeposix/syscalls/net_calls.rs Outdated
Copy link
Copy Markdown
Contributor

@rennergade rennergade left a comment

Choose a reason for hiding this comment

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

I think this is good to go. Approved!

Copy link
Copy Markdown
Member

@JustinCappos JustinCappos left a comment

Choose a reason for hiding this comment

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

LGTM!

@JustinCappos JustinCappos merged commit bac475f into develop Jun 20, 2024
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.

3 participants