-
Notifications
You must be signed in to change notification settings - Fork 174
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
cleanup(driver): fix flags param #1469
Conversation
Please double check driver/API_VERSION file. See versioning. /hold |
aa3a955
to
da8036f
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.
Ty! We may need another rebase.
da8036f
to
abc2dc4
Compare
a724a4c
to
5c1cec3
Compare
Signed-off-by: Everett Badeaux <[email protected]>
5c1cec3
to
6f858e7
Compare
@incertum Should be good now. |
@incertum @Andreagit97 changes implemented |
I just started kernel matrixes tests against this branch, to check whether we break anything! |
2992202
to
0749ad0
Compare
@incertum @Andreagit97 |
Matrix for arm64:
Matrix for x86_64:
No regressions from master! |
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.
/approve
LGTM label has been added. Git tree hash: 250e9c1d7f2b4796dccbd6ea818149a4ab8cc628
|
/hold |
I think that the right way to do that would be to change the proto message libs/userspace/libscap/engine/gvisor/proto/pkg/sentry/seccheck/points/syscall.proto Line 170 in 4e9a3cc
|
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.
/approve
That proto is vendored from gVisor and we should not change it directly in the Falco codebase. I think a cast (implicit like it is now or explicit) is fine in this case. |
Signed-off-by: Everett Badeaux <[email protected]>
0749ad0
to
6bedbae
Compare
Can you guys reapprove @FedeDP @Andreagit97 and merge? I added the explicit cast to parsers.cpp now everything is consistent. |
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.
/approve
LGTM label has been added. Git tree hash: 884e361d2e608978aa3dd7dfdad4b3190ba1dcbe
|
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Andreagit97, ecbadeaux, FedeDP, incertum The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/unhold |
What type of PR is this?
/kind bug
/kind cleanup
Any specific area of the project related to this PR?
/area driver-bpf
Does this PR require a change in the driver versions?
I am not sure about this.
What this PR does / why we need it:
I am trying to address the issue where dup3 is handling the flag params as an unsigned integer when it should be handling it as in int.
Which issue(s) this PR fixes:
part of #515
(partial fix other issues still remain in 515)
Special notes for your reviewer:
Does this PR introduce a user-facing change?: