- 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)
This commit is contained in:
Damien Miller 2006-04-23 12:10:49 +10:00
parent 56e5e6ad11
commit 525a0b090f
4 changed files with 11 additions and 4 deletions

View File

@ -55,6 +55,13 @@
- markus@cvs.openbsd.org 2006/04/20 09:47:59 - markus@cvs.openbsd.org 2006/04/20 09:47:59
[sshconnect.c] [sshconnect.c]
simplify; ok djm@ 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 20060421
- (djm) [Makefile.in configure.ac session.c sshpty.c] - (djm) [Makefile.in configure.ac session.c sshpty.c]
@ -4566,4 +4573,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4313 2006/04/23 02:08:59 djm Exp $ $Id: ChangeLog,v 1.4314 2006/04/23 02:10:49 djm Exp $

View File

@ -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 <ylo@cs.hut.fi> * Author: Tatu Ylonen <ylo@cs.hut.fi>

View File

@ -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 <ylo@cs.hut.fi>, Espoo, Finland * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved * All rights reserved

2
sftp.c
View File

@ -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 <djm@openbsd.org> * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
* *