aboutsummaryrefslogtreecommitdiff
path: root/lib/libgcc_s_asneeded/Makefile
diff options
context:
space:
mode:
authorAymeric Wibo <obiwac@FreeBSD.org>2026-09-25 13:20:19 +0000
committerAymeric Wibo <obiwac@FreeBSD.org>2026-11-09 13:25:21 +0000
commitdbeadd4326a05d6a972e6e319a580944e136f931 (patch)
treef71b61f282b77e922cf2cd64ea5fd35631023439 /lib/libgcc_s_asneeded/Makefile
parent133344405f532bd54ff3629a77d4c4e062f01fdb (diff)
linux: Allow connect() with destination port 0HEADmain
Linux allows connect() with destination port 0, but FreeBSD returns EADDRNOTAVAIL in in_pcbconnect() and in6_pcbladdr(). Some Linux programs (e.g. the new Android CLI tool) rely on this for routability checks, however. Add an SV_CONN_PORT0 flag to sv_flags which is set in the Linux sysvecs, allowing the port 0 guard in the connect paths to be bypassed. Reviewed by: glebius, kib Differential Revision: https://reviews.freebsd.org/D60659
Diffstat (limited to 'lib/libgcc_s_asneeded/Makefile')
0 files changed, 0 insertions, 0 deletions