OpenBSD CVS

CVS log for src/usr.bin/ssh/monitor_fdpass.c


[BACK] Up to [local] / src / usr.bin / ssh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Sun Oct 18 11:32:01 2020 UTC (3 years, 6 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, HEAD
Changes since 1.21: +9 -11 lines
Diff to previous 1.21 (colored)

use the new variant log macros instead of prepending __func__ and
appending ssh_err(r) manually; ok markus@

Revision 1.21 / (download) - annotate - [select for diffs], Mon Feb 29 20:22:36 2016 UTC (8 years, 2 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.20: +3 -5 lines
Diff to previous 1.20 (colored)

Print ssize_t with %zd; ok deraadt@ mmcc@

Revision 1.20 / (download) - annotate - [select for diffs], Wed Feb 25 23:05:47 2015 UTC (9 years, 2 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

zero cmsgbuf before use; we initialise the bits we use but
valgrind still spams warning on it

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 12 00:58:25 2010 UTC (14 years, 4 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.18: +16 -5 lines
Diff to previous 1.18 (colored)

avoid spinning when fd passing on nonblocking sockets by calling poll()
in the EINTR/EAGAIN path, much like we do in atomicio; ok dtucker@

Revision 1.18 / (download) - annotate - [select for diffs], Sun Nov 30 11:59:26 2008 UTC (15 years, 5 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.17: +9 -3 lines
Diff to previous 1.17 (colored)

Retry sendmsg/recvmsg on EAGAIN and EINTR; ok djm@

Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 24 16:11:07 2008 UTC (16 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

msg_controllen has to be CMSG_SPACE so that the kernel can account for
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
works now that kernel fd passing has been fixed to accept a bit of
sloppiness because of this ABI repair.
lots of discussion with kettenis

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 15 16:19:02 2008 UTC (16 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Repair the simple cases for msg_controllen where it should just be
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because
of alignment; ok kettenis hshoexer

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 13 01:49:53 2008 UTC (16 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +9 -9 lines
Diff to previous 1.14 (colored)

Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to
an extensive discussion with otto, kettenis, millert, and hshoexer

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 2 18:19:35 2008 UTC (16 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.13: +11 -5 lines
Diff to previous 1.13 (colored)

use a union to ensure alignment of the cmsg (pay attention: various other
parts of the tree need this treatment too); ok djm

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 4 03:21:03 2007 UTC (16 years, 8 months ago) by djm
Branch: MAIN
Changes since 1.12: +30 -14 lines
Diff to previous 1.12 (colored)

make file descriptor passing code return an error rather than call fatal()
when it encounters problems, and use this to make session multiplexing
masters survive slaves failing to pass all stdio FDs; ok markus@

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Fri Oct 6 03:19:32 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.6: +7 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

upgrade to OpenSSH 4.4

Revision 1.6.8.1 / (download) - annotate - [select for diffs], Sat Sep 30 04:06:50 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_9
Changes since 1.6: +7 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

upgrade to OpenSSH 4.4

Revision 1.12 / (download) - annotate - [select for diffs], Thu Aug 3 03:34:42 2006 UTC (17 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 (colored)

almost entirely get rid of the culture of ".h files that include .h files"
ok djm, sort of ok stevesk
makes the pain stop in one easy step

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 22 20:48:23 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

move #include <string.h> out of includes.h

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 11 20:07:25 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

move #include <errno.h> out of includes.h; ok markus@

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 8 21:47:12 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

move #include <sys/socket.h> out of includes.h

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 25 13:17:02 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.7: +1 -0 lines
Diff to previous 1.7 (colored)

Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that
Theo nuked - our scripts to sync -portable need them in the files

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 19 18:51:18 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +0 -1 lines
Diff to previous 1.6 (colored)

RCSID() can die

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Thu Aug 19 22:37:31 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.4: +7 -5 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

upgrade to OpenSSH 3.9

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Thu Aug 19 04:13:26 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_5
Changes since 1.4: +7 -5 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

upgrade to OpenSSH 3.9

Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 13 02:51:48 2004 UTC (19 years, 9 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_8_BASE, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Branch point for: OPENBSD_3_9, OPENBSD_3_8
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

extra check for no message case; ok markus, deraadt, hshoexer, henning

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 21 17:36:31 2004 UTC (19 years, 10 months ago) by avsm
Branch: MAIN
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored)

make ssh -Wshadow clean, no functional changes
markus@ ok

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Fri Oct 11 14:53:06 2002 UTC (21 years, 7 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.2.4.2: +8 -7 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Update to OpenSSH 3.5

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Fri Oct 11 14:51:52 2002 UTC (21 years, 7 months ago) by miod
Branch: OPENBSD_3_1
Changes since 1.2.2.1: +8 -7 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Update to OpenSSH 3.5

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Wed Jun 26 15:30:38 2002 UTC (21 years, 10 months ago) by jason
Branch: OPENBSD_3_1
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

Pull in OpenSSH-3.4

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 26 14:50:04 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_4_BASE, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Branch point for: OPENBSD_3_5, OPENBSD_3_4
Changes since 1.3: +8 -7 lines
Diff to previous 1.3 (colored)

use ssize_t for recvmsg() and sendmsg() return

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sat Jun 22 07:23:17 2002 UTC (21 years, 11 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.2.4.1: +6 -6 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

Update OpenSSH to version 3.3 (with local changes, configuration files still
living in /etc and privsep user being nobody).

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 4 23:05:49 2002 UTC (21 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

__FUNCTION__ -> __func__

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Sun Jun 2 22:56:10 2002 UTC (21 years, 11 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Upgrade to OpenSSH 3.2.3.

Except for improbable compilation error fixes, this should be the last
commit made to the 2.9-STABLE branche. Have fun upgrading.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Fri May 17 00:03:23 2002 UTC (22 years ago) by miod
Branch: OPENBSD_3_0
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Update OpenSSH to version 3.2.2.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 24 17:53:16 2002 UTC (22 years, 1 month ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE
Branch point for: OPENBSD_3_1, OPENBSD_3_0, OPENBSD_2_9
Changes since 1.1: +17 -7 lines
Diff to previous 1.1 (colored)

minor cleanup and more error checking; ok markus@

Revision 1.1 / (download) - annotate - [select for diffs], Mon Mar 18 17:27:22 2002 UTC (22 years, 2 months ago) by provos
Branch: MAIN

file descriptor passing abstraction for ssh-privsep

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.