rexec.3 (1798791d24d371e78812304b3fa3ec7a87b84f98) | rexec.3 (ae828962685b8ae9e5104ce8e7fe8b05effcb9ec) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 73 unchanged lines hidden (view full) --- 82The protocol for connection is described in detail in 83.Xr rexecd 8 . 84.Pp 85If the connection succeeds, 86a socket in the Internet domain of type 87.Dv SOCK_STREAM 88is returned to 89the caller, and given to the remote command as | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 73 unchanged lines hidden (view full) --- 82The protocol for connection is described in detail in 83.Xr rexecd 8 . 84.Pp 85If the connection succeeds, 86a socket in the Internet domain of type 87.Dv SOCK_STREAM 88is returned to 89the caller, and given to the remote command as |
90.Em stdin | 90.Dv stdin |
91and | 91and |
92.Em stdout . | 92.Dv stdout . |
93If 94.Fa fd2p 95is non-zero, then an auxiliary channel to a control 96process will be setup, and a descriptor for it will be placed 97in 98.Fa *fd2p . 99The control process will return diagnostic 100output from the command (unit 2) on this channel, and will also 101accept bytes on this channel as being 102.Ux 103signal numbers, to be 104forwarded to the process group of the command. The diagnostic 105information returned does not include remote authorization failure, 106as the secondary connection is set up after authorization has been 107verified. 108If 109.Fa fd2p 110is 0, then the | 93If 94.Fa fd2p 95is non-zero, then an auxiliary channel to a control 96process will be setup, and a descriptor for it will be placed 97in 98.Fa *fd2p . 99The control process will return diagnostic 100output from the command (unit 2) on this channel, and will also 101accept bytes on this channel as being 102.Ux 103signal numbers, to be 104forwarded to the process group of the command. The diagnostic 105information returned does not include remote authorization failure, 106as the secondary connection is set up after authorization has been 107verified. 108If 109.Fa fd2p 110is 0, then the |
111.Em stderr | 111.Dv stderr |
112(unit 2 of the remote 113command) will be made the same as the | 112(unit 2 of the remote 113command) will be made the same as the |
114.Em stdout | 114.Dv stdout |
115and no 116provision is made for sending arbitrary signals to the remote process, 117although you may be able to get its attention by using out-of-band data. 118.Sh SEE ALSO 119.Xr rcmd 3 , 120.Xr rexecd 8 121.Sh HISTORY 122The --- 12 unchanged lines hidden --- | 115and no 116provision is made for sending arbitrary signals to the remote process, 117although you may be able to get its attention by using out-of-band data. 118.Sh SEE ALSO 119.Xr rcmd 3 , 120.Xr rexecd 8 121.Sh HISTORY 122The --- 12 unchanged lines hidden --- |