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 committed Jul 25, 2024
1 parent 0e28c86 commit a9c80e2
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 @@ -1226,6 +1226,7 @@ MNT_EXPIRE
MNT_FORCE
MODULE_INIT_IGNORE_MODVERSIONS
MODULE_INIT_IGNORE_VERMAGIC
MODULE_INIT_COMPRESSED_FILE
MPOL_BIND
MPOL_DEFAULT
MPOL_F_NUMA_BALANCING
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 @@ -1470,6 +1470,7 @@ MNT_EXPIRE
MNT_FORCE
MODULE_INIT_IGNORE_MODVERSIONS
MODULE_INIT_IGNORE_VERMAGIC
MODULE_INIT_COMPRESSED_FILE
MON_1
MON_10
MON_11
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 @@ -2875,6 +2875,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 @@ -4043,6 +4043,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 a9c80e2

Please sign in to comment.