summaryrefslogtreecommitdiff
path: root/sbin/dump/dumprmt.c
AgeCommit message (Collapse)Author
2004-11-04very basic de-lintsTheo de Raadt
2003-07-28rcsid should say openbsd. make 'em const while here.Ted Unangst
2003-06-26ansi and protosTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-02-21Fix signal handlers to take an int arg even though it is not used.Todd C. Miller
This allows us to use real prototypes for rmtconnaborted and alarmcatch without causing a warning.
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
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
2001-01-19mark signal races i cannot fix at the momentTheo de Raadt
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be ↵Theo de Raadt
done later.. contact me if you want to help)
1999-01-04use TCP_NODELAY; giannici@neomedia.itTheo de Raadt
1998-11-24Wall, and do not let tapesize overflowTheo de Raadt
1998-07-14fix exit codes, adding X_STARTUP; jkoshy@freebsdTheo de Raadt
1998-04-26extract errno from rmt operation, assuming other machine has same errno ↵Theo de Raadt
values; gibbs@narnia.plutotech.com
1997-07-05Fix some incorrect strncpy usage.Todd C. Miller
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.
1997-06-25(foo *)0 -> NULLkstailey
1996-09-15sprintf -> snprintf (how'd that get missed?)Todd C. Miller
Don't complain if setsockopt() fails. It will fail if we used rcmdsh() instead of rcmd() and there's no easy way to detect which we used now.
1996-09-02don't try to do setsockopt(TCP_MAXSEG) unless we are root.Todd C. Miller
1996-09-01kill setuid, fix setgid holeTheo de Raadt
1996-08-06buf oflow, from joshdTheo de Raadt
1996-03-21From NetBSD: Merge of 960317Niklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt