summaryrefslogtreecommitdiff
path: root/usr.bin/sup
AgeCommit message (Collapse)Author
2009-05-09add #ifdef DEBUG blocks around functions only used when DEBUG is defined.Charles Longeau
from tobias@ ok millert@ tobias@
2008-01-03remove almost empty EXAMPLE sectionCharles Longeau
ok jmc@
2007-11-25spelling fixes, from Martynas Venckus;Jason McIntyre
2007-10-17remove "unused variable" warningsCharles Longeau
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
2007-09-14remove some warnings:Charles Longeau
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-17Check getpwnam() return value for NULL before dereferencing it.Moritz Jodeit
ok ray@ millert@
2006-03-04the theMiod Vallat
2006-01-23Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENTodd C. Miller
2005-07-04make these use setres[ug]id for simple privilege dropping;Damien Miller
ok deraadt@ millert@ moritz@
2005-04-27make -v print only actual changes and add -V for old behaviour; beck@ okMichael Shalayeff
2005-03-26check for null and return error instead of stepping over itMichael Shalayeff
2005-03-12thanx -> thanksThierry Deval
2005-03-10Use correct byte order when printing out port numbers.Chad Loder
OK deraadt@, bruno rohee, hshoexer@, jaredy@
2004-08-25typos from -f (PR #3908);Jason McIntyre
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/