summaryrefslogtreecommitdiff
path: root/sbin/quotacheck
AgeCommit message (Collapse)Author
2024-02-03Remove Softdep.Bob Beck
Softdep has been a no-op for some time now, this removes it to get it out of the way. Flensing mostly done in Talinn, with some help from krw@ ok deraadt@
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo 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.
2018-09-26related to the fsck changes, quotacheck must also determine & setupTheo de Raadt
unveil early on for the root filesystem.
2015-12-10Remove NULL-checks before free(). ok tb@mmcc
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
2015-02-07When getopt processing flags, many should be flag=1 instead of flag++Theo de Raadt
ok tedu miod
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orTheo de Raadt
delete <sys/param.h> if now possible ok guenther
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo 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-07-22FSTAB -> _PATH_FSTAB, the latter is deprecated.Jeremie Courreges-Anglas
From natano@bitrig, ok deraadt@
2014-05-20As suggested by guenther@ and millert@, replace seek+[read|write] withKenneth R Westerback
p[read|write]. Makes the code much clearer by eliminating extra error checking and verbiage. No intentional functional change. Tweaks by and ok guenther@
2014-05-12Remove useless dev_bsize variable and use DEV_BSIZE as needed. DivideKenneth R Westerback
sblock_try[] entries by DEV_BSIZE to get proper 512-byte-block address for bread(). Confirmed to still work on 4k-byte sector devices by David Vasek.
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-04-23handle large ino_t; ok teduTheo de Raadt
2012-05-31Let quotacheck work with duid based fstab. Missed one open() -> opendev()Kenneth R Westerback
from Rogier Krieger's original diff. Found by and fix tested by dlg@
2012-04-12do not downsize a type before calling mallocTheo de Raadt
2012-03-24fix some leaksJonathan Gray
ok miod@
2012-02-08Hammer fstab entries and command line entries into same format withKenneth R Westerback
realpath() and opendev() so duid and device names work consistantly. Also lets duid fstab entries work. ok deraadt@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-08-15remove superfluous .Ar macro before ellipsis.Igor Sobrado
2007-12-16fix ffs2 case: fs_sblockloc's unit is disk sectors, not fragments;Otto Moerbeek
ok millert@
2007-07-11ffs2 support from FreeBSD. Tested by jmc@ and kili@Todd C. Miller
2007-06-29more daddr64_t changes; checked by ottoTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-02-21simplify synopsis and usage(); from Igor SobradoJason McIntyre
2005-04-05spacing found while digging for bugsTheo de Raadt
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
way for some future work. no function changes yet. help testing otto@ and markus@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-04snprintf & strlcpy; tedu okTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-03-11strcpy -> strlcpy; Hans-Joerg.Hoexer@yerbouti.franken.deTheo de Raadt
2002-07-03ansiTheo de Raadt
2002-06-25Minor fixes, including duplicate and missing words; Brian PooleTodd 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-05kill more registers;Mike Pechkin
millert@ ok
2000-04-15Mostly punctuation fixes.Aaron Campbell
2000-03-18Remove hard sentence breaks, and some other cleanup along the way.Aaron Campbell
1999-06-04start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@Aaron Campbell
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28kill redundant .Nm macro arguments; other misc fixesAaron Campbell
1998-09-17sbin/ man page fixesAaron Campbell
1997-09-21$OpenBSD$Theo de Raadt
1997-06-25(foo *)0 -> NULLkstailey
1997-01-22call err() correctlyTheo de Raadt
1997-01-03make it work again, 'twas broken for a long time 'coze of ../fsck/preen.cMichael Shalayeff
changes, that is yantc situation. as a side effect it's parallelized too.
1996-10-20Deal with recent fsck changes.Todd C. Miller
1996-06-23update rcsidTheo de Raadt
1996-04-25permit quotas to work on mfs; problem reported by rdante@pnet.netTheo de Raadt
1996-04-21sync to netbsd 960418Theo de Raadt