History log of /freebsd-10.1-release/sbin/restore/interactive.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 241013 27-Sep-2012 mdf

Fix sbin/ build with a 64-bit ino_t.

Original code by: Gleb Kurtsou


# 203155 29-Jan-2010 jh

- Cast time_t, int64_t and some int32_t values to intmax_t and use "%jd"
in format strings.
- Use (void) instead of (void *) when discarding strcat(3) return value.
- Format string fixes to match variable types.
- Change canon() len parameter and getcmd() size parameter type from
int to size_t.
- Style Makefile and increase WARNS to 2.

PR: bin/140061
Submitted by: uqs
Approved by: trasz (mentor)


# 187828 28-Jan-2009 imp

Restore necessary NUL termination of locname.

Submitted by: ian dowse
MFC after: 2 days


# 177894 03-Apr-2008 imp

Use safer string handling.

Reviewed by: security-team


# 148244 21-Jul-2005 dds

Interpret correctly the glob(3) return value.
Previously, interactive commands specifying a non-existent file or
directory used to display an "out of memory error".

MFC after: 2 weeks


# 146754 29-May-2005 charnier

rscid -> __FBSDID. Mark parameter as __unused when necessary.


# 129666 24-May-2004 stefanf

Use the correct types for the functions rst_opendir(), glob_readdir() and
rst_closedir() which are called by glob().

Reviewed by: md5
Approved by: das (mentor)


# 128073 09-Apr-2004 markm

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


# 118526 06-Aug-2003 ache

Localize 'ls' output
Don't set 8bit in quote processing


# 103949 25-Sep-2002 mike

Use the standardized CHAR_BIT constant instead of NBBY in userland.


# 102411 25-Aug-2002 charnier

Replace various spelling with FALLTHROUGH which is lint()able


# 92837 20-Mar-2002 imp

o remove __P
o Use ANSI function definitions
o unifdef -D__STDC__


# 92806 20-Mar-2002 obrien

Remove 'register' keyword.
It does not help modern compilers, and some may take some hit from it.
(I also found several functions that listed *every* of its 10 local vars with
"register" -- just how many free registers do people think machines have?)


# 69906 12-Dec-2000 iedowse

Stop restore from looping under certain error conditions. This
corrects cases where restore would spew an infinite stream of
"Changing volumes on pipe input?" messages, or would loop waiting
for a response to the "set owner/mode for '.'" question.

PR: bin/14250
Reviewed by: dwmalone


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 41845 16-Dec-1998 imp

Fix two possible non-exploitable buffer overflows.

Thanks to: A friend at Sun auditing dump/restore for Solaris.


# 39430 17-Sep-1998 imp

Prevent buffer overflow with extra long arguments.


# 37906 28-Jul-1998 charnier

Add rcsid. Remove unused #includes. Add missing prototypes and others -Wall
cleanings. Spelling.


# 23685 11-Mar-1997 peter

Merge from Lite2
- 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.


# 21997 25-Jan-1997 imp

Apply patch from pr2536, after testing locally.

Fixes: PR2446 and PR2536

Submitted by: Flemming Jacobsen <fj@tfs.com>

2.2 Candidate.


# 21174 01-Jan-1997 guido

Yet another buffer overflow.

2.2 candidate
(and -stable too actually, who does that?)
Reviewed by: Warner Losh


# 1559 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1558,
which included commits to RCS files with non-trunk default branches.


# 1558 26-May-1994 rgrimes

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.