summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/rcmd.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/rcmd.3')
-rw-r--r--src/lib/libc/net/rcmd.315
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/libc/net/rcmd.3 b/src/lib/libc/net/rcmd.3
index ea71e40d71..04230ef774 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.19 2000/04/15 11:46:02 aaron Exp $ 1.\" $OpenBSD: rcmd.3,v 1.20 2000/04/18 03:01:33 aaron 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.
@@ -65,7 +65,8 @@ The
65function 65function
66is used by the superuser to execute a command on a remote 66is used by the superuser to execute a command on a remote
67machine using an authentication scheme based on reserved 67machine using an authentication scheme based on reserved
68port numbers. If the calling process is not setuid, the 68port numbers.
69If the calling process is not setuid, the
69.Ev RSH 70.Ev RSH
70environment variable is set, and 71environment variable is set, and
71.Fa inport 72.Fa inport
@@ -170,12 +171,12 @@ The
170and 171and
171.Fn rresvport_af 172.Fn rresvport_af
172functions are used to obtain a socket with a privileged 173functions are used to obtain a socket with a privileged
173address bound to it. This socket is suitable for use 174address bound to it.
174by 175This socket is suitable for use by
175.Fn rcmd 176.Fn rcmd
176and several other functions. Privileged Internet ports are those 177and several other functions.
177in the range 0 to 1023. Only the superuser 178Privileged Internet ports are those in the range 0 to 1023.
178is allowed to bind an address of this sort to a socket. 179Only the superuser is allowed to bind an address of this sort to a socket.
179.Fn rresvport 180.Fn rresvport
180and 181and
181.Fn rresvport_af 182.Fn rresvport_af