@@ -4135,6 +4135,10 @@ fn test_linux(target: &str) {
4135
4135
// FIXME(linux): Requires >= 6.9 kernel headers.
4136
4136
"epoll_params" => true ,
4137
4137
4138
+ // FIXME(linux): Requires >= 6.12 kernel headers.
4139
+ "dmabuf_cmsg" |
4140
+ "dmabuf_token" => true ,
4141
+
4138
4142
_ => false ,
4139
4143
}
4140
4144
} ) ;
@@ -4237,6 +4241,26 @@ fn test_linux(target: &str) {
4237
4241
{
4238
4242
return true ;
4239
4243
}
4244
+ // FIXME(musl): Not in musl yet
4245
+ if name == "SO_NETNS_COOKIE"
4246
+ || name == "SO_BUF_LOCK"
4247
+ || name == "SO_RESERVE_MEM"
4248
+ || name == "SO_TXREHASH"
4249
+ || name == "SO_RCVMARK"
4250
+ || name == "SO_PASSPIDFD"
4251
+ || name == "SO_PEERPIDFD"
4252
+ || name == "SO_DEVMEM_LINEAR"
4253
+ || name == "SO_DEVMEM_DMABUF"
4254
+ || name == "SO_DEVMEM_DONTNEED"
4255
+ {
4256
+ return true ;
4257
+ }
4258
+ // FIXME(musl): Not in musl yet
4259
+ if name == "SCM_DEVMEM_LINEAR"
4260
+ || name == "SCM_DEVMEM_DMABUF"
4261
+ {
4262
+ return true ;
4263
+ }
4240
4264
}
4241
4265
match name {
4242
4266
// These constants are not available if gnu headers have been included
@@ -4255,7 +4279,9 @@ fn test_linux(target: &str) {
4255
4279
| "F_SEAL_SEAL"
4256
4280
| "F_SEAL_SHRINK"
4257
4281
| "F_SEAL_GROW"
4258
- | "F_SEAL_WRITE" => true ,
4282
+ | "F_SEAL_WRITE"
4283
+ | "F_SEAL_FUTURE_WRITE"
4284
+ | "F_SEAL_EXEC" => true ,
4259
4285
// The `ARPHRD_CAN` is tested in the `linux_if_arp.rs` tests
4260
4286
// because including `linux/if_arp.h` causes some conflicts:
4261
4287
"ARPHRD_CAN" => true ,
@@ -4534,6 +4560,13 @@ fn test_linux(target: &str) {
4534
4560
// FIXME(linux): Requires >= 6.12 kernel headers.
4535
4561
"SOF_TIMESTAMPING_OPT_RX_FILTER" => true ,
4536
4562
4563
+ // FIXME(linux): Requires >= 6.12 kernel headers.
4564
+ "SO_DEVMEM_LINEAR"
4565
+ | "SO_DEVMEM_DMABUF"
4566
+ | "SO_DEVMEM_DONTNEED"
4567
+ | "SCM_DEVMEM_LINEAR"
4568
+ | "SCM_DEVMEM_DMABUF" => true ,
4569
+
4537
4570
_ => false ,
4538
4571
}
4539
4572
} ) ;
0 commit comments