summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-12-21 16:07:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-12-21 16:07:38 +0000
commit60fb4f93e0d4c5064698c56e69982e872d836b81 (patch)
tree3ea4037b92b2b7107692e7ecfe3bc32a46e2daff /lib/libc
parentd5d7ed360ed1f1fcf80d958ec949583c2b2cd90c (diff)
IPPORT_RESERVED - 1, not 1023
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/rcmd.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3
index 04230ef7745..2ec2c88d4af 100644
--- a/lib/libc/net/rcmd.3
+++ b/lib/libc/net/rcmd.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcmd.3,v 1.20 2000/04/18 03:01:33 aaron Exp $
+.\" $OpenBSD: rcmd.3,v 1.21 2000/12/21 16:07:37 deraadt Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -175,7 +175,9 @@ address bound to it.
This socket is suitable for use by
.Fn rcmd
and several other functions.
-Privileged Internet ports are those in the range 0 to 1023.
+Privileged Internet ports are those in the range 0 to
+.Va IPPORT_RESERVED - 1 ,
+which happens to be 1023.
Only the superuser is allowed to bind an address of this sort to a socket.
.Fn rresvport
and