-$Id: CHANGES,v 1.12 1999/11/03 21:05:52 tiniou Exp $
+$Id: CHANGES,v 1.13 1999/11/05 22:02:11 tiniou Exp $
+
+Changes between versions 0.4b8 and 0.4b9 (released November 5, 1999)
+====================================================================
+
+1. Use lchown instead of chown, fixing a possible security problem
+ when restoring symlinks (a malicious user could use this
+ to deliberately corrupt the ownership of important system files).
+ Thanks to Chris Siebenmann <cks@utcc.utoronto.ca> for detecting
+ this and providing the patch.
Changes between versions 0.4b7 and 0.4b8 (released November 3, 1999)
====================================================================
top_builddir= @top_builddir@
-VERSION= 0.4b8
-DATE= November 3, 1999
+VERSION= 0.4b9
+DATE= November 5, 1999
AR= @AR@
CC= @CC@
/* Define if you have the glob function. */
#undef HAVE_GLOB
+
+/* Define if you have the lchown function. */
+#undef HAVE_LCHOWN
{ echo "configure: error: You need to install the Ext2fs libraries from the E2fsprogs distribution first" 1>&2; exit 1; }
fi
-for ac_func in err errx verr verrx vwarn vwarnx warn warnx realpath glob
+for ac_func in err errx verr verrx vwarn vwarnx warn warnx realpath glob lchown
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1622: checking for $ac_func" >&5
dnl
dnl Check for library functions
dnl
-AC_CHECK_FUNCS(err errx verr verrx vwarn vwarnx warn warnx realpath glob)
+AC_CHECK_FUNCS(err errx verr verrx vwarn vwarnx warn warnx realpath glob lchown)
dnl
dnl Check for types
Begin3
Title: dump and restore for Ext2fs
-Version: 0.4b8
-Entered-date: 03NOV99
+Version: 0.4b9
+Entered-date: 05NOV99
Description: Port of the 4.4BSD dump and restore backup suite
Keywords: backup, filesystem, Ext2fs
Author: University of California, Berkeley
Maintained-by: pop@cybercable.fr (Stelian Pop)
Primary-site: tsx-11.mit.edu /pub/linux/ALPHA/ext2fs
- 135kB dump-0.4b8.tar.gz
+ 135kB dump-0.4b9.tar.gz
677 dump.lsm
Alternate-site: http://perso.cybercable.fr/pop/dump
Original-site: ftp.freebsd.org /pub/bsd-sources/4.4BSD-Lite2/sbin
Summary: Programs for backing up and restoring filesystems.
Name: dump
-Version: 0.4b8
+Version: 0.4b9
Release: 1
Copyright: UCB
Group: Applications/Archiving
%{_prefix}/man/man8/rmt.8
%changelog
+* Wed Nov 5 1999 Stelian Pop <pop@cybercable.fr>
+- dump 0.4b9 released, first packaging.
+
* Wed Nov 3 1999 Stelian Pop <pop@cybercable.fr>
- dump 0.4b8 released, first packaging.
#ifndef lint
static const char rcsid[] =
- "$Id: tape.c,v 1.6 1999/10/13 09:57:21 stelian Exp $";
+ "$Id: tape.c,v 1.7 1999/11/05 22:02:19 tiniou Exp $";
#endif /* not lint */
#include <sys/param.h>
}
if (linkit(lnkbuf, name, SYMLINK) == FAIL)
return (FAIL);
- (void) chown(name, luid, lgid);
+#ifdef HAVE_LCHOWN
+ (void) lchown(name, luid, lgid);
+#endif
return (GOOD);
}