History log of /openbsd/sbin/scan_ffs/scan_ffs.c (Results 1 – 24 of 24)
Revision Date Author Comments
# a7b9eedc 09-May-2024 florian <florian@openbsd.org>

ctime(3) and ctime_r(3) can fail when timestamps are way off.
Add missing error checks to all calls under sbin/

Input kettenis, millert
OK millert


# 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 ...


# 6316a812 26-Apr-2018 guenther <guenther@openbsd.org>

Prefer <fcntl.h> over <sys/fcntl.h> in userland
While here, delete some extra #includes and apply style(9) sort rules.

ok deraadt@ krw@ mpi@


# e384f6ef 23-Nov-2015 deraadt <deraadt@openbsd.org>

Use pledge "disklabel" as needed. The theory here is these tools become more
resistant against memory correctup, if a corrupt filesystem is given to them.
ok krw


# c05fbe6b 11-Oct-2015 deraadt <deraadt@openbsd.org>

After the disk is opened, this can pledge "stdio".
ok doug


# 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 ...


# bb4f4fae 01-Nov-2013 krw <krw@openbsd.org>

Sprinkle (long long) casts where %lld is being used to print daddr_t
variables. Some random whitespace/knf repairs encountered on the way.

ok miod@ on inspection, feedback & more suggestions from mi

Sprinkle (long long) casts where %lld is being used to print daddr_t
variables. Some random whitespace/knf repairs encountered on the way.

ok miod@ on inspection, feedback & more suggestions from millert@

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


# 84ed2f50 02-Apr-2013 deraadt <deraadt@openbsd.org>

handle large time_t


# f1cc536d 22-Jun-2007 otto <otto@openbsd.org>

daddr_t -> daddr64_t; ok pedro@ thib@


# 363b8579 19-Mar-2007 pedro <pedro@openbsd.org>

Add FFS2 fields to the superblock, change file system tools to keep
accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
and thib@, thanks.


# 8c32ee60 28-Jun-2006 pedro <pedro@openbsd.org>

Use argv[0] where argv[0] is meant, Nicholas Marriott


# 706cabc5 16-Feb-2004 deraadt <deraadt@openbsd.org>

no need for extra param; Mathias@enloco.net


# b884d431 02-Jul-2003 deraadt <deraadt@openbsd.org>

missing protos


# 5ee59c14 03-Jun-2003 weingart <weingart@openbsd.org>

Kill clause 3 & 4 on some of my code.


# bc52e260 03-Jul-2002 deraadt <deraadt@openbsd.org>

ansi


# a4df0321 07-Jul-2001 deraadt <deraadt@openbsd.org>

major -Wall cleanup, almost complete


# c2857a3d 26-Jan-2001 weingart <weingart@openbsd.org>

Small cleanup patch from <mpech@prosoft.org.lv>.
niklas@ ok.


# c068d030 08-Jun-1999 niklas <niklas@openbsd.org>

Some large partition fixes


# 3ab72683 28-Mar-1998 deraadt <deraadt@openbsd.org>

Wall


# 4c7f3c60 05-Feb-1998 weingart <weingart@openbsd.org>

special -> device


# 3bea8ccc 04-Feb-1998 millert <millert@openbsd.org>

fix usage string


# e241d7eb 04-Feb-1998 deraadt <deraadt@openbsd.org>

very handy program that scans a device for filesystems; from niklas & weingart.
Needs a man page, anyone willing?