From 3f870fae91032c7391d8c7a0e4eb9be02b134ed9 Mon Sep 17 00:00:00 2001 From: sinkingpoint Date: Mon, 22 Jul 2024 14:33:54 +1000 Subject: [PATCH] Add MODULE_INIT_COMPRESSED_FILE definition Signed-off-by: sinkingpoint --- libc-test/semver/linux.txt | 1 + src/unix/linux_like/linux/mod.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/libc-test/semver/linux.txt b/libc-test/semver/linux.txt index 8d564b0d82d85..2c5f91298409c 100644 --- a/libc-test/semver/linux.txt +++ b/libc-test/semver/linux.txt @@ -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 diff --git a/src/unix/linux_like/linux/mod.rs b/src/unix/linux_like/linux/mod.rs index 63a4cc2c499fb..426c7d827180d 100644 --- a/src/unix/linux_like/linux/mod.rs +++ b/src/unix/linux_like/linux/mod.rs @@ -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;