Skip to content

Commit

Permalink
Add MODULE_INIT_COMPRESSED_FILE definition
Browse files Browse the repository at this point in the history
Signed-off-by: sinkingpoint <[email protected]>
  • Loading branch information
sinkingpoint authored and tgross35 committed Nov 21, 2024
1 parent 0a8f04a commit 8b35a41
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/android.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,7 @@ MMAP_PAGE_ZERO
MNT_DETACH
MNT_EXPIRE
MNT_FORCE
MODULE_INIT_COMPRESSED_FILE
MODULE_INIT_IGNORE_MODVERSIONS
MODULE_INIT_IGNORE_VERMAGIC
MPOL_BIND
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1647,6 +1647,7 @@ MMAP_PAGE_ZERO
MNT_DETACH
MNT_EXPIRE
MNT_FORCE
MODULE_INIT_COMPRESSED_FILE
MODULE_INIT_IGNORE_MODVERSIONS
MODULE_INIT_IGNORE_VERMAGIC
MON_1
Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/android/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2941,6 +2941,7 @@ pub const SIOCPROTOPRIVATE: ::c_ulong = 0x000089E0;
// linux/module.h
pub const MODULE_INIT_IGNORE_MODVERSIONS: ::c_uint = 0x0001;
pub const MODULE_INIT_IGNORE_VERMAGIC: ::c_uint = 0x0002;
pub const MODULE_INIT_COMPRESSED_FILE: ::c_uint = 0x0004;

// linux/net_tstamp.h
pub const SOF_TIMESTAMPING_TX_HARDWARE: ::c_uint = 1 << 0;
Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4519,6 +4519,7 @@ pub const RTNLGRP_STATS: ::c_uint = 0x24;
// linux/module.h
pub const MODULE_INIT_IGNORE_MODVERSIONS: ::c_uint = 0x0001;
pub const MODULE_INIT_IGNORE_VERMAGIC: ::c_uint = 0x0002;
pub const MODULE_INIT_COMPRESSED_FILE: ::c_uint = 0x0004;

// linux/net_tstamp.h
pub const SOF_TIMESTAMPING_TX_HARDWARE: ::c_uint = 1 << 0;
Expand Down

0 comments on commit 8b35a41

Please sign in to comment.