diff options
author | peter <peter@FreeBSD.org> | 1996-05-31 04:00:21 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-05-31 04:00:21 +0000 |
commit | 3259f4bdcaa61a9bcde732df3f930ee3f278b563 (patch) | |
tree | a5bd0320906328d618f0c924406420264d68814b /lib/libc/rpc/svc_auth_unix.c | |
parent | b4bca346b07ffdf18d4faed43b11851e32641599 (diff) | |
download | FreeBSD-src-3259f4bdcaa61a9bcde732df3f930ee3f278b563.zip FreeBSD-src-3259f4bdcaa61a9bcde732df3f930ee3f278b563.tar.gz |
Use the setsockopt for IP_PORTRANGE to cause rresvport() to allocate a
privileged port within a single bind(), rather than looping through
attempts to bind over and over again over progressively lower ports.
This should speed up rlogin/rsh etc, and will probably cure some of the
strange rlogin hangs that have been reported in the past where rresvport()
managed to bind() to a port address that it shouldn't have.
Diffstat (limited to 'lib/libc/rpc/svc_auth_unix.c')
0 files changed, 0 insertions, 0 deletions