From owner-p4-projects@FreeBSD.ORG Thu Mar 4 22:00:04 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E3B8116A4D0; Thu, 4 Mar 2004 22:00:03 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC8C616A4CE for ; Thu, 4 Mar 2004 22:00:03 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B516C43D45 for ; Thu, 4 Mar 2004 22:00:03 -0800 (PST) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i25603Ge067982 for ; Thu, 4 Mar 2004 22:00:03 -0800 (PST) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i25602Fi067979 for perforce@freebsd.org; Thu, 4 Mar 2004 22:00:02 -0800 (PST) (envelope-from peter@freebsd.org) Date: Thu, 4 Mar 2004 22:00:02 -0800 (PST) Message-Id: <200403050600.i25602Fi067979@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 48189 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 06:00:04 -0000 http://perforce.freebsd.org/chv.cgi?CH=48189 Change 48189 by peter@peter_daintree on 2004/03/04 21:59:55 IFC @48179 Affected files ... .. //depot/projects/hammer/Makefile.inc1#39 integrate .. //depot/projects/hammer/bin/date/date.c#5 integrate .. //depot/projects/hammer/contrib/diff/diff.h#4 integrate .. //depot/projects/hammer/etc/rc.d/Makefile#16 integrate .. //depot/projects/hammer/gnu/lib/libregex/regex.c#5 integrate .. //depot/projects/hammer/gnu/lib/libregex/regex.h#4 integrate .. //depot/projects/hammer/gnu/usr.bin/binutils/Makefile.inc0#7 integrate .. //depot/projects/hammer/gnu/usr.bin/binutils/gasp/Makefile#5 integrate .. //depot/projects/hammer/gnu/usr.bin/binutils/gdb/Makefile#8 integrate .. //depot/projects/hammer/gnu/usr.bin/grep/dfa.c#4 integrate .. //depot/projects/hammer/gnu/usr.bin/grep/search.c#4 integrate .. //depot/projects/hammer/lib/libarchive/archive_read_support_format_tar.c#2 integrate .. //depot/projects/hammer/release/doc/en_US.ISO8859-1/errata/article.sgml#15 integrate .. //depot/projects/hammer/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml#57 integrate .. //depot/projects/hammer/release/doc/ja_JP.eucJP/errata/article.sgml#12 integrate .. //depot/projects/hammer/share/man/man4/re.4#4 integrate .. //depot/projects/hammer/share/man/man5/rc.conf.5#20 integrate .. //depot/projects/hammer/share/man/man9/Makefile#27 integrate .. //depot/projects/hammer/share/man/man9/ieee80211.9#1 branch .. //depot/projects/hammer/share/man/man9/ieee80211_crypto.9#1 branch .. //depot/projects/hammer/share/man/man9/ieee80211_input.9#1 branch .. //depot/projects/hammer/share/man/man9/ieee80211_ioctl.9#1 branch .. //depot/projects/hammer/share/man/man9/ieee80211_node.9#1 branch .. //depot/projects/hammer/share/man/man9/ieee80211_output.9#1 branch .. //depot/projects/hammer/share/man/man9/ieee80211_proto.9#1 branch .. //depot/projects/hammer/share/man/man9/ieee80211_radiotap.9#1 branch .. //depot/projects/hammer/sys/amd64/conf/NOTES#14 integrate .. //depot/projects/hammer/sys/compat/ndis/ntoskrnl_var.h#5 integrate .. //depot/projects/hammer/sys/compat/ndis/subr_ntoskrnl.c#7 integrate .. //depot/projects/hammer/sys/conf/options.amd64#25 integrate .. //depot/projects/hammer/sys/dev/ata/ata-chipset.c#28 integrate .. //depot/projects/hammer/sys/dev/ata/atapi-cam.c#16 integrate .. //depot/projects/hammer/sys/dev/ctau/ctau.c#2 integrate .. //depot/projects/hammer/sys/dev/usb/umass.c#18 integrate .. //depot/projects/hammer/sys/dev/usb/usbdevs#28 integrate .. //depot/projects/hammer/sys/dev/usb/usbdevs.h#27 integrate .. //depot/projects/hammer/sys/dev/usb/usbdevs_data.h#27 integrate .. //depot/projects/hammer/sys/dev/usb/usbdi.c#7 integrate .. //depot/projects/hammer/sys/geom/concat/g_concat.c#3 integrate .. //depot/projects/hammer/sys/geom/concat/g_concat.h#3 integrate .. //depot/projects/hammer/sys/kern/kern_acct.c#14 integrate .. //depot/projects/hammer/sys/kern/kern_fork.c#25 integrate .. //depot/projects/hammer/sys/kern/kern_tc.c#13 integrate .. //depot/projects/hammer/sys/modules/ndis/Makefile#4 integrate .. //depot/projects/hammer/sys/netinet6/in6.c#10 integrate .. //depot/projects/hammer/sys/netinet6/mld6.c#7 integrate .. //depot/projects/hammer/sys/sys/filedesc.h#7 integrate .. //depot/projects/hammer/sys/vm/vm_contig.c#14 integrate .. //depot/projects/hammer/sys/vm/vm_pageout.c#24 integrate .. //depot/projects/hammer/sys/vm/vm_zeroidle.c#10 integrate .. //depot/projects/hammer/usr.bin/c99/c99.1#3 integrate .. //depot/projects/hammer/usr.bin/yacc/main.c#2 integrate .. //depot/projects/hammer/usr.sbin/acpi/acpiconf/acpiconf.c#6 integrate .. //depot/projects/hammer/usr.sbin/cron/crontab/crontab.1#3 integrate .. //depot/projects/hammer/usr.sbin/rpc.lockd/lock_proc.c#4 integrate Differences ... ==== //depot/projects/hammer/Makefile.inc1#39 (text+ko) ==== @@ -1,5 +1,5 @@ # -# $FreeBSD: src/Makefile.inc1,v 1.407 2004/03/03 22:56:41 gad Exp $ +# $FreeBSD: src/Makefile.inc1,v 1.409 2004/03/04 18:41:35 gad Exp $ # # Make command line options: # -DNO_DYNAMICROOT do not link /bin and /sbin dynamically @@ -221,7 +221,7 @@ @echo @echo "*** Error: path to source tree contains a comma ','" @echo - @false + false .endif @echo @echo "--------------------------------------------------------------" @@ -355,49 +355,50 @@ .if ${TARGET_ARCH} == "sparc64" SPECIAL_INSTALLCHECKS+=sparc64_installcheck -CUR_TIMETYPE!= grep __time_t /usr/include/machine/_types.h | awk '{print $$2}' -SRC_TIMETYPE!= grep __time_t ${.CURDIR}/sys/sparc64/include/_types.h | awk '{print $$2}' -NEWSPARC_TIMETYPE?=${CUR_TIMETYPE} -THISHOST!= hostname -s -.if ${THISHOST} == "" +CUR_TIMET!= grep __time_t /usr/include/machine/_types.h | awk '{print $$2}' +SRC_TIMET!= grep __time_t ${.CURDIR}/sys/sparc64/include/_types.h | \ + awk '{print $$2}' +NEWSPARC_TIMETYPE?=${CUR_TIMET} +THISHOST!= hostname -s +.if empty(THISHOST) THISHOST="name not set yet" .endif sparc64_installcheck: -.if ${CUR_TIMETYPE} != ${SRC_TIMETYPE} - @echo "" -.if ${NEWSPARC_TIMETYPE} != ${SRC_TIMETYPE} - @echo "*** ERROR: This target would change the type used for time_t! ***" +.if ${CUR_TIMET} != ${SRC_TIMET} + @echo +.if ${NEWSPARC_TIMETYPE} != ${SRC_TIMET} + @echo "*** ERROR: This target would change the type used for time_t!" .else - @echo "* Note: This installation changes the type used for time_t" + @echo "* Note: This installation changes the type used for time_t." .endif @echo "* " - @echo "* This host (${THISHOST}) presently has a time_t of type ${CUR_TIMETYPE}," - @echo "* and this installation will switch time_t to be type ${SRC_TIMETYPE}." -.if ${NEWSPARC_TIMETYPE} != ${SRC_TIMETYPE} + @echo "* This host (${THISHOST}) presently has a time_t of type ${CUR_TIMET}," + @echo "* and this installation will switch time_t to be type ${SRC_TIMET}." +.if ${NEWSPARC_TIMETYPE} != ${SRC_TIMET} @echo "* " @echo "* If that is *NOT* what you wanted, then you need to change the" - @echo "* typedef for __time_t in: ${.CURDIR}/sys/sparc64/include/_types.h" - @echo "* from '${SRC_TIMETYPE}' to '${CUR_TIMETYPE}'. After that you *MUST* do a" - @echo "* complete cleanworld, buildworld, buildkernel before you retry" - @echo "* your 'make' command. Also read /usr/src/UPDATING.64BTT." + @echo "* typedef of __time_t in ${.CURDIR}/sys/sparc64/include/_types.h" + @echo "* from '${SRC_TIMET}' to '${CUR_TIMET}'. After that you *MUST*" + @echo "* do a complete cleanworld, buildworld, buildkernel before you" + @echo "* retry the 'make' command. Also read /usr/src/UPDATING.64BTT." @echo "* " @echo "* If that *is* what you want, then enter the commands:" - @echo " NEWSPARC_TIMETYPE=${SRC_TIMETYPE}" + @echo " NEWSPARC_TIMETYPE=${SRC_TIMET}" @echo " export NEWSPARC_TIMETYPE" @echo "* and repeat your 'make' command." - @echo "" - @false + @echo + false .endif - @echo "" -.elif ${NEWSPARC_TIMETYPE} != ${SRC_TIMETYPE} - @echo "" - @echo "*** ERROR: The variable NEWSPARC_TIMETYPE is set to '${NEWSPARC_TIMETYPE}'" + @echo +.elif ${NEWSPARC_TIMETYPE} != ${SRC_TIMET} + @echo + @echo "*** ERROR: NEWSPARC_TIMETYPE is set to '${NEWSPARC_TIMETYPE}'" @echo "*** but ${.CURDIR}/sys/sparc64/include/_types.h" - @echo "*** has __time_t defined as: '${SRC_TIMETYPE}'" - @false + @echo "*** has __time_t defined as '${SRC_TIMET}'." + false .else - @# in sparc64_installcheck, all TIMETYPEs == '${NEWSPARC_TIMETYPE}' + @# in sparc64_installcheck, all TIMETYPEs == '${CUR_TIMET}' .endif .endif @@ -508,7 +509,7 @@ buildkernel: .if empty(BUILDKERNELS) @echo "ERROR: Missing kernel configuration file(s) (${KERNCONF})."; - @false + false .endif .if defined(KERNWARN) @echo "--------------------------------------------------------------" @@ -558,7 +559,7 @@ .endfor # -# installkernel +# installkernel, etc. # # Install the kernel defined by INSTALLKERNEL # @@ -566,7 +567,7 @@ reinstallkernel reinstallkernel.debug: ${SPECIAL_INSTALLCHECKS} .if empty(INSTALLKERNEL) @echo "ERROR: No kernel \"${KERNCONF}\" to install." - @false + false .endif cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \ ${CROSSENV} PATH=${TMPPATH} \ ==== //depot/projects/hammer/bin/date/date.c#5 (text+ko) ==== @@ -44,7 +44,7 @@ #endif #include -__FBSDID("$FreeBSD: src/bin/date/date.c,v 1.44 2003/10/04 07:16:40 dds Exp $"); +__FBSDID("$FreeBSD: src/bin/date/date.c,v 1.45 2004/03/04 15:46:14 mtm Exp $"); #include #include @@ -234,9 +234,9 @@ case 10: /* yy */ if (century) lt->tm_year += ATOI2(p); - else { /* hack for 2000 ;-} */ + else { lt->tm_year = ATOI2(p); - if (lt->tm_year < 69) + if (lt->tm_year < 69) /* hack for 2000 ;-} */ lt->tm_year += 2000 - TM_YEAR_BASE; else lt->tm_year += 1900 - TM_YEAR_BASE; ==== //depot/projects/hammer/contrib/diff/diff.h#4 (text+ko) ==== @@ -16,6 +16,7 @@ You should have received a copy of the GNU General Public License along with GNU DIFF; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* $FreeBSD: src/contrib/diff/diff.h,v 1.3 2004/02/16 22:54:45 ache Exp $ */ #include "system.h" #include ==== //depot/projects/hammer/etc/rc.d/Makefile#16 (text+ko) ==== @@ -1,5 +1,5 @@ # $NetBSD: Makefile,v 1.16 2001/01/14 15:37:22 minoura Exp $ -# $FreeBSD: src/etc/rc.d/Makefile,v 1.31 2004/02/07 15:46:20 imp Exp $ +# $FreeBSD: src/etc/rc.d/Makefile,v 1.32 2004/03/04 21:03:36 bms Exp $ .include @@ -14,6 +14,7 @@ fsck \ gbde gbde_swap \ hostname \ + ike \ inetd initdiskless initrandom \ ip6addrctl ip6fw ipfilter ipfs ipfw ipmon \ ipnat ipsec ipxrouted isdnd \ ==== //depot/projects/hammer/gnu/lib/libregex/regex.c#5 (text+ko) ==== @@ -1,3 +1,4 @@ +/* $FreeBSD: src/gnu/lib/libregex/regex.c,v 1.11 2004/02/25 02:39:10 ache Exp $ */ /* Extended regular expression matching and search library, version 0.12. (Implements POSIX draft P1003.2/D11.2, except for some of the ==== //depot/projects/hammer/gnu/lib/libregex/regex.h#4 (text+ko) ==== @@ -1,3 +1,4 @@ +/* $FreeBSD: src/gnu/lib/libregex/regex.h,v 1.5 2004/02/25 02:39:10 ache Exp $ */ #ifndef _REGEX_H #include ==== //depot/projects/hammer/gnu/usr.bin/binutils/Makefile.inc0#7 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/gnu/usr.bin/binutils/Makefile.inc0,v 1.33 2004/02/24 19:23:28 johan Exp $ +# $FreeBSD: src/gnu/usr.bin/binutils/Makefile.inc0,v 1.34 2004/03/04 20:36:18 ache Exp $ # # This is included explicitly at the top of each sub-Makefile. We can't # use the normal "Makefile.inc" mechanism, because we need some of these @@ -24,6 +24,8 @@ .endif CFLAGS+= -I${.CURDIR} CFLAGS+= -I${.CURDIR}/${RELTOP}/libbfd/${TARGET_ARCH} +# to pick right getopt.h +CFLAGS+= -I${DESTDIR}/usr/include CFLAGS+= -I${SRCDIR}/include .if exists(${.CURDIR}/${TARGET_ARCH}) ==== //depot/projects/hammer/gnu/usr.bin/binutils/gasp/Makefile#5 (text+ko) ==== @@ -1,4 +1,7 @@ -# $FreeBSD: src/gnu/usr.bin/binutils/gasp/Makefile,v 1.15 2004/02/24 19:23:29 johan Exp $ +# $FreeBSD: src/gnu/usr.bin/binutils/gasp/Makefile,v 1.16 2004/03/05 01:47:02 ache Exp $ + +# must be before -I${DESTDIR}/usr/include +CFLAGS+= -I${DESTDIR}/usr/include/gnu .include "../Makefile.inc0" @@ -10,7 +13,6 @@ CFLAGS+= -DBFD_ASSEMBLER CFLAGS+= -I${.CURDIR}/../as/${TARGET_ARCH}-freebsd -I${.CURDIR}/../as CFLAGS+= -I${.CURDIR} -CFLAGS+= -I${DESTDIR}/usr/include/gnu CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gas -I${SRCDIR}/gas/config DPADD= ${RELTOP}/libiberty/libiberty.a LDADD= ${DPADD} ==== //depot/projects/hammer/gnu/usr.bin/binutils/gdb/Makefile#8 (text+ko) ==== @@ -1,5 +1,8 @@ # ex:ts=8 -# $FreeBSD: src/gnu/usr.bin/binutils/gdb/Makefile,v 1.76 2004/02/24 19:23:29 johan Exp $ +# $FreeBSD: src/gnu/usr.bin/binutils/gdb/Makefile,v 1.77 2004/03/05 01:47:03 ache Exp $ + +# must be before -I${DESTDIR}/usr/include +CFLAGS+= -I${DESTDIR}/usr/include/gnu .include "../Makefile.inc0" @@ -58,7 +61,6 @@ CFLAGS+= -I${.CURDIR}/${TARGET_ARCH} CFLAGS+= -I${SRCDIR}/binutils -I${SRCDIR}/bfd CFLAGS+= -I${GDBDIR}/gdb -I${GDBDIR}/gdb/config -CFLAGS+= -I${DESTDIR}/usr/include/gnu CFLAGS+= -I$(.CURDIR) YFLAGS= ==== //depot/projects/hammer/gnu/usr.bin/grep/dfa.c#4 (text+ko) ==== @@ -18,6 +18,8 @@ /* Written June, 1988 by Mike Haertel Modified July, 1988 by Arthur David Olson to assist BMG speedups */ +/* $FreeBSD: src/gnu/usr.bin/grep/dfa.c,v 1.14 2004/03/01 08:37:20 ache Exp $ */ + #ifdef HAVE_CONFIG_H #include #endif ==== //depot/projects/hammer/gnu/usr.bin/grep/search.c#4 (text+ko) ==== @@ -18,6 +18,8 @@ /* Written August 1992 by Mike Haertel. */ +/* $FreeBSD: src/gnu/usr.bin/grep/search.c,v 1.12 2004/03/01 08:37:20 ache Exp $ */ + #ifdef HAVE_CONFIG_H # include #endif ==== //depot/projects/hammer/lib/libarchive/archive_read_support_format_tar.c#2 (text+ko) ==== @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/lib/libarchive/archive_read_support_format_tar.c,v 1.1 2004/02/09 23:22:54 kientzle Exp $"); +__FBSDID("$FreeBSD: src/lib/libarchive/archive_read_support_format_tar.c,v 1.2 2004/03/05 00:09:53 kientzle Exp $"); #include #ifdef DMALLOC @@ -701,6 +701,8 @@ tar_atol10(value, strlen(value))); else if (strcmp(key, "SCHILY.fflags")==0) archive_entry_set_fflags(entry, value); + else if (strcmp(key, "SCHILY.nlink")==0) + st->st_nlink = tar_atol10(value, strlen(value)); break; case 'a': if (strcmp(key, "atime")==0) ==== //depot/projects/hammer/release/doc/en_US.ISO8859-1/errata/article.sgml#15 (text+ko) ==== @@ -42,7 +42,7 @@ The &os; Project - $FreeBSD: src/release/doc/en_US.ISO8859-1/errata/article.sgml,v 1.64 2004/02/28 22:49:15 bmah Exp $ + $FreeBSD: src/release/doc/en_US.ISO8859-1/errata/article.sgml,v 1.66 2004/03/05 04:19:06 bmah Exp $ 2000 @@ -146,7 +146,7 @@ option, which uses &man.mksnap.ffs.8;. Note that &man.mksnap.ffs.8; is normally only available to the superuser and members of the operator - group. This bug has been fixed on the &os; &release.current; + group. This bug has been fixed on the &os; &release.prev; security fix branch and in &os; &release.bugfix;. For more information, see security advisory FreeBSD-SA-04:01. @@ -157,7 +157,7 @@ attacker to gain unauthorized access to parts of kernel memory, possibly resulting in disclosure of sensitive information, bypass of access control mechanisms, or privilege escalation. - This bug has been fixed on the &os; &release.current; + This bug has been fixed on the &os; &release.prev; security fix branch and in &os; &release.bugfix;. More details, including bugfix and workaround information, can be found in security advisory FreeBSD-SA-04:03. + url="ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:03.jail.asc">FreeBSD-SA-04:03. + + (4 Mar 2004) It is possible for a remote attacker to conduct + a low-bandwidth denial-of-service attack against a machine + providing TCP-based services, filling up the target's memory + buffers and potentially leading to a system crash. This + vulnerability has been addressed on the &os; &release.prev; + security fix branch, but is present in both &os; &release.prev; + and &release.bugfix;. Security advisory FreeBSD-SA-04:04 + contains more details, as well as information on patching + existing systems. ]]> ==== //depot/projects/hammer/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml#57 (text+ko) ==== @@ -3,7 +3,7 @@ The FreeBSD Project - $FreeBSD: src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml,v 1.685 2004/02/29 02:20:21 bmah Exp $ + $FreeBSD: src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml,v 1.686 2004/03/04 17:06:30 bmah Exp $ 2000 @@ -148,6 +148,13 @@ jail. More information can be found in security advisory FreeBSD-SA-04:03. + A potential low-bandwidth denial-of-service attack against + the &os; TCP stack has been prevented by limiting the number of + out-of-sequence TCP segments that can be held at one time. More + details can be found in security advisory FreeBSD-SA-04:04. + &merged; + @@ -289,13 +296,6 @@ support for the TCP-MD5 class of security associations. &merged; - The TCP segment reassembly queue now uses the UMA kernel - memory allocator and limits the maximum number of segments it - will hold, thus preventing a certain class of denial of - service attack. Its behavior is controlled by the - net.inet.tcp.reass hierarchy of sysctl - variables. - ==== //depot/projects/hammer/release/doc/ja_JP.eucJP/errata/article.sgml#12 (text+ko) ==== @@ -1,8 +1,8 @@