Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-24 | make SYNOPSIS match usage to indicate -l is optional in: | Jason McIntyre | |
swapctl [[-l] | -s] [-k] from martin vahlensieck | |||
2020-02-11 | Initialize rejecttype to appease static analyzers | Jeremie Courreges-Anglas | |
-t has already been checked in main() and can only be "blk" or "noblk", but static analyzers like scan-build fail to spot this. From miod@ | |||
2019-12-05 | Remove clause #3 from mrg@NetBSD license. | Martin Pieuchot | |
In May 29 2008, Matthew R. Green removed it in NetBSD: github.com/IIJ-NetBSD/netbsd-src/commit/7ea20401d535da9996394136ef ok deraadt@ | |||
2019-06-28 | When system calls indicate an error they return -1, not some arbitrary | Theo de Raadt | |
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | |||
2016-03-30 | for some time now mandoc has not required MLINKS to function | Jason McIntyre | |
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | |||
2016-03-17 | Last parameter to execl[e]() functions *must* be cast to a pointer. | Kenneth R Westerback | |
Just NULL is not good practise as NULL is theoretically allowed to be an integer rather than a pointer. Use (char *)NULL consistently instead of scattering a few (char *)0 and (void *)NULL into the mix. Prompted by and probably ok deraadt@ millert@ kettenis@ Definitely ok mestre@ ratchov@ | |||
2015-12-10 | Remove NULL-checks before free(). ok tb@ | mmcc | |
2015-09-15 | update spacing in usage(); reminded by jmc@ | Ingo Schwarze | |
2015-09-15 | fix markup of the -t argument | Ingo Schwarze | |
2015-08-20 | <stdlib.h> is included, so do not need to cast result from | Theo de Raadt | |
malloc, calloc, realloc* ok krw millert | |||
2015-08-14 | switch from system(3) to vfork(2)+execl(2) for invoking mount_nfs(8) when fstab | Sebastien Marie | |
contains option for swapping to NFS files. ok millert@ | |||
2015-04-18 | Convert many atoi() calls to strtonum(), adding range checks and failure | Theo de Raadt | |
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-08-10 | Only need <stdint.h> and not all of <inttypes.h> here | Philip Guenther | |
2013-07-16 | Add missing .Mt macros for AUTHORS email addresses. | Ingo Schwarze | |
From Jan Stary <hans at stare dot cz>. ok jmc@ | |||
2011-06-24 | swapctl -s was showing 1k blocks, regardless of -k. so fix this by showing | Jasper Lievisse Adriaanse | |
1k block when we're supposed to. fix from tyr@poczta.fm in pr 6609 ok otto@ | |||
2011-04-17 | a little more tweaking; ok krw | Jason McIntyre | |
2011-04-17 | Tweak verbiage, bring examples up to date. | Kenneth R Westerback | |
Suggestions from deraadt@ and jmc@. ok jmc@ | |||
2010-12-29 | Fix swapctl -A with DUIDs in /etc/fstab, and plug a small memory leak. | Stefan Sperling | |
ok jsing@ (who also pointed out a DPADD tweak missing from my diff) | |||
2010-09-03 | add an EXIT STATUS section for /sbin; | Jason McIntyre | |
2007-11-26 | if no arguments given, assume a nice default; ok miod jakemsr deanna | Theo de Raadt | |
2007-07-26 | use calloc() instead of malloc(); zinovik@cs.karelia.ru | Theo de Raadt | |
2007-07-17 | sync swapon usage(); from Igor Zinovik | Jason McIntyre | |
2007-07-17 | do not try to list which options go with -p: the list is currently out of | Jason McIntyre | |
date, and even if i update it, it will obsolete itself if we add or remove options. it works when it makes sense, like it should. after a request from Igor Zinovik | |||
2007-07-16 | Remove dead code and fix incorrect comment. From Igor Zinovik. | Todd C. Miller | |
2007-07-16 | No need to include <sys/param.h> or <errno.h>. Also reorder includes | Todd C. Miller | |
while here. Adapted from a diff by Igor Zinovik. | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-27 | fix .Xr's to mount_vnd(8) | Alexander von Gernler | |
suggested and ok jmc@ | |||
2006-08-24 | add .Ex; | Jason McIntyre | |
2006-08-24 | - expand the text on priorities: from netbsd | Jason McIntyre | |
- move WARNINGS to BUGS: from netbsd | |||
2006-08-24 | reword a scary sentence; | Jason McIntyre | |
2006-08-24 | sort options; | Jason McIntyre | |
2005-04-12 | handle snprintf potential -1 case | Theo de Raadt | |
2004-01-12 | - avoid variable sized static array (from millert@) | Anil Madhavapeddy | |
- check for snprintf overflow - errx -> err for strdup commit #1000! | |||
2003-09-26 | check strdup failure; ok anil millert | Theo de Raadt | |
2003-06-03 | - section reorder | Jason McIntyre | |
- some mdoc fixes | |||
2003-05-10 | document that kernel automatically handles first swap partition | Jason McIntyre | |
("swap_device" in swapctl -l) and does not need to be added to /etc/fstab. krw@, fries@, rohee@, millert@, henning@ ok. | |||
2003-03-03 | Fix inaccuracies in comments. | Miod Vallat | |
2003-02-13 | typos; | Jason McIntyre | |
setextattr(8): example markus@ spamd(8): someone else found some of these on bugs/misc, but for the life of me i can't find out who pf.conf(5): from openbsd@davidkrause.com raidctl(8): from ian@darwinsys.com | |||
2002-12-19 | no you | Theo de Raadt | |
2002-07-03 | ansi | Theo de Raadt | |
2002-05-15 | typo in comment. | Artur Grabowski | |
From Sam Smith S at mSmith.net | |||
2002-05-15 | Kill commented out stubs for swapoff. | Artur Grabowski | |
2002-05-15 | kill the reference to swapoff. | Artur Grabowski | |
2002-02-16 | Part 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-12-21 | Initial patch for a new mdoc issue. | Mike Pechkin | |
Powered by @mantoya: o) kill extra line in the end of file; o) kill extra space in the end of line; o) replace blank lines with .Pp; millert@ ok | |||
2001-08-02 | o) .Sh AUTHOR -> .Sh AUTHORS; | Mike Pechkin | |
o) .Sh EXAMPLE -> .Sh EXAMPLES; o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION; millert@ ok | |||
2001-07-26 | Remove BUGS section, swapoff now works. ok art@ | Peter Valchev | |
2001-06-04 | return from main() don't exit | Michael Shalayeff | |
2001-06-02 | Various swapctl(8) improvements: | Miod Vallat | |
- don't print an error message when trying to enable swap on an already active swap point. - better handling of -t option. - silently ignores swap points which are neither block devices nor regular files, and don't consider swap points not starting with /dev/ as valid block devices, when invoked with -A. Work by deraadt@ and myself, ok millert@ |