summaryrefslogtreecommitdiff
path: root/sbin/swapctl/swapctl.c
AgeCommit message (Expand)Author
2016-03-17Last parameter to execl[e]() functions *must* be cast to a pointer.Kenneth R Westerback
2015-09-15update spacing in usage(); reminded by jmc@Ingo Schwarze
2015-08-14switch from system(3) to vfork(2)+execl(2) for invoking mount_nfs(8) when fstabSebastien Marie
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2010-12-29Fix swapctl -A with DUIDs in /etc/fstab, and plug a small memory leak.Stefan Sperling
2007-11-26if no arguments given, assume a nice default; ok miod jakemsr deannaTheo de Raadt
2007-07-17sync swapon usage(); from Igor ZinovikJason McIntyre
2007-07-16Remove dead code and fix incorrect comment. From Igor Zinovik.Todd C. Miller
2005-04-12handle snprintf potential -1 caseTheo de Raadt
2004-01-12- avoid variable sized static array (from millert@)Anil Madhavapeddy
2003-09-26check strdup failure; ok anil millertTheo de Raadt
2003-03-03Fix inaccuracies in comments.Miod Vallat
2002-07-03ansiTheo de Raadt
2002-05-15typo in comment.Artur Grabowski
2002-05-15Kill commented out stubs for swapoff.Artur Grabowski
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-06-04return from main() don't exitMichael Shalayeff
2001-06-02Various swapctl(8) improvements:Miod Vallat
2001-03-09PATH_MAX+1 is wrong. Not cranking libc/libc_r majors over this, since they j...Theo de Raadt
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
2000-02-26add rcs identsHugh Graham
1999-05-22Initial import of swapctl(8).Tobias Weingartner