summaryrefslogtreecommitdiffstats
path: root/sbin/restore
Commit message (Collapse)AuthorAgeFilesLines
* Fix two possible non-exploitable buffer overflows.imp1998-12-161-3/+5
| | | | Thanks to: A friend at Sun auditing dump/restore for Solaris.
* Refer to "da" rather than "sd" device.rnordier1998-11-281-2/+2
|
* 64bit fixes.dima1998-10-273-25/+25
| | | | | | | (Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem somewhere is the physio() area) Submitted by: myself && Matt Dillon.
* Change rst0 into rsa0.roberto1998-09-222-3/+3
|
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* Prevent buffer overflow with extra long arguments.imp1998-09-171-4/+2
|
* Fix LIBDIR (for aout/ELF).markm1998-08-061-1/+2
|
* Commit patch from Tor Egge to fix the "large filesystem restore" problem.imp1998-07-281-6/+12
| | | | | | | This appears to work for me in the old case, but I don't have large enough filesystems to test the fix case. Reported working by: karl@mcs.net
* Add rcsid. Remove unused #includes. Add missing prototypes and others -Wallcharnier1998-07-289-35/+51
| | | | cleanings. Spelling.
* Fix a bug that prevented the restoration of hard links to files thatjdp1998-07-091-5/+20
| | | | had the schg flag set. Reported by Matthew Thyer <thyerm@camtech.net.au>.
* Fixed printf format errors. Sure is dusty here.bde1998-06-283-19/+20
|
* Well, nobody objected, so here's my -u (unlink) flag to restore.jkh1998-05-095-14/+36
|
* The logic in tape.c:getfile() doesn't allow for a filesystemjkh1998-03-231-1/+3
| | | | | | | | with a blocksize smaller than the tape block size. The problem seems to be most easily fixed by changeing where fssize is set. PR: 5704 Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Typo fix in the message displayed.max1997-12-211-1/+1
|
* Make this part of the 'krb' distribution if it is being built as themarkm1997-10-241-0/+1
| | | | Kerberised version.
* Changes for the new KTH KerberosIVmarkm1997-09-281-4/+8
|
* Many places in the code NULL is used in integer context, wherephk1997-09-182-3/+3
| | | | | | | | | plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
* If, in a level N dump, the file with the inode number X is ajoerg1997-08-101-2/+6
| | | | | | | | | non-directory file with more than one link to it, but in a level M > N dump, the file with the inode number X is a plain file, "restore", when restoring the level M dump, won't remove all the hard links to the old file. Submitted by: guy@netapp.com (Guy Harris)
* Fprintf -> warn.charnier1997-06-181-8/+5
|
* Document -k flag here, too.wollman1997-04-291-6/+12
|
* Implement Kerberized rcmd for rdump/rrestore. This is lacking thewollman1997-04-292-6/+24
| | | | | | | options one would normally expect to set the realm, enable encryption, and whatnot, but this actually is able to contact the remote server, so at least it's a start. (As a bonus, the stripped static binary is unquestionably exportable.)
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Merge from Lite2peter1997-03-118-270/+403
| | | | | | | | - cleanups, - whiteout support - bug fixes (chflags missing on a few file types etc) The dump/restore folks would want to have a closer look at this, the change is pretty big.
* This commit was generated by cvs2svn to compensate for changes in r23669,peter1997-03-111-2/+4
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import some CSRG 4.4BSD-Lite2 components for sbin onto vendor branch.peter1997-03-119-272/+427
| | | | | | | | (note that some of these have already been imported, this is a no-op)
* | Fix a minor problem with restore from tapes from big endian machines.imp1997-02-251-1/+4
| | | | | | | | | | | | | | This finishes the closing of PR2446 which J"org Wunsch pointed out to me after I closed it. Submitted by: Tor Egge <Tor.Egge@idt.ntnu.no>
* | Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
| |
* | Remove suid bit from binary, and update manpage to reflect this.eivind1997-02-092-1/+6
| |
* | Buffer overflow patch.eivind1997-02-091-1/+4
| |
* | Apply patch from pr2536, after testing locally.imp1997-01-251-5/+6
| | | | | | | | | | | | | | | | Fixes: PR2446 and PR2536 Submitted by: Flemming Jacobsen <fj@tfs.com> 2.2 Candidate.
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* | Sort cross references.wosch1997-01-131-1/+2
| |
* | Yet another buffer overflow.guido1997-01-014-9/+19
| | | | | | | | | | | | 2.2 candidate (and -stable too actually, who does that?) Reviewed by: Warner Losh
* | Various security related deltas from OpenBSDimp1997-01-013-17/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dirs.c: From OpenBSD 1.2, 1.3, 1.5, 1.8, 1.10, 1.11, 1.12 1.2: use unique temporary files; netbsd pr#2544; lukem@supp.cpr.itg.telecom.com.au 1.3: updated patch from lukem@supp.cpr.itg.telecom.com.au to also make -r and -R work again 1.5: mktemp open & fdopen 1.8: /tmp// -> /tmp/ 1.10: Fix strncpy usage and correct strncat length field, from Theo. Also change some occurrence of MAXPATHLEN with sizeof(foo). 1.11: does noone know how to use strncat correctly? 1.12: use mkstemp() From NetBSD: Use open rather than create so we can specify exclusive open mode. main.c: From OpenBSD 1.2, 1.5 1.2: From NetBSD: support $TAPE. 1.5 Set umask to be read only by owner until we set real file permissions. tape.c: From NetBSD: Use open rather than create so we can specify exclusive open mode.
* | ts_sec -> tv_secnate1996-09-202-11/+11
| | | | | | | | ts_nsec -> tv_nsec
* | Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-142-2/+2
| | | | | | | | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
* | When running 'rrestore foo', you get a segmentation fault becausejkh1996-07-231-1/+3
| | | | | | | | | | | | | | | | the obsolete() function to convert dump-style args to getopt-style args doesn't check to see that 'f' really has an argument following the option string in argv[1]. Submitted-By: jmacd
* | Correct some man page cross references and some filempp1996-02-051-1/+0
| | | | | | | | locations.
* | Make the default tape device match dump(8).joerg1995-11-262-4/+4
| |
* | Check a pointer in skipdirs() before dereferencing it. I don't fullyjoerg1995-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | understand why it can become a null pointer under some circumstances, but i've got a pile of tapes where this happens, and running it thru a debugger proved that simply ending the loop in this case did the right thing. Anyway, it cannot make it worse than now, where restore kills itself with "Memory fault".
* | Remove trailing whitespace.rgrimes1995-05-305-19/+19
| |
* | Added FIFO restore capability.martin1995-02-101-0/+13
| |
* | Add a reference to ft(8).jkh1995-01-261-2/+1
| |
* | Should that last sentence read "...thus a full dump must be done...",joerg1995-01-181-1/+3
| | | | | | | | | | | | or do I have it all wrong? Submitted by: "Shawn M. Carey" <smcarey@mailbox.syr.edu>
* | Fix endian bug introduced at Berkeley during the Net2->4.4-lite transition.pst1994-09-081-8/+12
| | | | | | | | | | | | Fix is courtesy of the NetBSD folks. Reviewed by: pst
* | Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | | | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* | Remove old style manual page depends so make install with NOMAN setrgrimes1994-05-281-2/+0
|/ | | | can run.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-2612-0/+5748
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud