Up to [local] / src / usr.bin / sup / src
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.20, Mon Oct 18 20:54:00 2010 UTC (13 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +1 -1 lines
FILE REMOVED
sup is no longer used. reminded by pirofti and jmc
Revision 1.19 / (download) - annotate - [select for diffs], Sun Sep 2 15:19:35 2007 UTC (16 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
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
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)
use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
Revision 1.18 / (download) - annotate - [select for diffs], Thu Mar 10 01:36:37 2005 UTC (19 years, 3 months ago) by cloder
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,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)
Use correct byte order when printing out port numbers. OK deraadt@, bruno rohee, hshoexer@, jaredy@
Revision 1.17 / (download) - annotate - [select for diffs], Mon Jan 12 04:22:23 2004 UTC (20 years, 5 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.16: +3 -14 lines
Diff to previous 1.16 (colored)
fix string mishandling of lpath, ok millert, deraadt
Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 12 06:07:16 2002 UTC (22 years ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4,
OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)
a real pid_t cleanup. espie@ ok for make/, deraadt@ one extra eye, millert@ ok
Revision 1.15 / (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.14: +2 -21 lines
Diff to previous 1.14 (colored)
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:54 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Sat May 5 15:56:04 2001 UTC (23 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)
Fix Makefile.sunos5.gcc so that it builds sup correctly on Solaris 8 Fix some -Wall found on Solaris Fix some uid_t/gid_t stuff I missed before
Revision 1.12 / (download) - annotate - [select for diffs], Fri May 4 22:16:16 2001 UTC (23 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.11: +189 -175 lines
Diff to previous 1.11 (colored)
o kill register o lots of KNF o passes -Wall o fix some [ug]id_t vs. int issues o use strlcpy/strlcat in favor of strncpy/strncat o use mem* routines everywhere instead of old b* ones o marked several questionable things for later fixing o kill ci.c and cvt.c -- we don't use them o kill read_line.c since it requires fgetln() (bad for portability) o kill salloc.c since it is the same as strup() o Replaced some #ifdef __OpenBSD__ with better tests o remaining problems: malloc return values are rarely checked, select misuse
Revision 1.11 / (download) - annotate - [select for diffs], Wed May 2 22:56:53 2001 UTC (23 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.10: +8 -10 lines
Diff to previous 1.10 (colored)
Sync with NetBSD. Notable changes: o Add libwrap support to supfilesrv, conditioned by #ifdef LIBWRAP (on by default). <bouyer@netbsd.org> o Renamed '-l' (the 'live' mode) to '-d' and '-l' is now used to enable logging of successfull connections. <bouyer@netbsd.org> o Don't botch varargs: the are not always an array of void * in the stack... Write a separate function to convert a list of function parameters to explain why execv failed. <christos@netbsd.org> o When in compress mode, don't overwrite the destination file directly, write a temp file and use rename when it is done. (From James Mathiesen <james@deshaw.com>) o Rename errno variable to error to avoid collision with errno.h and remove explicit extern of errno (we get it from errno.h) <mycroft@netbsd.org> o Cleanup unsigned char vs. char o Add -u flag, that prevents sup from attempting to restore a and m times on the received files. o Replace the provided read_line function with calls to the fparseln function in libutil. Maintain compatibility on machines without fparseln through the NEED_READ_LINE define. o Rename login() to suplogin() to avoid name collition in util.h o If rmdir() fails, chmod the path to have r/w/x perms and run "rm -rf" o avoid last.temp filename collision by using rel-suffix o When creating directories, make sure you remove previous non-directories before doing so, otherwise sup fails. o Add -q flag to supscan for quiet operation.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 29 21:52:15 2001 UTC (23 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.9: +19 -2 lines
Diff to previous 1.9 (colored)
Add a bunch of old revision history comments that we are missing to make diffing easier. No code changes...
Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 1 03:23:40 2000 UTC (24 years, 4 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.8: +1 -2 lines
Diff to previous 1.8 (colored)
no need to extern int errno if errno.h is included
Revision 1.8 / (download) - annotate - [select for diffs], Sun Oct 12 20:29:55 1997 UTC (26 years, 8 months ago) by beck
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,
OPENBSD_2_2_BASE,
OPENBSD_2_2
Changes since 1.7: +10 -3 lines
Diff to previous 1.7 (colored)
ftruncate the lock file for supfilesrv -O before writing pid into it.
Revision 1.7 / (download) - annotate - [select for diffs], Sat Oct 11 23:34:20 1997 UTC (26 years, 8 months ago) by beck
Branch: MAIN
Changes since 1.6: +71 -1 lines
Diff to previous 1.6 (colored)
-Kludges for SunOS 5 portablility, -Added -O option to supfilesrv. -O lockdir make serving process lock file in lockdir for each connecting ip address. Will refuse a second connection from a host it's already serving a request for.
Revision 1.6 / (download) - annotate - [select for diffs], Tue Sep 16 11:01:17 1997 UTC (26 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)
strcpy whacking; ci.c and expand.c need more work
Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 25 21:05:42 1997 UTC (26 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
#if __STDC__ --> #ifdef __STDC__
Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 1 07:35:22 1997 UTC (27 years, 2 months ago) by todd
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE,
OPENBSD_2_1
Changes since 1.3: +32 -53 lines
Diff to previous 1.3 (colored)
This merges in the latest NetBSD sup source. - removed $Log: ...$ tags to not waste space in the repository - now doesn't segfault on the alpha! Note: To compile sup on systems other than *BSD, you'll need a copy of vis.c, vis.h, daemon.c, and sys/cdefs.h. At least the first two (for OSF/1). From NetBSD changelog description (for credit where due): .... 1996/12/23 19:42:05 christos - add missing prototypes. - fix function call inconsistencies - fix int <-> long and pointer conversions It should run now on 64 bit machines... .... 1996/12/31 18:08:00 christos 64 bit patches (mostly long -> time_t) from Matthew Jacob (?) sup now works on the alpha!
Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 4 12:58:26 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.2: +11 -1 lines
Diff to previous 1.2 (colored)
ftp bounce protection
Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:39:47 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +5 -0 lines
Diff to previous 1.1 (colored)
rcsid
Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 16 11:46:51 1995 UTC (28 years, 6 months ago) by deraadt
Branch: MAIN
add sup to the tree