diff options
| author | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-09-25 13:20:19 +0000 |
|---|---|---|
| committer | Aymeric Wibo <obiwac@FreeBSD.org> | 2026-11-09 13:25:21 +0000 |
| commit | dbeadd4326a05d6a972e6e319a580944e136f931 (patch) | |
| tree | f71b61f282b77e922cf2cd64ea5fd35631023439 /gnu/usr.bin/cc/cpp/Makefile.depend | |
| parent | 133344405f532bd54ff3629a77d4c4e062f01fdb (diff) | |
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 'gnu/usr.bin/cc/cpp/Makefile.depend')
0 files changed, 0 insertions, 0 deletions
