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 to ModuleInitFlags bitflags #2463

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

Conversation

sinkingpoint
Copy link
Contributor

This is needed to be able to load compressed kernel modules.

What does this PR do

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

@sinkingpoint sinkingpoint force-pushed the sinkingpoint/init_compressed_module branch from 520f2f6 to ddd9beb Compare July 22, 2024 04:22
This is needed to be able to load compressed kernel modules.

Signed-off-by: sinkingpoint <[email protected]>
@sinkingpoint sinkingpoint force-pushed the sinkingpoint/init_compressed_module branch from ddd9beb to e5a1c2d Compare July 22, 2024 04:23
@sinkingpoint
Copy link
Contributor Author

Solves #2462

@sinkingpoint
Copy link
Contributor Author

So... This is actually missing from libc, which is presumably why it wasn't added before. Lemme PR there...

@SteveLauC
Copy link
Member

Lemme PR there...

Nix uses libc from branch libc-0.2 as the main branch targets libc version 1.0, which will have breaking changes, so I recommended sending 2 PR to the libc crate, one for main, the other one for libc-0.2.

@sinkingpoint
Copy link
Contributor Author

Two PRs to track:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants