Skip to content

Commit 520f2f6

Browse files
committed
Add MODULE_INIT_COMPRESSED_FILE to ModuleInitFlags bitflags
This is needed to be able to load compressed kernel modules. Signed-off-by: sinkingpoint <[email protected]>
1 parent 50e4283 commit 520f2f6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

changelog/2462.added.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add module flag option `MODULE_INIT_COMPRESSED_FILE`

src/kmod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ libc_bitflags!(
6262
MODULE_INIT_IGNORE_MODVERSIONS;
6363
/// Ignore kernel version magic.
6464
MODULE_INIT_IGNORE_VERMAGIC;
65+
/// Use in-kernel module decompression.
66+
MODULE_INIT_COMPRESSED_FILE
6567
}
6668
);
6769

0 commit comments

Comments
 (0)