Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-05-23 | Canonicalize all devices to DUIDs in order to make -w and -W output consistent. | Philip Guenther | |
Based on diff from Manuel Giraud (manuel (at) ledu-giraud.fr) Thanks! | |||
2015-05-03 | Eliminate the -U flag and make usage of DUID in /etc/dumpdates the default. | Philip Guenther | |
Correct old style entries so nothing has to be done for the admin. diff from Manuel Giraud (manuel (at) ledu-giraud.fr) Thanks! | |||
2015-03-15 | tzfile.h is an internal header that should never have been installed. | Todd C. Miller | |
What's worse, the tzfile.h that gets installed is over 20 years old and doesn't match the real tzfile.h in libc/time. This makes the tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE define has been moved to time.h temporarily until its usage is replaced by 1900 in the tree. Actual removal of tzfile.h is pending a ports build. Based on a diff from deraadt@ | |||
2015-01-20 | Adjust <sys/param.h> comments regarding use of use of MAXFRAG, or | Theo de Raadt | |
delete <sys/param.h> if now possible ok guenther | |||
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-09-03 | Kill off compat for systems that don't define NAME_MAX or that lack stuff | Philip Guenther | |
like, oh, strchr() and prototypes for read() and write(). Mark quit() as both __dead and printf-like, and dumpabort() as __dead. ok krw@ | |||
2014-07-17 | files-to-dump can be a duid; | Jason McIntyre | |
From: Maximilian Fillinger | |||
2014-07-11 | make dump support DUIDs for command line arguments and /etc/dumpdates (using | Alexander Hall | |
the new shiny -U switch) dumpdates part originating from, and discussed with, Maximilian Fillinger seems reasonable to krw@, "get it in" deraadt@ | |||
2014-07-10 | Add internal buffering when dumping a device with non-512 byte | Kenneth R Westerback | |
sectors. This ensures that the requested data, and all the requested data, is actually read from the device. Should have no effect on 512-byte sector devices, but makes dump work on 4096-byte sector devices. Problem noted by and fix tested by David Vasek. | |||
2014-06-13 | Type cleanup: | Christian Weisgerber | |
* Move all off_t variables that don't look like file sizes to int64_t. * Switch blockswritten to int64_t, so it won't wrap at 2TB. * Same for blocksthisvol (from deraadt@). * Switch xferrate (from tedu@) and blocksperfile from long to uint64_t. * Since blocksperfile can be set with -B, move numarg() from long to long long and don't mark small integer constant arguments as long. ok deraadt@, tedu@ | |||
2014-05-31 | Oops. We're reporting DEV_BSIZE values in error messages, so call | Kenneth R Westerback | |
them 'blocks' not 'sectors'. | |||
2014-05-31 | Cast daddr_t variable (blkno) to (long long) when printing with %lld. | Kenneth R Westerback | |
2014-05-31 | add -S to usage(); | Jason McIntyre | |
2014-05-30 | Add option -S to have dump(8) only estimate backup size and number of tapes | Stephan A. Rickauer | |
required (from NetBSD). ok beck@, krw@ and sthen@ | |||
2014-05-27 | Where trying to pread() a single disk sector, the i/o must be for the | Kenneth R Westerback | |
actual disk sector size and not DEV_BSIZE. The sector size must be obtained via the disklabel. Larger i/o's must be multiple sectors, so when retrying with a smaller size shrink the attempt by one sector and not DEV_BSIZE. Of course if your d_secsize is DEV_BSIZE, this will all be a no-op. This does not make non-512-byte sectors work, but puts in place the logic to get and use the disklabel info. Which makes the next diffs bite sized and focused. ok guenther@ | |||
2014-05-24 | Nuke last of the illusionary 'dev_bsize' and 'dev_bshift' variables in | Kenneth R Westerback | |
favour of DEV_BSIZE. No-op on 512-byte sector devices. | |||
2014-05-21 | Nuke some trailing whitespace and break some long lines to shrink | Kenneth R Westerback | |
subsequent diffs. | |||
2014-05-20 | As suggested by guenther@ and millert@, replace seek+[read|write] with | Kenneth 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@ | |||
2013-11-22 | Whole bunch of (unsigned char) casts carefully added for ctype calls. | Theo de Raadt | |
Careful second audit by millert | |||
2013-11-12 | add a variety of missing prototypes | Theo de Raadt | |
2013-11-02 | No need to cast constants or simple variables to (daddr_t). Use | Kenneth R Westerback | |
(u_int64_t) instead of (daddr_t) when casting a variable in an expression passed to DL_SETDSIZE(). Change a variable counting open files from daddr_t to int64_t. ok deraadt@ with the tweak to fix that pesky expression. | |||
2013-06-11 | final removal of daddr64_t. daddr_t has been 64 bit for a long enough | Theo de Raadt | |
test period; i think 3 years ago the last bugs fell out. ok otto beck others | |||
2013-04-25 | big int_t/time_t fixes; ok deraadt@ krw@ | Otto Moerbeek | |
2013-04-23 | handle large ino_t; ok tedu | Theo de Raadt | |
2013-04-16 | remove casts to time_t * which are not needed | Theo de Raadt | |
2013-04-16 | do not need to cast type to same type | Theo de Raadt | |
2013-04-04 | Make our dump(8) honour the "nodump" flag for directories, effectively | Vadim Zhukov | |
disabling dumping their contents. input and ok otto@ millert@ man page bits input and ok jmc@ | |||
2013-01-06 | The sparc optimization bug is believed to be fixed. OK naddy@. | Martynas Venckus | |
2012-08-22 | - open a remote file/device with the same flags we use when opening a | Alexander Hall | |
local one - replace a few magic numbers with the appropriate constants ok millert@ (pre-lock) | |||
2011-04-25 | do not use stdio in the (stupid) SIGSEGV handler | Theo de Raadt | |
2009-11-12 | free flagsp if flags variable indicates it was not used, found by parfait; ↵ | Theo de Raadt | |
ok millert | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo 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 | |||
2008-01-26 | the kids want I/O; | Jason McIntyre | |
2008-01-11 | compute transfer rate using 64-bit arithmetic, ok sthen@ millert@ | Otto Moerbeek | |
2008-01-02 | remove unused functions | Charles Longeau | |
initially from tobias@, and I removed an unused struct too ok moritz@ tobias@ | |||
2007-11-19 | put the SIGINFO blurb in a saner place; | Jason McIntyre | |
2007-11-18 | do not confuse the reader telling he should use a towers of hanoi | Otto Moerbeek | |
based scheme when it makes no sense: a weekly schedule does not benefit from it. ok mbalmer@ jmc@ ray@ | |||
2007-09-10 | Proper use of fseek/fseeko macros. | Tobias Stoeckmann | |
OK joris@, otto@ | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-06-15 | don't use static data in recursive functions; from FreeBSD; fixes PR 5509 | Otto Moerbeek | |
and other reports about dump accessing wrong blocks; ok beck@ deraadt@ | |||
2007-06-11 | When dumping ffs1, store old_atime and old_mtime too. | Todd C. Miller | |
2007-06-03 | Add ffs2 support to dump/restore. From FreeBSD with some NetBSD changes. | Todd C. Miller | |
With help from otto@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-04-10 | Rewrite ITITERATE macro to prevent out-of-bounds memory access. | Moritz Jodeit | |
This makes dump -u work with malloc debugging enabled. ok millert@ | |||
2007-03-19 | Add FFS2 fields to the superblock, change file system tools to keep | Pedro Martelletto | |
accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@ and thib@, thanks. | |||
2007-03-06 | Add and fix /* FALLTHROUGH */ comments. | Ray Lai | |
From Jim Razmus. OK millert@ and otto@. | |||
2007-03-04 | memory leak found by coverity; Jim Razmus | Theo de Raadt | |
2007-03-04 | delete sunos junk; Jim Razmus | Theo de Raadt | |
2007-02-25 | shuffle the text slightly into a more logical order; | Jason McIntyre | |