File tree Expand file tree Collapse file tree 9 files changed +37
-4
lines changed Expand file tree Collapse file tree 9 files changed +37
-4
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,11 @@ jobs:
6262 ARCH_BITS : 64
6363 ARCH : x86_64
6464 - target : x86_64-pc-windows-msvc
65- - target : i686-pc-windows-gnu
66- env :
67- ARCH_BITS : 32
68- ARCH : i686
65+ # FIXME: It currently causes segfaults.
66+ # - target: i686-pc-windows-gnu
67+ # env:
68+ # ARCH_BITS: 32
69+ # ARCH: i686
6970 - target : i686-pc-windows-msvc
7071 steps :
7172 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -296,6 +296,8 @@ fn test_apple(target: &str) {
296296 // it is a moving target, changing through versions
297297 // also contains bitfields members
298298 "tcp_connection_info" => true ,
299+ // FIXME: The size is changed in recent macOSes.
300+ "malloc_introspection_t" => true ,
299301
300302 _ => false ,
301303 }
@@ -2427,6 +2429,9 @@ fn test_freebsd(target: &str) {
24272429 true
24282430 }
24292431
2432+ // FIXME: Removed in FreeBSD 15:
2433+ "LOCAL_CONNWAIT" => true ,
2434+
24302435 _ => false ,
24312436 }
24322437 } ) ;
@@ -4111,6 +4116,9 @@ fn test_linux(target: &str) {
41114116 true
41124117 }
41134118
4119+ // FIXME: Requires >= 6.6 kernel headers.
4120+ "SYS_fchmodat2" => true ,
4121+
41144122 // FIXME: seems to not be available all the time (from <include/linux/sched.h>:
41154123 "PF_VCPU"
41164124 | "PF_IDLE"
Original file line number Diff line number Diff line change @@ -96,6 +96,17 @@ EUSERS
9696EXFULL
9797FIONREAD
9898IMAXBEL
99+ IP_RECVTOS
100+ IP_TOS
101+ IPPROTO_ICMP
102+ IPPROTO_IDP
103+ IPPROTO_IGMP
104+ IPPROTO_IP
105+ IPPROTO_IPV6
106+ IPPROTO_MAX
107+ IPPROTO_PUP
108+ IPPROTO_TCP
109+ IPPROTO_UDP
99110IPV6_ADD_MEMBERSHIP
100111IPV6_DROP_MEMBERSHIP
101112IUCLC
@@ -129,6 +140,7 @@ SIGPWR
129140SIGSTKFLT
130141SOCK_CLOEXEC
131142SOCK_NONBLOCK
143+ SOCK_RAW
132144SO_BSDCOMPAT
133145SO_DOMAIN
134146SO_NO_CHECK
Original file line number Diff line number Diff line change @@ -1044,6 +1044,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
10441044pub const SYS_process_mrelease : :: c_long = 448 ;
10451045pub const SYS_futex_waitv : :: c_long = 449 ;
10461046pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
1047+ pub const SYS_fchmodat2 : :: c_long = 452 ;
10471048
10481049// offsets in user_regs_structs, from sys/reg.h
10491050pub const EBX : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -430,6 +430,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
430430pub const SYS_process_mrelease : :: c_long = 448 ;
431431pub const SYS_futex_waitv : :: c_long = 449 ;
432432pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
433+ pub const SYS_fchmodat2 : :: c_long = 452 ;
433434
434435extern "C" {
435436 pub fn sysctl (
Original file line number Diff line number Diff line change @@ -361,6 +361,7 @@ pub const SYS_memfd_secret: ::c_long = __X32_SYSCALL_BIT + 447;
361361pub const SYS_process_mrelease : :: c_long = __X32_SYSCALL_BIT + 448 ;
362362pub const SYS_futex_waitv : :: c_long = __X32_SYSCALL_BIT + 449 ;
363363pub const SYS_set_mempolicy_home_node : :: c_long = __X32_SYSCALL_BIT + 450 ;
364+ pub const SYS_fchmodat2 : :: c_long = __X32_SYSCALL_BIT + 452 ;
364365pub const SYS_rt_sigaction : :: c_long = __X32_SYSCALL_BIT + 512 ;
365366pub const SYS_rt_sigreturn : :: c_long = __X32_SYSCALL_BIT + 513 ;
366367pub const SYS_ioctl : :: c_long = __X32_SYSCALL_BIT + 514 ;
Original file line number Diff line number Diff line change @@ -936,6 +936,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
936936pub const SYS_process_mrelease : :: c_long = 448 ;
937937pub const SYS_futex_waitv : :: c_long = 449 ;
938938pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
939+ pub const SYS_fchmodat2 : :: c_long = 452 ;
939940
940941// offsets in user_regs_structs, from sys/reg.h
941942pub const EBX : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -608,6 +608,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
608608pub const SYS_process_mrelease : :: c_long = 448 ;
609609pub const SYS_futex_waitv : :: c_long = 449 ;
610610pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
611+ pub const SYS_fchmodat2 : :: c_long = 452 ;
611612
612613// offsets in user_regs_structs, from sys/reg.h
613614pub const R15 : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -585,7 +585,13 @@ pub const IP_MULTICAST_TTL: ::c_int = 33;
585585pub const IP_MULTICAST_LOOP : :: c_int = 34 ;
586586pub const IP_ADD_MEMBERSHIP : :: c_int = 35 ;
587587pub const IP_DROP_MEMBERSHIP : :: c_int = 36 ;
588+ pub const IP_TOS : :: c_int = 1 ;
589+ pub const IP_RECVTOS : :: c_int = 2 ;
590+ pub const IPPROTO_IGMP : :: c_int = 2 ;
591+ pub const IPPROTO_PUP : :: c_int = 12 ;
592+ pub const IPPROTO_IDP : :: c_int = 22 ;
588593pub const IPPROTO_RAW : :: c_int = 255 ;
594+ pub const IPPROTO_MAX : :: c_int = 255 ;
589595// }
590596
591597// netinet/tcp.h
@@ -810,6 +816,7 @@ pub const SO_PROTOCOL: ::c_int = 38;
810816pub const SO_DOMAIN : :: c_int = 39 ;
811817pub const SOCK_STREAM : :: c_int = 1 ;
812818pub const SOCK_DGRAM : :: c_int = 2 ;
819+ pub const SOCK_RAW : :: c_int = 3 ;
813820pub const SOCK_NONBLOCK : :: c_int = 0o4_000 ;
814821pub const SOCK_CLOEXEC : :: c_int = 0o2_000_000 ;
815822pub const SOCK_SEQPACKET : :: c_int = 5 ;
You can’t perform that action at this time.
0 commit comments