-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 - disable_bpf_loader_instructions
#35164
Cleanup - disable_bpf_loader_instructions
#35164
Conversation
3021fd4
to
d90155c
Compare
464141f
to
f3042ee
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #35164 +/- ##
=========================================
- Coverage 81.6% 81.6% -0.1%
=========================================
Files 833 833
Lines 224827 224744 -83
=========================================
- Hits 183523 183435 -88
- Misses 41304 41309 +5 |
@Lichtso I pushed a few commits to update the test and bench. CI passed. I think this PR is ready. Can you take a look? |
5f8e830
to
c8709df
Compare
c6d9ca4
to
a01bdbd
Compare
This reverts commit f3042ee.
a01bdbd
to
86b48a6
Compare
Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis. |
* Cleans up disable_bpf_loader_instructions. * fix test_program_sbf_disguised_as_sbf_loader * remove bpf loader execute bench * Revert "remove bpf loader execute bench" This reverts commit f3042ee. * move test utility functions out of test file * update bench to loader v3 * clippy * fix dev-context build * fix dev-context import * dev-context-util * move dev-context-util attr to module level for loader_utils --------- Co-authored-by: HaoranYi <[email protected]> (cherry picked from commit d472725) # Conflicts: # programs/bpf_loader/src/lib.rs
* Cleans up disable_bpf_loader_instructions. * fix test_program_sbf_disguised_as_sbf_loader * remove bpf loader execute bench * Revert "remove bpf loader execute bench" This reverts commit f3042ee. * move test utility functions out of test file * update bench to loader v3 * clippy * fix dev-context build * fix dev-context import * dev-context-util * move dev-context-util attr to module level for loader_utils --------- Co-authored-by: HaoranYi <[email protected]> (cherry picked from commit d472725)
… (#35209) Cleanup - `disable_bpf_loader_instructions` (#35164) * Cleans up disable_bpf_loader_instructions. * fix test_program_sbf_disguised_as_sbf_loader * remove bpf loader execute bench * Revert "remove bpf loader execute bench" This reverts commit f3042ee. * move test utility functions out of test file * update bench to loader v3 * clippy * fix dev-context build * fix dev-context import * dev-context-util * move dev-context-util attr to module level for loader_utils --------- Co-authored-by: HaoranYi <[email protected]> (cherry picked from commit d472725) Co-authored-by: Alexander Meißner <[email protected]>
Replace bpf_loader::id() with bpf_loader_upgradeable::id()
Replace bpf_loader::id() with bpf_loader_upgradeable::id()
Problem
The feature was forced in v1.17.20 on MNB.
Summary of Changes
Removes it from master and v1.18 as well to stay in sync.
Feature Gate Issue: #34424