-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Removed dup code from jailer/env/clone() #4677
Removed dup code from jailer/env/clone() #4677
Conversation
6017523
to
d6fe56f
Compare
Hi @seafoodfry, Now, Firecracker sets both of those arguments to |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4677 /- ##
==========================================
Coverage 82.08% 82.09% 0.01%
==========================================
Files 255 255
Lines 31312 31308 -4
==========================================
Hits 25701 25701
Misses 5611 5607 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thank you for your review @roypat ! |
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.
Thanks!
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.
@seafoodfry Thank you for your contribution! LGTM, but could you please fix styling issues to merge this?
- Make the line length <= 72 in commit message: https://buildkite.com/firecracker/firecracker-pr/builds/10303#0190b505-1bb0-49cd-b29d-fc603cda7f06/62-187
- Remove unneeded
return
statement: https://buildkite.com/firecracker/firecracker-pr/builds/10303#0190b505-1bb4-40fe-93b7-654df4eb0b32/8-360
d39a545
to
3140f44
Compare
Thank you both for the tips! |
Thanks! Could you also squash the commit about removing the |
There were no differences between the x86_64 and the aarch64 versions of the clone sys call. Signed-off-by: seafoodfry <99568361 [email protected]>
Used https://man7.org/linux/man-pages/man2/clone.2.html#VERSIONS as reference Signed-off-by: seafoodfry <99568361 [email protected]>
f6e527a
to
bd099cd
Compare
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.
Thank you for your contribution!! Looks good to me!
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.
Apologies for the late review, I was on vacation last week. Everything looks good to me, thanks for this!!
Changes
Found duplicated code while reviewing the jailer.
There were no differences between the x86_64 and the aarch64 versions of the clone sys call.
Reason
Cleanup
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
PR.
CHANGELOG.md
.TODO
s link to an issue.contribution quality standards.
rust-vmm
.