Up to [local] / src / usr.bin / sup
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.6, Mon Oct 18 20:53:59 2010 UTC (13 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
sup is no longer used. reminded by pirofti and jmc
Revision 1.5 / (download) - annotate - [select for diffs], Fri May 4 22:16:14 2001 UTC (23 years ago) by millert
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,
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,
OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4,
OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2,
OPENBSD_3_1_BASE,
OPENBSD_3_1,
OPENBSD_3_0_BASE,
OPENBSD_3_0
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (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.4 / (download) - annotate - [select for diffs], Wed May 2 22:56:52 2001 UTC (23 years ago) by millert
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Sun Aug 20 18:42:41 2000 UTC (23 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)
Add calls to setusercontext() and login_get*(). We basically call setusercontext() in most places where previously we did a setlogin(). Add default login.conf file and put root in the "daemon" login class.
Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:39:36 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE,
OPENBSD_2_7,
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,
OPENBSD_2_1_BASE,
OPENBSD_2_1,
OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)
rcsid
Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 16 11:46:39 1995 UTC (28 years, 5 months ago) by deraadt
Branch: MAIN
add sup to the tree