File tree 9 files changed +37
-4
lines changed
9 files changed +37
-4
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,11 @@ jobs:
62
62
ARCH_BITS : 64
63
63
ARCH : x86_64
64
64
- 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
69
70
- target : i686-pc-windows-msvc
70
71
steps :
71
72
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -296,6 +296,8 @@ fn test_apple(target: &str) {
296
296
// it is a moving target, changing through versions
297
297
// also contains bitfields members
298
298
"tcp_connection_info" => true ,
299
+ // FIXME: The size is changed in recent macOSes.
300
+ "malloc_introspection_t" => true ,
299
301
300
302
_ => false ,
301
303
}
@@ -2427,6 +2429,9 @@ fn test_freebsd(target: &str) {
2427
2429
true
2428
2430
}
2429
2431
2432
+ // FIXME: Removed in FreeBSD 15:
2433
+ "LOCAL_CONNWAIT" => true ,
2434
+
2430
2435
_ => false ,
2431
2436
}
2432
2437
} ) ;
@@ -4111,6 +4116,9 @@ fn test_linux(target: &str) {
4111
4116
true
4112
4117
}
4113
4118
4119
+ // FIXME: Requires >= 6.6 kernel headers.
4120
+ "SYS_fchmodat2" => true ,
4121
+
4114
4122
// FIXME: seems to not be available all the time (from <include/linux/sched.h>:
4115
4123
"PF_VCPU"
4116
4124
| "PF_IDLE"
Original file line number Diff line number Diff line change @@ -96,6 +96,17 @@ EUSERS
96
96
EXFULL
97
97
FIONREAD
98
98
IMAXBEL
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
99
110
IPV6_ADD_MEMBERSHIP
100
111
IPV6_DROP_MEMBERSHIP
101
112
IUCLC
@@ -129,6 +140,7 @@ SIGPWR
129
140
SIGSTKFLT
130
141
SOCK_CLOEXEC
131
142
SOCK_NONBLOCK
143
+ SOCK_RAW
132
144
SO_BSDCOMPAT
133
145
SO_DOMAIN
134
146
SO_NO_CHECK
Original file line number Diff line number Diff line change @@ -1044,6 +1044,7 @@ pub const SYS_memfd_secret: ::c_long = 447;
1044
1044
pub const SYS_process_mrelease : :: c_long = 448 ;
1045
1045
pub const SYS_futex_waitv : :: c_long = 449 ;
1046
1046
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
1047
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
1047
1048
1048
1049
// offsets in user_regs_structs, from sys/reg.h
1049
1050
pub 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;
430
430
pub const SYS_process_mrelease : :: c_long = 448 ;
431
431
pub const SYS_futex_waitv : :: c_long = 449 ;
432
432
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
433
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
433
434
434
435
extern "C" {
435
436
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;
361
361
pub const SYS_process_mrelease : :: c_long = __X32_SYSCALL_BIT + 448 ;
362
362
pub const SYS_futex_waitv : :: c_long = __X32_SYSCALL_BIT + 449 ;
363
363
pub const SYS_set_mempolicy_home_node : :: c_long = __X32_SYSCALL_BIT + 450 ;
364
+ pub const SYS_fchmodat2 : :: c_long = __X32_SYSCALL_BIT + 452 ;
364
365
pub const SYS_rt_sigaction : :: c_long = __X32_SYSCALL_BIT + 512 ;
365
366
pub const SYS_rt_sigreturn : :: c_long = __X32_SYSCALL_BIT + 513 ;
366
367
pub 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;
936
936
pub const SYS_process_mrelease : :: c_long = 448 ;
937
937
pub const SYS_futex_waitv : :: c_long = 449 ;
938
938
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
939
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
939
940
940
941
// offsets in user_regs_structs, from sys/reg.h
941
942
pub 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;
608
608
pub const SYS_process_mrelease : :: c_long = 448 ;
609
609
pub const SYS_futex_waitv : :: c_long = 449 ;
610
610
pub const SYS_set_mempolicy_home_node : :: c_long = 450 ;
611
+ pub const SYS_fchmodat2 : :: c_long = 452 ;
611
612
612
613
// offsets in user_regs_structs, from sys/reg.h
613
614
pub 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;
585
585
pub const IP_MULTICAST_LOOP : :: c_int = 34 ;
586
586
pub const IP_ADD_MEMBERSHIP : :: c_int = 35 ;
587
587
pub 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 ;
588
593
pub const IPPROTO_RAW : :: c_int = 255 ;
594
+ pub const IPPROTO_MAX : :: c_int = 255 ;
589
595
// }
590
596
591
597
// netinet/tcp.h
@@ -810,6 +816,7 @@ pub const SO_PROTOCOL: ::c_int = 38;
810
816
pub const SO_DOMAIN : :: c_int = 39 ;
811
817
pub const SOCK_STREAM : :: c_int = 1 ;
812
818
pub const SOCK_DGRAM : :: c_int = 2 ;
819
+ pub const SOCK_RAW : :: c_int = 3 ;
813
820
pub const SOCK_NONBLOCK : :: c_int = 0o4_000 ;
814
821
pub const SOCK_CLOEXEC : :: c_int = 0o2_000_000 ;
815
822
pub const SOCK_SEQPACKET : :: c_int = 5 ;
You can’t perform that action at this time.
0 commit comments