History log of /openbsd/sbin/quotacheck/quotacheck.c (Results 1 – 25 of 42)
Revision Date Author Comments
# 81fb472f 03-Feb-2024 beck <beck@openbsd.org>

Remove Softdep.

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@


# df69c215 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
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.

show more ...


# 76a56e18 26-Sep-2018 deraadt <deraadt@openbsd.org>

related to the fsck changes, quotacheck must also determine & setup
unveil early on for the root filesystem.


# 5ce950de 10-Dec-2015 mmcc <mmcc@openbsd.org>

Remove NULL-checks before free(). ok tb@


# a47b6461 18-Apr-2015 deraadt <deraadt@openbsd.org>

Convert many atoi() calls to strtonum(), adding range checks and failure
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert


# 3579491d 07-Feb-2015 deraadt <deraadt@openbsd.org>

When getopt processing flags, many should be flag=1 instead of flag++
ok tedu miod


# 78eb0b7e 20-Jan-2015 deraadt <deraadt@openbsd.org>

Adjust <sys/param.h> comments regarding use of use of MAXFRAG, or
delete <sys/param.h> if now possible
ok guenther


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
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)

show more ...


# 58ae8366 22-Jul-2014 jca <jca@openbsd.org>

FSTAB -> _PATH_FSTAB, the latter is deprecated.
From natano@bitrig, ok deraadt@


# 1593d282 20-May-2014 krw <krw@openbsd.org>

As suggested by guenther@ and millert@, replace seek+[read|write] with
p[read|write]. Makes the code much clearer by eliminating extra error
checking and verbiage.

No intentional functional change.

As suggested by guenther@ and millert@, replace seek+[read|write] with
p[read|write]. Makes the code much clearer by eliminating extra error
checking and verbiage.

No intentional functional change.

Tweaks by and ok guenther@

show more ...


# ab7a365b 12-May-2014 krw <krw@openbsd.org>

Remove useless dev_bsize variable and use DEV_BSIZE as needed. Divide
sblock_try[] entries by DEV_BSIZE to get proper 512-byte-block address
for bread().

Confirmed to still work on 4k-byte sector de

Remove useless dev_bsize variable and use DEV_BSIZE as needed. Divide
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.

show more ...


# 1abdbfde 11-Jun-2013 deraadt <deraadt@openbsd.org>

final removal of daddr64_t. daddr_t has been 64 bit for a long enough
test period; i think 3 years ago the last bugs fell out.
ok otto beck others


# 24ffb0c0 23-Apr-2013 deraadt <deraadt@openbsd.org>

handle large ino_t; ok tedu


# 7e932812 31-May-2012 krw <krw@openbsd.org>

Let quotacheck work with duid based fstab. Missed one open() -> opendev()
from Rogier Krieger's original diff.

Found by and fix tested by dlg@


# 5bd27043 12-Apr-2012 deraadt <deraadt@openbsd.org>

do not downsize a type before calling malloc


# d5b07100 24-Mar-2012 jsg <jsg@openbsd.org>

fix some leaks
ok miod@


# 2507a217 08-Feb-2012 krw <krw@openbsd.org>

Hammer fstab entries and command line entries into same format with
realpath() and opendev() so duid and device names work consistantly.
Also lets duid fstab entries work.

ok deraadt@


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
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

show more ...


# 4ec93eb9 16-Dec-2007 otto <otto@openbsd.org>

fix ffs2 case: fs_sblockloc's unit is disk sectors, not fragments;
ok millert@


# 5cb887c0 11-Jul-2007 millert <millert@openbsd.org>

ffs2 support from FreeBSD. Tested by jmc@ and kili@


# 50c87d91 29-Jun-2007 deraadt <deraadt@openbsd.org>

more daddr64_t changes; checked by otto


# 31ed6db9 21-Feb-2007 jmc <jmc@openbsd.org>

simplify synopsis and usage(); from Igor Sobrado


# a7c59635 05-Apr-2005 deraadt <deraadt@openbsd.org>

spacing found while digging for bugs


# f46297fd 25-Aug-2003 tedu <tedu@openbsd.org>

rename struct dinode to ufs1_dinode. clears the namespace and makes
way for some future work. no function changes yet.
help testing otto@ and markus@


# 1ef0d710 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


12