-
Notifications
You must be signed in to change notification settings - Fork 252
Canonicalize pin paths #4274
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
Canonicalize pin paths #4274
Conversation
scripts/check_binary_dependencies_ebpfapi_dll_regular_debug.txt
Outdated
Show resolved
Hide resolved
888ff28
to
8717508
Compare
81b2d93
to
a20d9c8
Compare
bb70b64
to
b5fc392
Compare
38dae0b
to
180a1c9
Compare
@@ -325,8 +325,8 @@ function Invoke-CICDTests | |||
# That causes the regression test to fail. So, we are skipping this test for now. | |||
|
|||
$TestList = @( | |||
(New-TestTuple -Test "api_test.exe" -Arguments "~`"load_native_program_invalid4`"" -Timeout 600), | |||
(New-TestTuple -Test "bpftool_tests.exe"), | |||
(New-TestTuple -Test "api_test.exe" -Arguments "~`"load_native_program_invalid4`" ~pinned_map_enum" -Timeout 600), |
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.
nit: unrelated to this PR: test case load_native_program_invalid4
has been deleted from the repo for some time now. And now that we dont run regression tests against 0.17, we can remove this exclusion of load_native_program_invalid4
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.
Since unrelated to this PR, please file a separate issue so we can discuss it in triage meeting. :)
Added a couple of minor comments. Rest looks fine. |
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Don't test literal pin paths in this tool Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Per feedback from Anurag Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
7ccd608
to
59ad375
Compare
@saxena-anurag @lmb please re-review/approve now that I have addressed Anurag's feedback. Thanks! |
@saxena-anurag @lmb please re-review/approve now that I have addressed Anurag's feedback. Thanks! |
@Alan-Jowett or @lmb please re-review/approve now that I have addressed Anurag's feedback. Thanks! |
Description
ebpf_get_next_pinned_object_path()
where the start_path cannot be null.Fixes #4239
Note: on Linux, pin paths are case sensitive, and so any programs ported from Linux may assume case sensitivity.
On Windows, it varies by filesystem, where Windows itself supports both case sensitive filesystems and case insensitive filesystems. The latter is the normal filesystem on Windows, but if we later support a BPF filesystem, we can make it be case sensitive, for ease of porting from Linux. As such, this PR uses case sensitive pin paths. This is not a change for ebpf-for-windows, which already had case-sensitive pin paths.
Testing
This PR contains associated tests.
Documentation
This PR includes a design doc added to the docs directory.
Installation
No impact.