OpenBSD CVS

CVS log for src/sbin/dump/main.c


[BACK] Up to [local] / src / sbin / dump

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.66 / (download) - annotate - [select for diffs], Thu May 9 08:35:40 2024 UTC (4 weeks, 2 days ago) by florian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.65: +10 -6 lines
Diff to previous 1.65 (colored)

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

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jan 9 03:16:00 2024 UTC (4 months, 4 weeks ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5
Changes since 1.64: +1 -3 lines
Diff to previous 1.64 (colored)

Delete support for FFS filesystems before the in-inode symlink
optimization.  As observed by ali_farzanrad(at)riseup.net, support
for these was broken in the 5.5 release in early 2014 by the time_t
changes.  No one noticed before now, so clearly this isn't something
we need to continue to support; rejecting in ffs_validate() is an
improvement.

Also: simplify DIRSIZ(), drop OLDDIRFMT and NEWDIRFMT, tests of
fs_maxsymlinklen against zero, #ifdef tests of FS_44INODEFMT, and
remove support for newfs -O0, last used in 2016.

ok miod@

Revision 1.64 / (download) - annotate - [select for diffs], Mon Dec 18 13:23:52 2023 UTC (5 months, 3 weeks ago) by otto
Branch: MAIN
Changes since 1.63: +4 -1 lines
Diff to previous 1.63 (colored)

Check if calloc calls succeeded; ok millert@

Revision 1.63 / (download) - annotate - [select for diffs], Thu Jun 2 15:35:55 2022 UTC (2 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Don't treat the first arg as a 4.3BSD option string if it contains a '/'.
Also document that files-to-dump could be interpreted as a 4.3BSD option
if it doesn't contain a slash.  OK deraadt@

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jan 21 00:16:36 2021 UTC (3 years, 4 months ago) by mortimer
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.61: +31 -11 lines
Diff to previous 1.61 (colored)

Rearrange variables in dump / restore to handle -fno-common.

Largely following the commit by mckusick in FreeBSD.

ok naddy@

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:43 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.60: +5 -5 lines
Diff to previous 1.60 (colored)

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.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Apr 26 17:40:48 2018 UTC (6 years, 1 month ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Cast a multiplicand to ino_t to avoid overflow in 32*32=64 calculations

ok pirofti@ krw@

Revision 1.59 / (download) - annotate - [select for diffs], Wed Aug 31 21:00:31 2016 UTC (7 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.58: +1 -18 lines
Diff to previous 1.58 (colored)

Delete SIGTRAP, SIGFPE, SIGBUS, and SIGSEGV handlers.  Such patterns
don't help improve code because they block core dumps and there reduce
inspection of bugs thus work on fixes.  Secondly, these handlers are
*stdio signal races* so they can produce different coredumps deep inside
stdio.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jun 7 01:29:38 2016 UTC (8 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

per trending style, add continue to emtpy loop bodies.
ok mglocker

Revision 1.57 / (download) - annotate - [select for diffs], Thu Aug 20 22:02:20 2015 UTC (8 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

<stdlib.h> is included, so do not need to cast result from
malloc, calloc, realloc*
ok krw millert

Revision 1.56 / (download) - annotate - [select for diffs], Sat May 23 05:17:20 2015 UTC (9 years ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.55: +45 -4 lines
Diff to previous 1.55 (colored)

Canonicalize all devices to DUIDs in order to make -w and -W output consistent.

Based on diff from Manuel Giraud (manuel (at) ledu-giraud.fr)  Thanks!

Revision 1.55 / (download) - annotate - [select for diffs], Sun May 3 01:44:34 2015 UTC (9 years, 1 month ago) by guenther
Branch: MAIN
Changes since 1.54: +13 -19 lines
Diff to previous 1.54 (colored)

Eliminate the -U flag and make usage of DUID in /etc/dumpdates the default.
Correct old style entries so nothing has to be done for the admin.

diff from Manuel Giraud (manuel (at) ledu-giraud.fr)  Thanks!

Revision 1.54 / (download) - annotate - [select for diffs], Tue Jan 20 18:22:20 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

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

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jan 16 06:39:57 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.52: +4 -3 lines
Diff to previous 1.52 (colored)

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)

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jul 11 16:01:41 2014 UTC (9 years, 11 months ago) by halex
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.51: +40 -8 lines
Diff to previous 1.51 (colored)

make dump support DUIDs for command line arguments and /etc/dumpdates (using
the new shiny -U switch)

dumpdates part originating from, and discussed with, Maximilian Fillinger

seems reasonable to krw@, "get it in" deraadt@

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jun 13 20:43:06 2014 UTC (9 years, 11 months ago) by naddy
Branch: MAIN
Changes since 1.50: +14 -14 lines
Diff to previous 1.50 (colored)

Type cleanup:
* 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@

Revision 1.50 / (download) - annotate - [select for diffs], Sat May 31 08:28:13 2014 UTC (10 years ago) by jmc
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

add -S to usage();

Revision 1.49 / (download) - annotate - [select for diffs], Fri May 30 20:48:21 2014 UTC (10 years ago) by stephan
Branch: MAIN
Changes since 1.48: +13 -2 lines
Diff to previous 1.48 (colored)

Add option -S to have dump(8) only estimate backup size and number of tapes
required (from NetBSD).

ok beck@, krw@ and sthen@

Revision 1.48 / (download) - annotate - [select for diffs], Tue May 27 12:35:40 2014 UTC (10 years ago) by krw
Branch: MAIN
Changes since 1.47: +8 -1 lines
Diff to previous 1.47 (colored)

Where trying to pread() a single disk sector, the i/o must be for the
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@

Revision 1.47 / (download) - annotate - [select for diffs], Sat May 24 21:49:09 2014 UTC (10 years ago) by krw
Branch: MAIN
Changes since 1.46: +1 -6 lines
Diff to previous 1.46 (colored)

Nuke last of the illusionary 'dev_bsize' and 'dev_bshift' variables in
favour of DEV_BSIZE. No-op on 512-byte sector devices.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Apr 16 18:17:39 2013 UTC (11 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

do not need to cast type to same type

Revision 1.45 / (download) - annotate - [select for diffs], Mon Apr 25 15:24:16 2011 UTC (13 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.44: +4 -2 lines
Diff to previous 1.44 (colored)

do not use stdio in the (stupid) SIGSEGV handler

Revision 1.44 / (download) - annotate - [select for diffs], Thu Nov 12 16:25:22 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (colored)

free flagsp if flags variable indicates it was not used, found by parfait; ok millert

Revision 1.43 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:32 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.42: +1 -15 lines
Diff to previous 1.42 (colored)

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

Revision 1.42 / (download) - annotate - [select for diffs], Sun Sep 2 15:19:23 2007 UTC (16 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jun 3 20:16:08 2007 UTC (17 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.40: +42 -32 lines
Diff to previous 1.40 (colored)

Add ffs2 support to dump/restore.  From FreeBSD with some NetBSD changes.
With help from otto@

Revision 1.40 / (download) - annotate - [select for diffs], Sun Mar 4 22:36:54 2007 UTC (17 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.39: +2 -9 lines
Diff to previous 1.39 (colored)

delete sunos junk; Jim Razmus

Revision 1.39 / (download) - annotate - [select for diffs], Sun Feb 25 16:48:46 2007 UTC (17 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.38: +7 -6 lines
Diff to previous 1.38 (colored)

the -W and -w flags do not need a separate synopsis;

Revision 1.38 / (download) - annotate - [select for diffs], Tue May 24 21:28:50 2005 UTC (19 years ago) by moritz
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.37: +10 -8 lines
Diff to previous 1.37 (colored)

fix minor ouput glitch, by using strtonum instead of strtol.
ok millert@

Revision 1.37 / (download) - annotate - [select for diffs], Thu Nov 4 20:10:07 2004 UTC (19 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)

very basic de-lints

Revision 1.36 / (download) - annotate - [select for diffs], Mon Aug 25 23:28:15 2003 UTC (20 years, 9 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

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@

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jul 28 06:13:26 2003 UTC (20 years, 10 months ago) by tedu
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

rcsid should say openbsd.  make 'em const while here.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jun 26 16:35:21 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.33: +7 -15 lines
Diff to previous 1.33 (colored)

ansi and protos

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jun 2 20:06:14 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.32: +2 -6 lines
Diff to previous 1.32 (colored)

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

Revision 1.32 / (download) - annotate - [select for diffs], Fri Apr 25 23:51:01 2003 UTC (21 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.31: +5 -3 lines
Diff to previous 1.31 (colored)

string cleanup

Revision 1.31 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:33 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Nov 5 07:39:16 2001 UTC (22 years, 7 months ago) by mpech
Branch: MAIN
Changes since 1.29: +7 -7 lines
Diff to previous 1.29 (colored)

kill more registers;

millert@ ok

Revision 1.29 / (download) - annotate - [select for diffs], Mon Oct 9 23:19:26 2000 UTC (23 years, 8 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.28: +6 -1 lines
Diff to previous 1.28 (colored)

do not coredump if can't get raw device name, e.g. /tmp on mfs; millert@ ok

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jan 4 02:53:49 2000 UTC (24 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Fix format string typo when printing estimated number of blocks;
naddy@unix-ag.uni-kl.de

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 24 22:32:24 1999 UTC (24 years, 5 months ago) by angelos
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Use correct printf formatting (dwmalone@maths.tcd.ie)

Revision 1.26 / (download) - annotate - [select for diffs], Sat Feb 20 21:46:05 1999 UTC (25 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

quit() wants the \n

Revision 1.25 / (download) - annotate - [select for diffs], Tue Nov 24 01:25:47 1998 UTC (25 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Wall, and do not let tapesize overflow

Revision 1.24 / (download) - annotate - [select for diffs], Sat Aug 22 07:44:03 1998 UTC (25 years, 9 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.23: +6 -3 lines
Diff to previous 1.23 (colored)

fix usage

Revision 1.23 / (download) - annotate - [select for diffs], Tue Aug 11 20:26:59 1998 UTC (25 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.22: +10 -8 lines
Diff to previous 1.22 (colored)

Better fix.  Now print mount point in both the statfs and fstab cases.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Aug 11 20:00:14 1998 UTC (25 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Fix unitialized value use introduce in last change; problem noted by hgweigand@wiesbaden.netsurf.de

Revision 1.21 / (download) - annotate - [select for diffs], Fri Aug 7 17:29:25 1998 UTC (25 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.20: +23 -23 lines
Diff to previous 1.20 (colored)

Use strlcpy() instead of strncpy().
Change the order of name -> raw device conversions
    1) statfs the name and use that info iff the name is the mount point
    2) look up name in fstab
    3) treat as a device
The reason for this is that the mounted filesystems may not agree with
what fstab says.  Anyone who has ever moved disks around and accidentally
dumped and empty filesystem will know what I mean.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 28 23:27:58 1998 UTC (25 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.19: +10 -2 lines
Diff to previous 1.19 (colored)

make dump work on filesystems not listed in fstab

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jul 14 19:04:08 1998 UTC (25 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +18 -18 lines
Diff to previous 1.18 (colored)

fix exit codes, adding X_STARTUP; jkoshy@freebsd

Revision 1.18 / (download) - annotate - [select for diffs], Sun Feb 8 19:24:08 1998 UTC (26 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.17: +9 -3 lines
Diff to previous 1.17 (colored)

y2k fixes; netbsd & Andreas.Gunnarsson@emw.ericsson.se

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jul 5 05:35:56 1997 UTC (26 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.16: +102 -25 lines
Diff to previous 1.16 (colored)

Fix some incorrect strncpy usage.

From NetBSD (luke@netbsd.org)
* verbosity additions displaying total & per-volume transfer times and rates
* Add the ability to dump specific files & directories of a single
  filesystem. This uses fts(3) to access the directory structure (and
  not the raw device), so the standard access permissions are adhered
  to (unlike dumping an entire filesystem, which just requires read
  access to the raw disk device).
* Support SIGINFO status reporting.
* Remove now unused variables that previously stored the (e)uid.
* Be more informative in a couple of error messages.

From NetBSD (mrg)
* fix NetBSD PR#3710, reported by Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>.
  don't pass pw->pw_name into functions; make a copy.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 16 04:09:21 1997 UTC (27 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

_PATH_DEFTAPE is now defined in <paths.h>
Change man page to reflect new default tape drive (/dev/rst0)

Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 25 17:37:20 1997 UTC (27 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

-b option was being ignored when used in conjunction with -d.
NetBSD PR #3254, fix from Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Feb 10 04:19:55 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Make dump(8) really honor -a.  Fix up formatting in man page and remove
duplicate entry.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 4 10:06:20 1997 UTC (27 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

maxbsize hack i did was not portable

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 3 11:53:25 1997 UTC (27 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +14 -3 lines
Diff to previous 1.11 (colored)

new -a option autosizes, meaning it runs till it hits EOM (no need for
pesky sizing options) -- from FreeBSD.
also make -b option aware of MAXPHYS issues (via a little hack)

Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 16 17:11:32 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +5 -4 lines
Diff to previous 1.10 (colored)

does noone know how to use strncat correctly?

Revision 1.10 / (download) - annotate - [select for diffs], Sat Sep 14 19:28:58 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.9: +1 -6 lines
Diff to previous 1.9 (colored)

setgid stuff goes away

Revision 1.9 / (download) - annotate - [select for diffs], Sat Sep 14 03:26:02 1996 UTC (27 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

Now uses "wall -g" so no need to be setgid tty.  This makes $RSH work.
Also fix buf oflow.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Sep 1 15:31:02 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +5 -7 lines
Diff to previous 1.7 (colored)

kill setuid, fix setgid hole

Revision 1.7 / (download) - annotate - [select for diffs], Sat Aug 10 22:26:47 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

silence warning

Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 2 10:29:10 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

kill extra DUMP: message

Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 2 10:26:48 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

mostly harmless buffer overflow

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 21 00:15:37 1996 UTC (28 years, 2 months ago) by niklas
Branch: MAIN
Changes since 1.3: +10 -3 lines
Diff to previous 1.3 (colored)

From NetBSD: Merge of 960317

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 22 11:26:23 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

From NetBSD:
support $TAPE.  update manual to reflect reality (#1937 from Matthew Green).

Revision 1.2 / (download) - annotate - [select for diffs], Fri Dec 1 01:20:39 1995 UTC (28 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

correct typo pointed out by chuck (in the prettiest way possible

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:43:28 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:43:28 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.