@@ -4237,9 +4237,7 @@ fn test_linux(target: &str) {
4237
4237
"VMADDR_CID_RESERVED" => true ,
4238
4238
4239
4239
// IPPROTO_MAX was increased in 5.6 for IPPROTO_MPTCP:
4240
- | "IPPROTO_MAX"
4241
- | "IPPROTO_ETHERNET"
4242
- | "IPPROTO_MPTCP" => true ,
4240
+ "IPPROTO_MAX" => true ,
4243
4241
4244
4242
// FIXME(linux): Not yet implemented on sparc64
4245
4243
"SYS_clone3" if sparc64 => true ,
@@ -4272,53 +4270,15 @@ fn test_linux(target: &str) {
4272
4270
// is a private value for kernel usage normally
4273
4271
"FUSE_SUPER_MAGIC" => true ,
4274
4272
4275
- // Added in linux 6.1
4276
- "STATX_DIOALIGN"
4277
- | "CAN_RAW_XL_FRAMES"
4278
- | "CANXL_HDR_SIZE"
4279
- | "CANXL_MAX_DLC"
4280
- | "CANXL_MAX_DLC_MASK"
4281
- | "CANXL_MAX_DLEN"
4282
- | "CANXL_MAX_MTU"
4283
- | "CANXL_MIN_DLC"
4284
- | "CANXL_MIN_DLEN"
4285
- | "CANXL_MIN_MTU"
4286
- | "CANXL_MTU"
4287
- | "CANXL_PRIO_BITS"
4288
- | "CANXL_PRIO_MASK"
4289
- | "CANXL_SEC"
4290
- | "CANXL_XLF"
4291
- => true ,
4292
-
4293
4273
// FIXME(linux): The below is no longer const in glibc 2.34:
4294
4274
// https://github.com/bminor/glibc/commit/5d98a7dae955bafa6740c26eaba9c86060ae0344
4295
4275
| "PTHREAD_STACK_MIN"
4296
4276
| "SIGSTKSZ"
4297
4277
| "MINSIGSTKSZ"
4298
4278
if gnu => true ,
4299
4279
4300
- // FIXME(linux): Requires >= 6.3 kernel headers
4301
- "MFD_EXEC" | "MFD_NOEXEC_SEAL" if sparc64 => true ,
4302
-
4303
- // kernel 6.1 minimum
4304
- "MADV_COLLAPSE" => true ,
4305
-
4306
- // kernel 6.2 minimum
4307
- "TUN_F_USO4" | "TUN_F_USO6" | "IFF_NO_CARRIER" => true ,
4308
-
4309
- // FIXME(linux): Requires more recent kernel headers
4310
- "IFLA_ALLMULTI" // linux v6.0+
4311
- => true ,
4312
-
4313
4280
// kernel 6.5 minimum
4314
4281
"MOVE_MOUNT_BENEATH" => true ,
4315
- // FIXME(linux): Requires linux 6.1
4316
- "ALG_SET_KEY_BY_KEY_SERIAL" | "ALG_SET_DRBG_ENTROPY" => true ,
4317
-
4318
- // FIXME(linux): Requires more recent kernel headers
4319
- | "FAN_MARK_IGNORE" // linux v6.0+
4320
- | "FAN_MARK_IGNORE_SURV" // linux v6.0+
4321
- => true ,
4322
4282
4323
4283
// musl doesn't use <linux/fanotify.h> in <sys/fanotify.h>
4324
4284
"FAN_REPORT_PIDFD"
@@ -4402,9 +4362,6 @@ fn test_linux(target: &str) {
4402
4362
// FIXME(linux): Requires >= 6.11 kernel headers.
4403
4363
"MAP_DROPPABLE" => true ,
4404
4364
4405
- // FIXME(linux): Requires >= 6.2 kernel headers.
4406
- "SOF_TIMESTAMPING_OPT_ID_TCP" => true ,
4407
-
4408
4365
// FIXME(linux): Requires >= 6.12 kernel headers.
4409
4366
"SOF_TIMESTAMPING_OPT_RX_FILTER" => true ,
4410
4367
0 commit comments