@@ -4135,6 +4135,10 @@ fn test_linux(target: &str) {
41354135 // FIXME(linux): Requires >= 6.9 kernel headers.
41364136 "epoll_params" => true ,
41374137
4138+ // FIXME(linux): Requires >= 6.12 kernel headers.
4139+ "dmabuf_cmsg" |
4140+ "dmabuf_token" => true ,
4141+
41384142 _ => false ,
41394143 }
41404144 } ) ;
@@ -4237,6 +4241,26 @@ fn test_linux(target: &str) {
42374241 {
42384242 return true ;
42394243 }
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+ }
42404264 }
42414265 match name {
42424266 // These constants are not available if gnu headers have been included
@@ -4255,7 +4279,9 @@ fn test_linux(target: &str) {
42554279 | "F_SEAL_SEAL"
42564280 | "F_SEAL_SHRINK"
42574281 | "F_SEAL_GROW"
4258- | "F_SEAL_WRITE" => true ,
4282+ | "F_SEAL_WRITE"
4283+ | "F_SEAL_FUTURE_WRITE"
4284+ | "F_SEAL_EXEC" => true ,
42594285 // The `ARPHRD_CAN` is tested in the `linux_if_arp.rs` tests
42604286 // because including `linux/if_arp.h` causes some conflicts:
42614287 "ARPHRD_CAN" => true ,
@@ -4534,6 +4560,13 @@ fn test_linux(target: &str) {
45344560 // FIXME(linux): Requires >= 6.12 kernel headers.
45354561 "SOF_TIMESTAMPING_OPT_RX_FILTER" => true ,
45364562
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+
45374570 _ => false ,
45384571 }
45394572 } ) ;
0 commit comments