-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bind comment updates #262
Bind comment updates #262
Conversation
There was a problem hiding this 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:
-
focus on why the code does something instead of what. For example, why did you insert an item into a data structure?
-
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.
-
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.
Please ping me for a review after you've had a chance to address all the comments. |
There was a problem hiding this 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.
@JustinCappos pinging for further review after updates |
There was a problem hiding this 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...
There was a problem hiding this 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!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
Commented out bind_syscall and all functions related to it