Displaying 1 result from an estimated 1 matches for "028d5db".
2017 Jun 16
2
[PATCH] allow relative path in streamlocal forwarding
...+
serverloop.c | 3 +-
ssh.1 | 28 +++++++++++++
sshd.c | 25 ++++++++++++
sshd_config.5 | 11 +++++-
11 files changed, 260 insertions(+), 11 deletions(-)
create mode 100644 regress/streamlocal.sh
diff --git a/channels.c b/channels.c
index 028d5db..97561e0 100644
--- a/channels.c
+++ b/channels.c
@@ -2996,6 +2996,59 @@ channel_setup_fwd_listener_tcpip(int type, struct Forward *fwd,
return success;
}
+/* Expands a relative socket path to the absolute path, from the given
+ * root directory. */
+static char *
+expand_relative_socket_path(...