Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2006 18:47:01 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 107768 for review
Message-ID:  <200610121847.k9CIl1Y6034138@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107768

Change 107768 by piso@piso_newluxor on 2006/10/12 18:46:21

	IFC@107767

Affected files ...

.. //depot/projects/soc2005/libalias/Makefile.inc1#7 integrate
.. //depot/projects/soc2005/libalias/bin/mkdir/mkdir.c#2 integrate
.. //depot/projects/soc2005/libalias/games/fortune/datfiles/freebsd-tips#2 integrate
.. //depot/projects/soc2005/libalias/gnu/usr.bin/binutils/as/Makefile#3 integrate
.. //depot/projects/soc2005/libalias/gnu/usr.bin/binutils/as/tc-sparc-fixed.c#1 branch
.. //depot/projects/soc2005/libalias/gnu/usr.bin/grep/grep.1#2 integrate
.. //depot/projects/soc2005/libalias/lib/libc/compat-43/killpg.2#2 integrate
.. //depot/projects/soc2005/libalias/lib/libdisk/Makefile#2 integrate
.. //depot/projects/soc2005/libalias/lib/libkvm/Makefile#2 integrate
.. //depot/projects/soc2005/libalias/lib/libkvm/kvm_sparc64.c#2 integrate
.. //depot/projects/soc2005/libalias/lib/libutil/login.conf.5#3 integrate
.. //depot/projects/soc2005/libalias/sbin/geom/class/mirror/geom_mirror.c#3 integrate
.. //depot/projects/soc2005/libalias/sbin/geom/class/raid3/geom_raid3.c#3 integrate
.. //depot/projects/soc2005/libalias/sbin/ifconfig/ifconfig.8#6 integrate
.. //depot/projects/soc2005/libalias/sbin/ipfw/ipfw.8#7 integrate
.. //depot/projects/soc2005/libalias/share/man/man4/Makefile#4 integrate
.. //depot/projects/soc2005/libalias/share/man/man4/ddb.4#5 integrate
.. //depot/projects/soc2005/libalias/share/man/man4/geom_uzip.4#1 branch
.. //depot/projects/soc2005/libalias/share/man/man4/if_bridge.4#4 integrate
.. //depot/projects/soc2005/libalias/share/man/man4/snd_hda.4#2 integrate
.. //depot/projects/soc2005/libalias/share/man/man4/tun.4#2 integrate
.. //depot/projects/soc2005/libalias/sys/amd64/amd64/intr_machdep.c#3 integrate
.. //depot/projects/soc2005/libalias/sys/amd64/amd64/io_apic.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/amd64/amd64/local_apic.c#5 integrate
.. //depot/projects/soc2005/libalias/sys/amd64/amd64/machdep.c#5 integrate
.. //depot/projects/soc2005/libalias/sys/amd64/amd64/mp_machdep.c#3 integrate
.. //depot/projects/soc2005/libalias/sys/amd64/include/apicvar.h#2 integrate
.. //depot/projects/soc2005/libalias/sys/amd64/include/intr_machdep.h#2 integrate
.. //depot/projects/soc2005/libalias/sys/amd64/isa/atpic.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/boot/Makefile#3 integrate
.. //depot/projects/soc2005/libalias/sys/boot/ofw/libofw/Makefile#2 integrate
.. //depot/projects/soc2005/libalias/sys/boot/ofw/libofw/openfirm.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/boot/ofw/libofw/openfirm_mmu.c#1 branch
.. //depot/projects/soc2005/libalias/sys/boot/sparc64/loader/hcall.S#1 branch
.. //depot/projects/soc2005/libalias/sys/boot/sparc64/loader/main.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/compat/linprocfs/linprocfs.c#4 integrate
.. //depot/projects/soc2005/libalias/sys/compat/linux/linux_emul.c#5 integrate
.. //depot/projects/soc2005/libalias/sys/compat/linux/linux_ipc.c#3 integrate
.. //depot/projects/soc2005/libalias/sys/compat/linux/linux_misc.c#7 integrate
.. //depot/projects/soc2005/libalias/sys/conf/files.sun4v#2 integrate
.. //depot/projects/soc2005/libalias/sys/ddb/db_command.c#3 integrate
.. //depot/projects/soc2005/libalias/sys/ddb/db_examine.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/ddb/db_output.c#3 integrate
.. //depot/projects/soc2005/libalias/sys/ddb/db_output.h#3 integrate
.. //depot/projects/soc2005/libalias/sys/dev/ath/if_athvar.h#5 integrate
.. //depot/projects/soc2005/libalias/sys/dev/ipmi/ipmi.c#3 integrate
.. //depot/projects/soc2005/libalias/sys/dev/iwi/if_iwi.c#3 integrate
.. //depot/projects/soc2005/libalias/sys/dev/ofw/openfirm.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/dev/ofw/openfirm.h#2 integrate
.. //depot/projects/soc2005/libalias/sys/dev/pci/pci.c#4 integrate
.. //depot/projects/soc2005/libalias/sys/dev/pci/pci_if.m#2 integrate
.. //depot/projects/soc2005/libalias/sys/dev/pci/pci_pci.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/dev/pci/pci_private.h#2 integrate
.. //depot/projects/soc2005/libalias/sys/dev/pci/pcivar.h#3 integrate
.. //depot/projects/soc2005/libalias/sys/dev/sk/if_sk.c#5 integrate
.. //depot/projects/soc2005/libalias/sys/dev/sk/if_skreg.h#4 integrate
.. //depot/projects/soc2005/libalias/sys/dev/sound/pci/hda/hdac.c#3 integrate
.. //depot/projects/soc2005/libalias/sys/dev/sound/pcm/dsp.c#4 integrate
.. //depot/projects/soc2005/libalias/sys/geom/raid3/g_raid3.c#6 integrate
.. //depot/projects/soc2005/libalias/sys/i386/i386/intr_machdep.c#3 integrate
.. //depot/projects/soc2005/libalias/sys/i386/i386/io_apic.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/i386/i386/local_apic.c#5 integrate
.. //depot/projects/soc2005/libalias/sys/i386/i386/mp_machdep.c#3 integrate
.. //depot/projects/soc2005/libalias/sys/i386/include/apicvar.h#2 integrate
.. //depot/projects/soc2005/libalias/sys/i386/include/intr_machdep.h#2 integrate
.. //depot/projects/soc2005/libalias/sys/i386/isa/atpic.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/kern/kern_timeout.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/net/if_bridge.c#10 integrate
.. //depot/projects/soc2005/libalias/sys/net/if_vlan.c#6 integrate
.. //depot/projects/soc2005/libalias/sys/netgraph/netflow/netflow.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/netgraph/netflow/ng_netflow.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/netgraph/ng_base.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/netinet/ip_fw2.c#17 integrate
.. //depot/projects/soc2005/libalias/sys/netinet/libalias/libalias.3#12 integrate
.. //depot/projects/soc2005/libalias/sys/pci/agp_amd64.c#3 integrate
.. //depot/projects/soc2005/libalias/sys/powerpc/powerpc/db_interface.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/security/audit/audit_syscalls.c#5 integrate
.. //depot/projects/soc2005/libalias/sys/security/mac_portacl/mac_portacl.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/sparc64/include/asi.h#2 integrate
.. //depot/projects/soc2005/libalias/sys/sparc64/pci/ofw_pcib.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/sparc64/pci/ofw_pcib_subr.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/sparc64/pci/ofw_pcibus.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/sparc64/sparc64/db_interface.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/sparc64/sparc64/genassym.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/sun4v/conf/GENERIC#2 integrate
.. //depot/projects/soc2005/libalias/sys/sun4v/conf/NOTES#2 integrate
.. //depot/projects/soc2005/libalias/sys/sun4v/include/asi.h#2 integrate
.. //depot/projects/soc2005/libalias/sys/sun4v/include/tte.h#2 integrate
.. //depot/projects/soc2005/libalias/sys/sun4v/sun4v/exception.S#2 integrate
.. //depot/projects/soc2005/libalias/sys/sun4v/sun4v/fpemu.c#2 delete
.. //depot/projects/soc2005/libalias/sys/sun4v/sun4v/machdep.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/sun4v/sun4v/t1_copy.S#2 integrate
.. //depot/projects/soc2005/libalias/sys/sun4v/sun4v/tsb.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/sun4v/sun4v/vnex.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/ufs/ffs/ffs_inode.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/ufs/ffs/ffs_snapshot.c#4 integrate
.. //depot/projects/soc2005/libalias/sys/ufs/ffs/ffs_vnops.c#2 integrate
.. //depot/projects/soc2005/libalias/sys/ufs/ufs/inode.h#3 integrate
.. //depot/projects/soc2005/libalias/sys/ufs/ufs/ufs_vnops.c#4 integrate
.. //depot/projects/soc2005/libalias/sys/vm/vm_contig.c#4 integrate
.. //depot/projects/soc2005/libalias/sys/vm/vnode_pager.c#3 integrate
.. //depot/projects/soc2005/libalias/tools/regression/execve/Makefile#2 integrate
.. //depot/projects/soc2005/libalias/tools/regression/execve/execve.t#2 integrate
.. //depot/projects/soc2005/libalias/usr.bin/find/find.1#4 integrate
.. //depot/projects/soc2005/libalias/usr.bin/make/str.c#2 integrate
.. //depot/projects/soc2005/libalias/usr.sbin/bluetooth/bthidd/bthidd.8#2 integrate
.. //depot/projects/soc2005/libalias/usr.sbin/bluetooth/bthidd/hid.c#3 integrate
.. //depot/projects/soc2005/libalias/usr.sbin/mountd/mountd.c#3 integrate
.. //depot/projects/soc2005/libalias/usr.sbin/ndiscvt/ndiscvt.8#2 integrate
.. //depot/projects/soc2005/libalias/usr.sbin/pw/pw.8#2 integrate
.. //depot/projects/soc2005/libalias/usr.sbin/sysinstall/disks.c#2 integrate

Differences ...

==== //depot/projects/soc2005/libalias/Makefile.inc1#7 (text+ko) ====

@@ -1,5 +1,5 @@
 #
-# $FreeBSD: src/Makefile.inc1,v 1.561 2006/10/07 19:26:46 ru Exp $
+# $FreeBSD: src/Makefile.inc1,v 1.562 2006/10/09 04:58:44 kmacy Exp $
 #
 # Make command line options:
 #	-DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
@@ -107,7 +107,7 @@
 TARGET?=	${MACHINE}
 TARGET_ARCH?=	${MACHINE_ARCH}
 
-KNOWN_ARCHES?=	amd64 arm i386 i386/pc98 ia64 powerpc sparc64
+KNOWN_ARCHES?=	amd64 arm i386 i386/pc98 ia64 powerpc sparc64 sparc64/sun4v
 .if ${TARGET} == ${TARGET_ARCH}
 _t=		${TARGET}
 .else

==== //depot/projects/soc2005/libalias/bin/mkdir/mkdir.c#2 (text+ko) ====

@@ -39,7 +39,7 @@
 #endif /* not lint */
 #endif
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/bin/mkdir/mkdir.c,v 1.32 2005/02/09 17:37:38 ru Exp $");
+__FBSDID("$FreeBSD: src/bin/mkdir/mkdir.c,v 1.33 2006/10/10 20:18:20 ru Exp $");
 
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -99,19 +99,19 @@
 	}
 
 	for (exitval = 0; *argv != NULL; ++argv) {
-		success = 1;
 		if (pflag) {
-			if (build(*argv, omode))
-				success = 0;
+			success = build(*argv, omode);
 		} else if (mkdir(*argv, omode) < 0) {
 			if (errno == ENOTDIR || errno == ENOENT)
 				warn("%s", dirname(*argv));
 			else
 				warn("%s", *argv);
 			success = 0;
-		} else if (vflag)
-			(void)printf("%s\n", *argv);
-		
+		} else {
+			success = 1;
+			if (vflag)
+				(void)printf("%s\n", *argv);
+		}
 		if (!success)
 			exitval = 1;
 		/*
@@ -119,9 +119,10 @@
 		 * nine bits, so if you try to set a mode including the
 		 * sticky, setuid, setgid bits you lose them.  Don't do
 		 * this unless the user has specifically requested a mode,
-		 * as chmod will (obviously) ignore the umask.
+		 * as chmod will (obviously) ignore the umask.  Do this
+		 * on newly created directories only.
 		 */
-		if (success && mode != NULL && chmod(*argv, omode) == -1) {
+		if (success == 1 && mode != NULL && chmod(*argv, omode) == -1) {
 			warn("%s", *argv);
 			exitval = 1;
 		}
@@ -129,6 +130,11 @@
 	exit(exitval);
 }
 
+
+/*
+ * Returns 1 if a directory has been created,
+ * 2 if it already existed, and 0 on failure.
+ */
 int
 build(char *path, mode_t omode)
 {
@@ -139,7 +145,7 @@
 
 	p = path;
 	oumask = 0;
-	retval = 0;
+	retval = 1;
 	if (p[0] == '/')		/* Skip leading '/'. */
 		++p;
 	for (first = 1, last = 0; !last ; ++p) {
@@ -154,7 +160,7 @@
 			/*
 			 * POSIX 1003.2:
 			 * For each dir operand that does not name an existing
-			 * directory, effects equivalent to those cased by the
+			 * directory, effects equivalent to those caused by the
 			 * following command shall occcur:
 			 *
 			 * mkdir -p -m $(umask -S),u+wx $(dirname dir) &&
@@ -174,7 +180,7 @@
 			if (errno == EEXIST || errno == EISDIR) {
 				if (stat(path, &sb) < 0) {
 					warn("%s", path);
-					retval = 1;
+					retval = 0;
 					break;
 				} else if (!S_ISDIR(sb.st_mode)) {
 					if (last)
@@ -182,12 +188,14 @@
 					else
 						errno = ENOTDIR;
 					warn("%s", path);
-					retval = 1;
+					retval = 0;
 					break;
 				}
+				if (last)
+					retval = 2;
 			} else {
 				warn("%s", path);
-				retval = 1;
+				retval = 0;
 				break;
 			}
 		} else if (vflag)

==== //depot/projects/soc2005/libalias/games/fortune/datfiles/freebsd-tips#2 (text+ko) ====

@@ -1,5 +1,5 @@
 This fortune brought to you by:
-$FreeBSD: src/games/fortune/datfiles/freebsd-tips,v 1.40 2005/08/06 18:13:30 krion Exp $
+$FreeBSD: src/games/fortune/datfiles/freebsd-tips,v 1.41 2006/10/09 04:11:34 chinsan Exp $
 %
 Having trouble using fetch through a firewall? Try setting the environment
 variable FTP_PASSIVE_MODE to yes, and see fetch(3) for more details.
@@ -499,3 +499,7 @@
 	man -t grep > grep.ps	# Save the PostScript version to a file
 or
 	man -t printf | lp	# Send the PostScript directly to printer
+%
+Want to strip UTF-8 BOM(Byte Order Mark) from given files?
+
+	sed -e '1s/^\xef\xbb\xbf//' < bomfile > newfile

==== //depot/projects/soc2005/libalias/gnu/usr.bin/binutils/as/Makefile#3 (text+ko) ====

@@ -1,4 +1,4 @@
-# $FreeBSD: src/gnu/usr.bin/binutils/as/Makefile,v 1.17 2006/09/11 18:07:09 obrien Exp $
+# $FreeBSD: src/gnu/usr.bin/binutils/as/Makefile,v 1.18 2006/10/09 04:52:14 kmacy Exp $
 
 
 # BINDIR
@@ -25,7 +25,8 @@
 .elif ${TARGET_ARCH} == "powerpc"
 SRCS+=	tc-ppc.c
 .elif ${TARGET_ARCH} == "sparc64"
-SRCS+=	tc-sparc.c
+# change back to tc-sparc.c when new binutils is imported
+SRCS+=	tc-sparc-fixed.c
 .else
 SRCS+=	tc-${TARGET_ARCH}.c
 .endif

==== //depot/projects/soc2005/libalias/gnu/usr.bin/grep/grep.1#2 (text+ko) ====

@@ -1,5 +1,5 @@
 .\" grep man page
-.\" $FreeBSD: src/gnu/usr.bin/grep/grep.1,v 1.28 2005/12/18 12:09:23 ru Exp $
+.\" $FreeBSD: src/gnu/usr.bin/grep/grep.1,v 1.29 2006/10/10 01:57:25 trhodes Exp $
 .if !\n(.g \{\
 .	if !\w|\*(lq| \{\
 .		ds lq ``
@@ -202,11 +202,6 @@
 as a list of fixed strings, separated by newlines,
 any of which is to be matched.
 .TP
-.BR \-P ", " \-\^\-perl-regexp
-Interpret
-.I PATTERN
-as a Perl regular expression.
-.TP
 .BI \-f " FILE" "\fR,\fP \-\^\-file=" FILE
 Obtain patterns from
 .IR FILE ,

==== //depot/projects/soc2005/libalias/lib/libc/compat-43/killpg.2#2 (text+ko) ====

@@ -30,9 +30,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)killpg.2	8.1 (Berkeley) 6/2/93
-.\" $FreeBSD: src/lib/libc/compat-43/killpg.2,v 1.12 2002/12/19 09:40:21 ru Exp $
+.\" $FreeBSD: src/lib/libc/compat-43/killpg.2,v 1.13 2006/10/10 11:37:41 maxim Exp $
 .\"
-.Dd June 2, 1993
+.Dd October 10, 2006
 .Dt KILLPG 2
 .Os
 .Sh NAME
@@ -66,7 +66,7 @@
 have the same effective user ID, or
 the sender must be the super-user.
 As a single special case the continue signal SIGCONT may be sent
-to any process that is a descendant of the current process.
+to any process with the same session ID as the caller.
 .Sh RETURN VALUES
 .Rv -std killpg
 .Sh ERRORS

==== //depot/projects/soc2005/libalias/lib/libdisk/Makefile#2 (text+ko) ====

@@ -1,4 +1,4 @@
-# $FreeBSD: src/lib/libdisk/Makefile,v 1.46 2006/01/27 16:32:13 harti Exp $
+# $FreeBSD: src/lib/libdisk/Makefile,v 1.48 2006/10/09 05:12:54 kmacy Exp $
 
 .if ${MACHINE_ARCH} == "ia64"
 _open_disk=	open_ia64_disk.c
@@ -9,7 +9,13 @@
 
 LIB=	disk
 SRCS=	blocks.c ${_change} chunk.c create_chunk.c disk.c ${_open_disk} \
-	rules.c write_disk.c write_${MACHINE}_disk.c
+	rules.c write_disk.c 
+.if ${MACHINE} == "sun4v"
+SRCS+=  write_sparc64_disk.c
+.else
+SRCS+=  write_${MACHINE}_disk.c
+.endif
+
 INCS=	libdisk.h
 
 WARNS?=	2

==== //depot/projects/soc2005/libalias/lib/libkvm/Makefile#2 (text+ko) ====

@@ -1,9 +1,14 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/4/93
-# $FreeBSD: src/lib/libkvm/Makefile,v 1.15 2006/04/21 04:32:51 peter Exp $
+# $FreeBSD: src/lib/libkvm/Makefile,v 1.17 2006/10/09 05:12:54 kmacy Exp $
 
 LIB=	kvm
 SHLIBDIR?= /lib
 CFLAGS+=-DLIBC_SCCS -I${.CURDIR}
+
+.if ${MACHINE} == "sun4v"
+CFLAGS+=-DSUN4V
+.endif
+
 SRCS=	kvm.c kvm_${MACHINE_ARCH}.c kvm_file.c kvm_getloadavg.c \
 	kvm_getswapinfo.c kvm_proc.c
 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"

==== //depot/projects/soc2005/libalias/lib/libkvm/kvm_sparc64.c#2 (text+ko) ====

@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/lib/libkvm/kvm_sparc64.c,v 1.7 2005/06/29 22:39:41 peter Exp $");
+__FBSDID("$FreeBSD: src/lib/libkvm/kvm_sparc64.c,v 1.8 2006/10/09 04:58:45 kmacy Exp $");
 
 #if defined(LIBC_SCCS) && !defined(lint)
 #if 0
@@ -194,7 +194,9 @@
 _kvm_kvatop(kvm_t *kd, u_long va, off_t *pa)
 {
 	struct vmstate *vm;
+#if !defined(SUN4V)
 	struct tte tte;
+#endif
 	off_t tte_off, pa_off;
 	u_long pg_off, vpn;
 	int rest;
@@ -202,6 +204,7 @@
 	pg_off = va & PAGE_MASK;
 	if (va >= VM_MIN_DIRECT_ADDRESS)
 		pa_off = TLB_DIRECT_TO_PHYS(va) & ~PAGE_MASK;
+#if !defined(SUN4V)
 	else {
 		vpn = btop(va);
 		tte_off = kd->vmst->vm_tsb_off +
@@ -212,6 +215,7 @@
 			goto invalid;
 		pa_off = TTE_GET_PA(&tte);
 	}
+#endif
 	rest = PAGE_SIZE - pg_off;
 	pa_off = _kvm_find_off(kd->vmst, pa_off, rest);
 	if (pa_off == KVM_OFF_NOTFOUND)

==== //depot/projects/soc2005/libalias/lib/libutil/login.conf.5#3 (text+ko) ====

@@ -17,9 +17,9 @@
 .\" 5. Modifications may be freely made to this file providing the above
 .\"    conditions are met.
 .\"
-.\" $FreeBSD: src/lib/libutil/login.conf.5,v 1.58 2006/08/23 09:54:46 yar Exp $
+.\" $FreeBSD: src/lib/libutil/login.conf.5,v 1.60 2006/10/10 08:15:08 ru Exp $
 .\"
-.Dd August 23, 2006
+.Dd October 9, 2006
 .Dt LOGIN.CONF 5
 .Os
 .Sh NAME
@@ -74,6 +74,13 @@
 the last name may contain upper case characters and blanks for
 readability.
 .Pp
+Note that since a colon
+.Pq Ql :\&
+is used to separate capability entries, a
+.Ql \ec
+escape sequence must be used to embed a literal colon in the
+value or name of a capability.
+.Pp
 The default
 .Pa /etc/login.conf
 shipped with

==== //depot/projects/soc2005/libalias/sbin/geom/class/mirror/geom_mirror.c#3 (text+ko) ====

@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sbin/geom/class/mirror/geom_mirror.c,v 1.14 2006/09/30 14:40:49 pjd Exp $");
+__FBSDID("$FreeBSD: src/sbin/geom/class/mirror/geom_mirror.c,v 1.15 2006/10/10 15:00:32 pjd Exp $");
 
 #include <sys/param.h>
 #include <errno.h>
@@ -215,6 +215,7 @@
 	}
 	md.md_mediasize = mediasize;
 	md.md_sectorsize = sectorsize;
+	md.md_mediasize -= (md.md_mediasize % md.md_sectorsize);
 
 	/*
 	 * Clear last sector first, to spoil all components if device exists.

==== //depot/projects/soc2005/libalias/sbin/geom/class/raid3/geom_raid3.c#3 (text+ko) ====

@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sbin/geom/class/raid3/geom_raid3.c,v 1.16 2006/09/30 14:40:50 pjd Exp $");
+__FBSDID("$FreeBSD: src/sbin/geom/class/raid3/geom_raid3.c,v 1.18 2006/10/10 15:00:32 pjd Exp $");
 
 #include <sys/param.h>
 #include <errno.h>
@@ -205,6 +205,7 @@
 	}
 	md.md_mediasize = mediasize * (nargs - 2);
 	md.md_sectorsize = sectorsize * (nargs - 2);
+	md.md_mediasize -= (md.md_mediasize % md.md_sectorsize);
 
 	/*
 	 * Clear last sector first, to spoil all components if device exists.

==== //depot/projects/soc2005/libalias/sbin/ifconfig/ifconfig.8#6 (text+ko) ====

@@ -26,9 +26,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     From: @(#)ifconfig.8	8.3 (Berkeley) 1/5/94
-.\" $FreeBSD: src/sbin/ifconfig/ifconfig.8,v 1.122 2006/10/02 08:55:54 schweikh Exp $
+.\" $FreeBSD: src/sbin/ifconfig/ifconfig.8,v 1.124 2006/10/10 09:44:08 ru Exp $
 .\"
-.Dd September 6, 2006
+.Dd October 9, 2006
 .Dt IFCONFIG 8
 .Os
 .Sh NAME
@@ -744,6 +744,9 @@
 .It Cm list scan
 Display the access points and/or ad-hoc neighbors
 located in the vicinity.
+The
+.Fl v
+flag may be used to display long SSIDs.
 This information may be updated automatically by the adaptor
 and/or with a
 .Cm scan
@@ -923,6 +926,10 @@
 .Cm list scan
 request can be used to show recent scan results without
 initiating a new scan.
+.Pp
+The
+.Fl v
+flag may be used to prevent the shortening of long SSIDs.
 .It Cm stationname Ar name
 Set the name of this station.
 It appears that the station name is not really part of the IEEE 802.11

==== //depot/projects/soc2005/libalias/sbin/ipfw/ipfw.8#7 (text+ko) ====

@@ -1,5 +1,5 @@
 .\"
-.\" $FreeBSD: src/sbin/ipfw/ipfw.8,v 1.196 2006/10/04 19:29:05 keramida Exp $
+.\" $FreeBSD: src/sbin/ipfw/ipfw.8,v 1.197 2006/10/09 22:12:08 trhodes Exp $
 .\"
 .Dd July 25, 2006
 .Dt IPFW 8
@@ -2662,3 +2662,7 @@
 Rules which use uid, gid or jail based matching should be used only
 if debug.mpsafenet=0 to avoid possible deadlocks due to layering
 violations in its implementation.
+.Pp
+Rule syntax is subject to the command line environment and some patterns
+may need to be escaped with the backslash character
+or quoted appropriately.

==== //depot/projects/soc2005/libalias/share/man/man4/Makefile#4 (text+ko) ====

@@ -1,5 +1,5 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/18/93
-# $FreeBSD: src/share/man/man4/Makefile,v 1.364 2006/10/01 11:16:31 joel Exp $
+# $FreeBSD: src/share/man/man4/Makefile,v 1.365 2006/10/08 17:05:15 ceri Exp $
 
 MAN=	aac.4 \
 	acpi.4 \
@@ -90,6 +90,7 @@
 	gem.4 \
 	geom.4 \
 	geom_fox.4 \
+	geom_uzip.4 \
 	gif.4 \
 	gre.4 \
 	harp.4 \

==== //depot/projects/soc2005/libalias/share/man/man4/ddb.4#5 (text+ko) ====

@@ -57,8 +57,9 @@
 .\" 	Created.
 .\" 	[90/08/30            dbg]
 .\"
-.\" $FreeBSD: src/share/man/man4/ddb.4,v 1.34 2006/10/03 21:06:19 ru Exp $
-.Dd September 15, 2006
+.\" $FreeBSD: src/share/man/man4/ddb.4,v 1.39 2006/10/10 23:40:47 bde Exp $
+.\"
+.Dd October 10, 2006
 .Dt DDB 4
 .Os
 .Sh NAME
@@ -74,7 +75,8 @@
 .Sh DESCRIPTION
 The
 .Nm
-kernel debugger has most of the features of the old kdb,
+kernel debugger has most of the features of the old
+.Nm kdb ,
 but with a more rational syntax
 inspired by
 .Xr gdb 1 .
@@ -94,27 +96,47 @@
 .Dv KDB_UNATTENDED
 option is specified.
 .Pp
-The current location is called `dot'.
-The `dot' is displayed with
+The current location is called
+.Va dot .
+The
+.Va dot
+is displayed with
 a hexadecimal format at a prompt.
-Examine and write commands update `dot' to the address of the last line
-examined or the last location modified, and set `next' to the address of
+The commands
+.Ic examine
+and
+.Ic write
+update
+.Va dot
+to the address of the last line
+examined or the last location modified, and set
+.Va next
+to the address of
 the next location to be examined or changed.
-Other commands do not change `dot', and set `next' to be the same as `dot'.
+Other commands do not change
+.Va dot ,
+and set
+.Va next
+to be the same as
+.Va dot .
 .Pp
 The general command syntax is:
-.Cm command Ns Op Li \&/ Ns Ar modifier
+.Ar command Ns Op Li / Ns Ar modifier
 .Ar address Ns Op Li , Ns Ar count
 .Pp
-A blank line repeats the previous command from the address `next' with
+A blank line repeats the previous command from the address
+.Va next
+with
 count 1 and no modifiers.
 Specifying
 .Ar address
-sets `dot' to the
-address.
+sets
+.Va dot
+to the address.
 Omitting
 .Ar address
-uses `dot'.
+uses
+.Va dot .
 A missing
 .Ar count
 is taken
@@ -122,14 +144,14 @@
 .Pp
 The
 .Nm
-debugger has a feature like the
+debugger has a pager feature (like the
 .Xr more 1
-command
+command)
 for the output.
 If an output line exceeds the number set in the
-.Li \&$lines
+.Va lines
 variable, it displays
-.Dq Em --db_more--
+.Dq Li --db_more--
 and waits for a response.
 The valid responses for it are:
 .Pp
@@ -145,56 +167,63 @@
 Finally,
 .Nm
 provides a small (currently 10 items) command history, and offers
-simple emacs-style command line editing capabilities.
+simple
+.Nm emacs Ns -style
+command line editing capabilities.
 In addition to
-the emacs control keys, the usual ANSI arrow keys might be used to
+the
+.Nm emacs
+control keys, the usual
+.Tn ANSI
+arrow keys might be used to
 browse through the history buffer, and move the cursor within the
 current line.
 .Sh COMMANDS
 .Bl -tag -width indent -compact
-.It Cm examine
-.It Cm x
+.It Ic examine
+.It Ic x
 Display the addressed locations according to the formats in the modifier.
 Multiple modifier formats display multiple locations.
-If no format is specified, the last formats specified for this command
+If no format is specified, the last format specified for this command
 is used.
 .Pp
 The format characters are:
 .Bl -tag -compact -width indent
-.It Li b
+.It Cm b
 look at by bytes (8 bits)
-.It Li h
+.It Cm h
 look at by half words (16 bits)
-.It Li l
+.It Cm l
 look at by long words (32 bits)
-.It Li a
+.It Cm a
 print the location being displayed
-.It Li A
+.It Cm A
 print the location with a line number if possible
-.It Li x
+.It Cm x
 display in unsigned hex
-.It Li z
+.It Cm z
 display in signed hex
-.It Li o
+.It Cm o
 display in unsigned octal
-.It Li d
+.It Cm d
 display in signed decimal
-.It Li u
+.It Cm u
 display in unsigned decimal
-.It Li r
+.It Cm r
 display in current radix, signed
-.It Li c
+.It Cm c
 display low 8 bits as a character.
-Non-printing characters are displayed as an octal escape code (e.g., `\e000').
-.It Li s
+Non-printing characters are displayed as an octal escape code (e.g.,
+.Ql \e000 ) .
+.It Cm s
 display the null-terminated string at the location.
 Non-printing characters are displayed as octal escapes.
-.It Li m
+.It Cm m
 display in unsigned hex with character dump at the end of each line.
 The location is also displayed in hex at the beginning of each line.
-.It Li i
+.It Cm i
 display as an instruction
-.It Li I
+.It Cm I
 display as an instruction with possible alternate formats depending on the
 machine:
 .Bl -tag -width ".Tn powerpc" -compact
@@ -213,38 +242,38 @@
 .El
 .El
 .Pp
-.It Cm xf
+.It Ic xf
 Examine forward:
-Execute an examine command with the last specified parameters to it
+execute an
+.Ic examine
+command with the last specified parameters to it
 except that the next address displayed by it is used as the start address.
 .Pp
-.It Cm xb
+.It Ic xb
 Examine backward:
-Execute an examine command with the last specified parameters to it
+execute an
+.Ic examine
+command with the last specified parameters to it
 except that the last start address subtracted by the size displayed by it
 is used as the start address.
 .Pp
-.It Cm print Ns Op Cm /acdoruxz
+.It Ic print Ns Op Li / Ns Cm acdoruxz
+.It Ic p Ns Op Li / Ns Cm acdoruxz
 Print
 .Ar addr Ns s
 according to the modifier character (as described above for
-.Li examine ) .
+.Cm examine ) .
 Valid formats are:
-.Li a ,
-.Li x ,
-.Li z ,
-.Li o ,
-.Li d ,
-.Li u ,
-.Li r ,
+.Cm a , x , z , o , d , u , r ,
 and
-.Li c .
+.Cm c .
 If no modifier is specified, the last one specified to it is used.
+The argument
 .Ar addr
 can be a string, in which case it is printed as it is.
 For example:
 .Bd -literal -offset indent
-print/x \&"eax = \&" $eax \&"\enecx = \&" $ecx \&"\en\&"
+print/x "eax = " $eax "\enecx = " $ecx "\en"
 .Ed
 .Pp
 will print like:
@@ -254,19 +283,23 @@
 .Ed
 .Pp
 .It Xo
-.Cm write Ns Op Cm /bhl
-.Ar addr Ar expr1 Op Ar "expr2 ..."
+.Ic write Ns Op Li / Ns Cm bhl
+.Ar addr expr1 Op Ar expr2 ...
+.Xc
+.It Xo
+.Ic w Ns Op Li / Ns Cm bhl
+.Ar addr expr1 Op Ar expr2 ...
 .Xc
 Write the expressions specified after
 .Ar addr
 on the command line at succeeding locations starting with
-.Ar addr
+.Ar addr .
 The write unit size can be specified in the modifier with a letter
-.Li b
+.Cm b
 (byte),
-.Li h
+.Cm h
 (half word) or
-.Li l
+.Cm l
 (long word) respectively.
 If omitted,
 long word is assumed.
@@ -276,37 +309,33 @@
 things may happen.
 It is best to enclose each expression in parentheses.
 .Pp
-.It Xo
-.Cm set
-.Li \&$ Ns Ar variable
-.Op Li =
-.Ar expr
-.Xc
+.It Ic set Li $ Ns Ar variable Oo Li = Oc Ar expr
 Set the named variable or register with the value of
 .Ar expr .
 Valid variable names are described below.
 .Pp
-.It Cm break Ns Op Cm /u
+.It Ic break Ns Op Li / Ns Cm u
+.It Ic b Ns Op Li / Ns Cm u
 Set a break point at
 .Ar addr .
 If
 .Ar count
 is supplied, continues
 .Ar count
-- 1 times before stopping at the
+\- 1 times before stopping at the
 break point.
 If the break point is set, a break point number is
 printed with
-.Sq Li \&# .
+.Ql # .
 This number can be used in deleting the break point
 or adding conditions to it.
 .Pp
 If the
-.Li u
+.Cm u
 modifier is specified, this command sets a break point in user space
 address.
 Without the
-.Li u
+.Cm u
 option, the address is considered in the kernel
 space, and wrong space address is rejected with an error message.
 This modifier can be used only if it is supported by machine dependent
@@ -318,24 +347,60 @@
 Setting a break
 point at the low-level code paths may also cause strange behavior.
 .Pp
-.It Cm delete Ar addr
-.It Cm delete Li \&# Ns Ar number
+.It Ic delete Ar addr
+.It Ic d Ar addr
+.It Ic delete Li # Ns Ar number
+.It Ic d Li # Ns Ar number
 Delete the break point.
 The target break point can be specified by a
 break point number with
-.Li # ,
+.Ql # ,
 or by using the same
 .Ar addr
 specified in the original
-.Cm break
+.Ic break
 command.
 .Pp
-.It Cm step Ns Op Cm /p
+.It Ic watch Ar addr Ns Li , Ns Ar size
+Set a watchpoint for a region.
+Execution stops when an attempt to modify the region occurs.
+The
+.Ar size
+argument defaults to 4.
+If you specify a wrong space address, the request is rejected
+with an error message.
+.Pp
+.Sy Warning :
+Attempts to watch wired kernel memory
+may cause unrecoverable error in some systems such as i386.
+Watchpoints on user addresses work best.
+.Pp
+.It Ic hwatch Ar addr Ns Li , Ns Ar size
+Set a hardware watchpoint for a region if supported by the
+architecture.
+Execution stops when an attempt to modify the region occurs.
+The
+.Ar size
+argument defaults to 4.
+.Pp
+.Sy Warning :
+The hardware debug facilities do not have a concept of separate
+address spaces like the watch command does.
+Use
+.Ic hwatch
+for setting watchpoints on kernel address locations only, and avoid
+its use on user mode address spaces.
+.Pp
+.It Ic dhwatch Ar addr Ns Li , Ns Ar size
+Delete specified hardware watchpoint.
+.Pp
+.It Ic step Ns Op Li / Ns Cm p
+.It Ic s Ns Op Li / Ns Cm p
 Single step
 .Ar count
 times (the comma is a mandatory part of the syntax).
 If the
-.Li p
+.Cm p
 modifier is specified, print each instruction at each step.
 Otherwise, only print the last instruction.
 .Pp
@@ -346,10 +411,11 @@
 stepping through code executed by interrupt handlers will probably
 do the wrong thing.
 .Pp
-.It Cm continue Ns Op Cm /c
+.It Ic continue Ns Op Li / Ns Cm c
+.It Ic c Ns Op Li / Ns Cm c
 Continue execution until a breakpoint or watchpoint.
 If the
-.Li c
+.Cm c
 modifier is specified, count instructions while executing.
 Some machines (e.g., pmax) also count loads and stores.
 .Pp
@@ -358,36 +424,52 @@
 This means that single-stepping on low-level code may cause strange
 behavior.
 .Pp
-.It Cm until Ns Op Cm /p
+.It Ic until Ns Op Li / Ns Cm p
 Stop at the next call or return instruction.
 If the
-.Li p
+.Cm p
 modifier is specified, print the call nesting depth and the
 cumulative instruction count at each call or return.
 Otherwise,
 only print when the matching return is hit.
 .Pp
-.It Cm next Ns Op Cm /p
-.It Cm match Ns Op Cm /p
+.It Ic next Ns Op Li / Ns Cm p
+.It Ic match Ns Op Li / Ns Cm p
 Stop at the matching return instruction.
 If the
-.Li p
+.Cm p
 modifier is specified, print the call nesting depth and the
 cumulative instruction count at each call or return.
 Otherwise, only print when the matching return is hit.
 .Pp
 .It Xo
-.Cm trace Ns Op Cm /u
+.Ic trace Ns Op Li / Ns Cm u
+.Op Ar frame
+.Op Li , Ns Ar count
+.Xc
+.It Xo
+.Ic t Ns Op Li / Ns Cm u
+.Op Ar frame
+.Op Li , Ns Ar count
+.Xc
+.It Xo
+.Ic where Ns Op Li / Ns Cm u
+.Op Ar frame
+.Op Li , Ns Ar count
+.Xc
+.It Xo
+.Ic bt Ns Op Li / Ns Cm u
 .Op Ar frame
-.Op , Ns Ar count
+.Op Li , Ns Ar count
 .Xc
 Stack trace.
 The
-.Li u

>>> TRUNCATED FOR MAIL (1000 lines) <<<



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610121847.k9CIl1Y6034138>