From 7f0b2384f59fb209878053d04d341a388c0a1cd3 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/android.txt | 1 + libc-test/semver/linux.txt | 1 + src/unix/linux_like/android/mod.rs | 1 + src/unix/linux_like/linux/mod.rs | 1 + 4 files changed, 4 insertions(+) diff --git a/libc-test/semver/android.txt b/libc-test/semver/android.txt index 9722b6e361f30..68dbc513f4a5b 100644 --- a/libc-test/semver/android.txt +++ b/libc-test/semver/android.txt @@ -1229,6 +1229,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 diff --git a/libc-test/semver/linux.txt b/libc-test/semver/linux.txt index 23cec7e368a1d..681f9833e9ce9 100644 --- a/libc-test/semver/linux.txt +++ b/libc-test/semver/linux.txt @@ -1459,6 +1459,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/android/mod.rs b/src/unix/linux_like/android/mod.rs index c2e7ddf2fc8be..2b36bd3bdf7f7 100644 --- a/src/unix/linux_like/android/mod.rs +++ b/src/unix/linux_like/android/mod.rs @@ -2921,6 +2921,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; diff --git a/src/unix/linux_like/linux/mod.rs b/src/unix/linux_like/linux/mod.rs index 164a03ea42f1d..84aa3880d9b35 100644 --- a/src/unix/linux_like/linux/mod.rs +++ b/src/unix/linux_like/linux/mod.rs @@ -3600,6 +3600,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;