Skip to content

Commit dac01e2

Browse files
jclulowpfmooney
authored andcommitted
illumos does not yet have SO_REUSEPORT
The semver regression checks in rust-lang#2109 included the "SO_REUSEPORT" constant, which we do not yet have on illumos systems. Move it out to platform-specific files.
1 parent bf89444 commit dac01e2

File tree

6 files changed

+5
-1
lines changed

6 files changed

+5
-1
lines changed

libc-test/semver/apple.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,6 +1167,7 @@ SO_NREAD
11671167
SO_NWRITE
11681168
SO_PEERLABEL
11691169
SO_RANDOMPORT
1170+
SO_REUSEPORT
11701171
SO_REUSESHAREUID
11711172
SO_TIMESTAMP
11721173
SO_TIMESTAMP_MONOTONIC

libc-test/semver/freebsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,7 @@ SO_NO_OFFLOAD
10921092
SO_PEERLABEL
10931093
SO_PROTOCOL
10941094
SO_PROTOTYPE
1095+
SO_REUSEPORT
10951096
SO_REUSEPORT_LB
10961097
SO_SETFIB
10971098
SO_TIMESTAMP

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,6 +2080,7 @@ SO_PEEK_OFF
20802080
SO_PEERCRED
20812081
SO_PEERSEC
20822082
SO_RCVBUFFORCE
2083+
SO_REUSEPORT
20832084
SO_RXQ_OVFL
20842085
SO_SNDBUFFORCE
20852086
SO_TIMESTAMP

libc-test/semver/netbsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,7 @@ SOMAXCONN
894894
SO_ACCEPTFILTER
895895
SO_NOHEADER
896896
SO_OVERFLOWED
897+
SO_REUSEPORT
897898
SO_TIMESTAMP
898899
SO_USELOOPBACK
899900
SS_DISABLE

libc-test/semver/redox.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ SO_PEERCRED
129129
SO_PEERSEC
130130
SO_PRIORITY
131131
SO_PROTOCOL
132+
SO_REUSEPORT
132133
SO_RCVBUFFORCE
133134
SO_SNDBUFFORCE
134135
TCFLSH

libc-test/semver/unix.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ SO_RCVBUF
352352
SO_RCVLOWAT
353353
SO_RCVTIMEO
354354
SO_REUSEADDR
355-
SO_REUSEPORT
356355
SO_SNDBUF
357356
SO_SNDLOWAT
358357
SO_SNDTIMEO

0 commit comments

Comments
 (0)