From 6e97fe1d015944244843a75687ba8772c638d1c6 Mon Sep 17 00:00:00 2001 From: djm Date: Sun, 23 Apr 2006 02:10:49 +0000 Subject: [PATCH] - djm@cvs.openbsd.org 2006/04/20 21:53:44 [includes.h session.c sftp.c] Switch from using pipes to socketpairs for communication between sftp/scp and ssh, and between sshd and its subprocesses. This saves a file descriptor per session and apparently makes userland ppp over ssh work; ok markus@ deraadt@ (ID Sync only - portable makes this decision on a per-platform basis) --- ChangeLog | 7 +++++++ includes.h | 2 +- session.c | 2 +- sftp.c | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60c4a102..2cc6ca59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -55,6 +55,13 @@ - markus@cvs.openbsd.org 2006/04/20 09:47:59 [sshconnect.c] simplify; ok djm@ + - djm@cvs.openbsd.org 2006/04/20 21:53:44 + [includes.h session.c sftp.c] + Switch from using pipes to socketpairs for communication between + sftp/scp and ssh, and between sshd and its subprocesses. This saves + a file descriptor per session and apparently makes userland ppp over + ssh work; ok markus@ deraadt@ (ID Sync only - portable makes this + decision on a per-platform basis) 20060421 - (djm) [Makefile.in configure.ac session.c sshpty.c] diff --git a/includes.h b/includes.h index 00076f63..c038f410 100644 --- a/includes.h +++ b/includes.h @@ -1,4 +1,4 @@ -/* $OpenBSD: includes.h,v 1.39 2006/03/25 22:22:43 djm Exp $ */ +/* $OpenBSD: includes.h,v 1.40 2006/04/20 21:53:44 djm Exp $ */ /* * Author: Tatu Ylonen diff --git a/session.c b/session.c index bba3fa21..caf750ab 100644 --- a/session.c +++ b/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.202 2006/03/25 13:17:02 djm Exp $ */ +/* $OpenBSD: session.c,v 1.203 2006/04/20 21:53:44 djm Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland * All rights reserved diff --git a/sftp.c b/sftp.c index 31b71db2..0cc3a470 100644 --- a/sftp.c +++ b/sftp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp.c,v 1.80 2006/03/27 23:15:46 djm Exp $ */ +/* $OpenBSD: sftp.c,v 1.81 2006/04/20 21:53:44 djm Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller * -- 2.45.2