File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1458,6 +1458,10 @@ pub const SIOCSRARP: ::c_ulong = 0x00008962;
1458
1458
pub const SIOCGIFMAP : :: c_ulong = 0x00008970 ;
1459
1459
pub const SIOCSIFMAP : :: c_ulong = 0x00008971 ;
1460
1460
1461
+ // linux/module.h
1462
+ pub const MODULE_INIT_IGNORE_MODVERSIONS : :: c_uint = 0x0001 ;
1463
+ pub const MODULE_INIT_IGNORE_VERMAGIC : :: c_uint = 0x0002 ;
1464
+
1461
1465
// Similarity to Linux it's not used but defined for compatibility.
1462
1466
pub const ENOATTR : :: c_int = :: ENODATA ;
1463
1467
Original file line number Diff line number Diff line change @@ -1498,6 +1498,10 @@ pub const ARPD_LOOKUP: ::c_ushort = 0x02;
1498
1498
pub const ARPD_FLUSH : :: c_ushort = 0x03 ;
1499
1499
pub const ATF_MAGIC : :: c_int = 0x80 ;
1500
1500
1501
+ // linux/module.h
1502
+ pub const MODULE_INIT_IGNORE_MODVERSIONS : :: c_uint = 0x0001 ;
1503
+ pub const MODULE_INIT_IGNORE_VERMAGIC : :: c_uint = 0x0002 ;
1504
+
1501
1505
f ! {
1502
1506
pub fn CPU_ZERO ( cpuset: & mut cpu_set_t) -> ( ) {
1503
1507
for slot in cpuset. bits. iter_mut( ) {
You can’t perform that action at this time.
0 commit comments