Skip to content
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

Add MODULE_INIT_COMPRESSED_FILE definition #3782

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sinkingpoint
Copy link

@sinkingpoint sinkingpoint commented Jul 22, 2024

This adds in the definition for MODULE_INIT_COMPRESSED_FILE so that we can use it in the init_module class of functions to load compressed modules

Fixes #3781

@rustbot
Copy link
Collaborator

rustbot commented Jul 22, 2024

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) some time within the next two weeks.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@sinkingpoint sinkingpoint force-pushed the sinkingpoint/MODULE_INIT_COMPRESSED_FILE branch from 3f870fa to a9c80e2 Compare July 25, 2024 07:16
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Aug 12, 2024
Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

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

@tgross35 tgross35 force-pushed the sinkingpoint/MODULE_INIT_COMPRESSED_FILE branch from a9c80e2 to 0663010 Compare August 12, 2024 22:28
@tgross35 tgross35 disabled auto-merge August 12, 2024 23:59
@tgross35
Copy link
Contributor

It looks like there may be some platforms where this isn't available. Could you please take a look at the failures on the latest CI?

@rustbot author

@nathaniel-bennett
Copy link
Contributor

It looks like MOD_INIT_COMPRESSED_FILE was added in Linux 5.17. My guess is that the arm test is failing because it's the first test that runs on a version of Linux older than that.

@tgross35
Copy link
Contributor

tgross35 commented Nov 19, 2024

@sinkingpoint could you rebase to get a fresh run of tests? This probably just needs something added in libc-test/build.rs to account for the kernel versions this is available on, as mentioned by @nathaniel-bennett

@tgross35 tgross35 force-pushed the sinkingpoint/MODULE_INIT_COMPRESSED_FILE branch from cb167da to 8b35a41 Compare November 21, 2024 20:25
@tgross35
Copy link
Contributor

I pushed your branch with a rebase just to get fresh CI. Seems like this will need to be disabled on at least a few platforms.

@bors
Copy link
Contributor

bors commented Nov 27, 2024

☔ The latest upstream changes (presumably #4132) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-android O-linux O-unix S-waiting-on-author stable-nominated This PR should be considered for cherry-pick to libc's stable release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MODULE_INIT_COMPRESSED_FILE is missing for linux
7 participants