Skip to content

Commit

Permalink
Add MODULE_INIT_COMPRESSED_FILE to ModuleInitFlags bitflags
Browse files Browse the repository at this point in the history
This is needed to be able to load compressed kernel modules.

Signed-off-by: sinkingpoint <[email protected]>
  • Loading branch information
sinkingpoint committed Jul 22, 2024
1 parent 50e4283 commit 520f2f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog/2462.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add module flag option `MODULE_INIT_COMPRESSED_FILE`
2 changes: 2 additions & 0 deletions src/kmod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ libc_bitflags!(
MODULE_INIT_IGNORE_MODVERSIONS;
/// Ignore kernel version magic.
MODULE_INIT_IGNORE_VERMAGIC;
/// Use in-kernel module decompression.
MODULE_INIT_COMPRESSED_FILE
}
);

Expand Down

0 comments on commit 520f2f6

Please sign in to comment.