OpenBSD CVS

CVS log for src/usr.bin/rsh/Attic/rsh.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.41, Sat Apr 19 14:58:50 2014 UTC (10 years, 1 month ago) by tedu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.40: +1 -1 lines
FILE REMOVED

Once great men lived here... giants... gods... once, but long ago.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:43 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: 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.39: +1 -12 lines
Diff to previous 1.39 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.39 / (download) - annotate - [select for diffs], Tue Mar 20 15:48:10 2007 UTC (17 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

remove -K from usage();

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jul 4 01:54:10 2005 UTC (18 years, 10 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.37: +11 -8 lines
Diff to previous 1.37 (colored)

make these use setres[ug]id for simple privilege dropping;
ok deraadt@ millert@ moritz@

Revision 1.37 / (download) - annotate - [select for diffs], Fri Apr 1 04:06:40 2005 UTC (19 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.36: +8 -12 lines
Diff to previous 1.36 (colored)

move more stuff after revoke; millert ok

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jan 17 21:42:48 2004 UTC (20 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.35: +6 -11 lines
Diff to previous 1.35 (colored)

Exec ssh not rlogin or telnet if the user calls us as "rsh host"
instead of "rsh host command".  requested and OK by deraadt@

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jan 17 20:57:15 2004 UTC (20 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.34: +27 -170 lines
Diff to previous 1.34 (colored)

Kill kerberos4 code; OK deraadt@

Revision 1.34 / (download) - annotate - [select for diffs], Mon Aug 11 20:43:31 2003 UTC (20 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.33: +29 -34 lines
Diff to previous 1.33 (colored)

Convert to use poll(2) instead of static select.
Input from deraadt@ and fgsch@; Ok deraadt@

Revision 1.33 / (download) - annotate - [select for diffs], Mon Aug 11 20:10:00 2003 UTC (20 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.32: +25 -52 lines
Diff to previous 1.32 (colored)

Cosmetic changes to make the code a tad more readable:
o constify rcsid and copyright
o use warn/err instead of doing it by hand

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:15 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.31: +3 -7 lines
Diff to previous 1.31 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Apr 8 22:11:56 2003 UTC (21 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.30: +14 -10 lines
Diff to previous 1.30 (colored)

Replace strcpy w/ strlcpy(); deraadt@ OK

Revision 1.30 / (download) - annotate - [select for diffs], Mon Aug 12 02:31:43 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.29: +8 -2 lines
Diff to previous 1.29 (colored)

die if FD_SET overruns.  (i don't have enough motive to change it to malloc
fd_set, rsh should be in graveyard)

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 15 22:11:21 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.28: +11 -20 lines
Diff to previous 1.28 (colored)

ansi and some bug fixes

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jun 12 06:07:16 2002 UTC (21 years, 11 months ago) by mpech
Branch: MAIN
Changes since 1.27: +6 -4 lines
Diff to previous 1.27 (colored)

a real pid_t cleanup.

espie@ ok for make/,
deraadt@ one extra eye,
millert@ ok

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jun 9 05:50:33 2002 UTC (21 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Sync usage with manpage

Revision 1.26 / (download) - annotate - [select for diffs], Mon May 6 22:50:03 2002 UTC (22 years ago) by millert
Branch: MAIN
Changes since 1.25: +11 -6 lines
Diff to previous 1.25 (colored)

rlogin is gone but rsh remains (though its use is discouraged).
If someone uses the 'rsh foo' form and there is no rlogin installed,
use telnet instead.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Feb 19 19:39:39 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.24: +2 -19 lines
Diff to previous 1.24 (colored)

We live in an ANSI C world.  Remove lots of gratuitous #ifdef __STDC__ cruft.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Feb 17 19:42:31 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)

Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:52 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.22: +9 -9 lines
Diff to previous 1.22 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:16 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
Changes since 1.21: +9 -9 lines
Diff to previous 1.21 (colored)

kill more registers

millert@ ok

Revision 1.21 / (download) - annotate - [select for diffs], Thu Sep 27 16:24:45 2001 UTC (22 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

oops

Revision 1.20 / (download) - annotate - [select for diffs], Tue Sep 4 23:35:59 2001 UTC (22 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.19: +12 -8 lines
Diff to previous 1.19 (colored)

Replace the deprecated BSD sigsetmask/sigblock/sigpause functions with their POSIX counterparts.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 1 03:23:37 2000 UTC (24 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

no need to extern int errno if errno.h is included

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 27 05:27:42 2000 UTC (24 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.17: +6 -4 lines
Diff to previous 1.17 (colored)

enable IPv6 support.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 25 19:53:21 1998 UTC (26 years, 2 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.16: +37 -17 lines
Diff to previous 1.16 (colored)

fix a bug, use fd_set for select() and cleanup a bit.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Aug 6 06:43:41 1997 UTC (26 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.15: +5 -2 lines
Diff to previous 1.15 (colored)

save errno in mangly handlers

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jul 25 21:05:39 1997 UTC (26 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.14: +6 -6 lines
Diff to previous 1.14 (colored)

#if __STDC__ --> #ifdef __STDC__

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 29 11:10:34 1997 UTC (26 years, 10 months ago) by provos
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

new location of des.h

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 23 09:13:07 1997 UTC (26 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

sigblock mask is int, not long

Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 26 19:41:59 1997 UTC (27 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

calculate width for select() more carefully

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 15 23:43:09 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

getopt(3) returns -1 when out of args, not EOF, whee!

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 22 03:26:02 1996 UTC (27 years, 5 months ago) by tholo
Branch: MAIN
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 (colored)

Deal with _POSIX_SAVED_IDS when relinquishing privileges

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 2 21:28:04 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored)

unset $RSH so we don't loop de loop in rcmd().

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 30 02:20:57 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.7: +7 -3 lines
Diff to previous 1.7 (colored)

bail if euid != 0; keeps us from fork-bombing with rcmd that calls rsh(1).

Revision 1.7 / (download) - annotate - [select for diffs], Sun Aug 11 08:46:44 1996 UTC (27 years, 9 months ago) by tholo
Branch: MAIN
Changes since 1.6: +22 -3 lines
Diff to previous 1.6 (colored)

Be silent about Kerberos failure if local systel is not configured for
Kerberos

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 24 17:31:08 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

normal uid before execv

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jul 22 10:09:04 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +2 -7 lines
Diff to previous 1.4 (colored)

rcsid cleanup

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 26 05:38:49 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

rcsid

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 17 07:16:43 1996 UTC (28 years, 1 month ago) by tholo
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Make encrypted remote shell work again.  Note that this is not a supported
configuration, and no port number is defined for it.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Dec 16 22:20:36 1995 UTC (28 years, 5 months ago) by tholo
Branch: MAIN
Changes since 1.1: +4 -28 lines
Diff to previous 1.1 (colored)

Make it possible to build without SKEY support
Add support for building with kerberosIV

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:46:03 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:46:03 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

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.