summaryrefslogtreecommitdiff
path: root/usr.bin/sup
AgeCommit message (Collapse)Author
2004-05-31zap unused variables, ok beck@Pedro Martelletto
2004-04-05Pass correct buffer length to gethdir(), and also change int arg to size_tAaron Campbell
per anil@. deraadt@, millert@ ok
2004-01-23Use closefrom(); ok millert teduTheo de Raadt
2004-01-12fix string mishandling of lpath, ok millert, deraadtBob Beck
2003-12-02Nothing in vprintf.c is actually used so don't bother compiling it.Todd C. Miller
OK drahn@
2003-11-08typos from Jonathon Gray;Jason McIntyre
2003-09-05fp leak. from Patrick Latifi. ok beck@ deraadt@Ted Unangst
2003-09-04millert's sup fix, tested here on client and server.Bob Beck
committing in absentia for todd, ok beck@
2003-08-27oopsTed Unangst
2003-08-27fix memory leaks. pr3416 from Patrick Latifi <patrick.l@hermes.usherb.ca>Ted Unangst
2003-08-01damn cvs! resurrect these ...Anil Madhavapeddy
2003-08-01move vis.h out of the way into a subdir so it isn't picked up by our buildAnil Madhavapeddy
noticed by david@, deraadt@ ok
2003-07-10add missing includesDavid Krause
ok deraadt@ tedu@
2003-06-04Base this on a newer version of time.h w/ a better license.Todd C. Miller
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-10Do not let userland access the swapon system call anymore (nothing uses itMiod Vallat
anyway). ok deraadt@ weingart@
2003-05-07bounds were sizeof(pointer) rather than size of the object; found withTheo de Raadt
anil's gcc bounds checker mod
2003-04-30strvis -> strnvisVincent Labrecque
ok millert
2003-04-15a bit of string cleaningTheo de Raadt
2003-03-18ip address -> IP address;Jason McIntyre
rtadvd.conf(5): positve -> positive; ok miod@
2003-03-10spelling fixesDavid Krause
ok millert@
2002-12-09From Andrushock, s/sucess/success/gTodd C. Miller
2002-10-16repeatititionMichael Shalayeff
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-08-03spell 'debugging' correctly with double 'g' (in comments)Peter Valchev
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-12a real pid_t cleanup.Mike Pechkin
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
2002-04-30arguement -> argumentTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-29make sure that va_start() has matching va_end()Mike Pechkin
millert@ help&ok
2001-09-19occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
2001-08-23end request with 0, not NULLCamiel Dobbelaar
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-07-25do not use vfork() unsafelyTheo de Raadt
2001-07-23kill errant newline in comment sectionTodd C. Miller
2001-05-15Add missing memset() from one of the select() fixes. Also free existingTodd C. Miller
readfds if malloc/realloc fails.
2001-05-07remove waitpid-related XXX's -- this is OKTodd C. Miller
2001-05-07Avoid excessive malloc/free for select in readdata()Todd C. Miller
2001-05-07Use a smaller buffer in fmttime() since the date string is of aTodd C. Miller
known fixed size.
2001-05-07Fix select(2) usage.Todd C. Miller
2001-05-05Fix Makefile.sunos5.gcc so that it builds sup correctly on Solaris 8Todd C. Miller
Fix some -Wall found on Solaris Fix some uid_t/gid_t stuff I missed before
2001-05-05Solaris has strerror()Todd C. Miller
Remove unneeded #include <util.h> and -lutil
2001-05-04o kill registerTodd C. Miller
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
2001-05-02Sync with NetBSD. Notable changes:Todd C. Miller
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.
2001-04-29Zero a buffer prior to passing it to readlink() as readlink()Todd C. Miller
does not append a NUL itself.
2001-04-29spelingTodd C. Miller
2001-04-29labels should precede actual code, not braces; from NetBSDTodd C. Miller