Skip to content

syscall: add getifaddrs to os syscalls#18513

Merged
junr03 merged 7 commits intomainfrom
getifaddrs-syscall
Oct 9, 2021
Merged

syscall: add getifaddrs to os syscalls#18513
junr03 merged 7 commits intomainfrom
getifaddrs-syscall

Conversation

@junr03
Copy link
Copy Markdown
Member

@junr03 junr03 commented Oct 8, 2021

Commit Message: syscall - add getifaddrs to os syscalls
Additional Description: formalize getifaddrs into os syscalls.
Risk Level: low
Testing: existing calling code and UT over that code.

Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Thanks for working on this. Should there be some test for this?

/wait

@junr03
Copy link
Copy Markdown
Member Author

junr03 commented Oct 8, 2021

Should there be some test for this?

AFAICT there is no direct testing class for OsSysCalls, but instead the functions are indirectly covered by tests that use them. In this case the test that covers Network::Utility::getLocalAddress

Signed-off-by: Jose Nino <jnino@lyft.com>
Jose Nino added 2 commits October 8, 2021 15:23
Signed-off-by: Jose Nino <jnino@lyft.com>
Signed-off-by: Jose Nino <jnino@lyft.com>
mattklein123
mattklein123 previously approved these changes Oct 8, 2021
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Thanks!

Signed-off-by: Jose Nino <jnino@lyft.com>
mattklein123
mattklein123 previously approved these changes Oct 8, 2021
fmt
Signed-off-by: Jose Nino <jnino@lyft.com>
Copy link
Copy Markdown
Member

@phlax phlax left a comment

Choose a reason for hiding this comment

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

on the basis of tacit approval from @mattklein123 - lgtm

@junr03 junr03 merged commit fc04382 into main Oct 9, 2021
goaway added a commit to goaway/envoy that referenced this pull request Oct 11, 2021
This reverts commit fc04382.

Signed-off-by: Mike Schore <mike.schore@gmail.com>
mattklein123 pushed a commit that referenced this pull request Oct 11, 2021
This reverts commit fc04382.

Signed-off-by: Mike Schore <mike.schore@gmail.com>
@mattklein123 mattklein123 deleted the getifaddrs-syscall branch November 9, 2021 04:12
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