summaryrefslogtreecommitdiff
path: root/usr.bin/sup/Makefile.inc
AgeCommit message (Collapse)Author
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.
2000-08-20Add calls to setusercontext() and login_get*(). We basically callTodd C. Miller
setusercontext() in most places where previously we did a setlogin(). Add default login.conf file and put root in the "daemon" login class.
1996-06-26rcsidTheo de Raadt
1995-12-16add sup to the treeTheo de Raadt