diff options
author | deraadt <> | 2000-12-21 16:07:37 +0000 |
---|---|---|
committer | deraadt <> | 2000-12-21 16:07:37 +0000 |
commit | e13651e9302e115ce2594138de47ff5a8657e14e (patch) | |
tree | a4bfdf0c33274b7c42b83e8d11c0c3c0fb3e7e3a | |
parent | 348d21c814ad43b05ed8a2111f78394a0fffb7a6 (diff) | |
download | openbsd-e13651e9302e115ce2594138de47ff5a8657e14e.tar.gz openbsd-e13651e9302e115ce2594138de47ff5a8657e14e.tar.bz2 openbsd-e13651e9302e115ce2594138de47ff5a8657e14e.zip |
IPPORT_RESERVED - 1, not 1023
-rw-r--r-- | src/lib/libc/net/rcmd.3 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libc/net/rcmd.3 b/src/lib/libc/net/rcmd.3 index 04230ef774..2ec2c88d4a 100644 --- a/src/lib/libc/net/rcmd.3 +++ b/src/lib/libc/net/rcmd.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: rcmd.3,v 1.20 2000/04/18 03:01:33 aaron Exp $ | 1 | .\" $OpenBSD: rcmd.3,v 1.21 2000/12/21 16:07:37 deraadt Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1983, 1991, 1993 | 3 | .\" Copyright (c) 1983, 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
@@ -175,7 +175,9 @@ address bound to it. | |||
175 | This socket is suitable for use by | 175 | This socket is suitable for use by |
176 | .Fn rcmd | 176 | .Fn rcmd |
177 | and several other functions. | 177 | and several other functions. |
178 | Privileged Internet ports are those in the range 0 to 1023. | 178 | Privileged Internet ports are those in the range 0 to |
179 | .Va IPPORT_RESERVED - 1 , | ||
180 | which happens to be 1023. | ||
179 | Only the superuser is allowed to bind an address of this sort to a socket. | 181 | Only the superuser is allowed to bind an address of this sort to a socket. |
180 | .Fn rresvport | 182 | .Fn rresvport |
181 | and | 183 | and |