svn commit: r201379 - head/libexec/comsat

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 09:45:59 2010 New Revision: 201379 URL: http://svn.freebsd.org/changeset/base/201379 Log: Fix several warnings. - Add __unused keywords. - Don't shadow a global variable called cr. - Make the global cr variable const. Modified:

svn commit: r201380 - in head/libexec: . atrun bootpd bootpd/tools fingerd getty mail.local mknetid pppoed rbootd revnetgroup rpc.rquotad rpc.rstatd rpc.rusersd rpc.rwalld rpc.sprayd rshd rtld-elf ...

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 09:50:19 2010 New Revision: 201380 URL: http://svn.freebsd.org/changeset/base/201380 Log: Make WARNS=6 the default for libexec/. Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix

svn commit: r201381 - in head: lib lib/csu lib/csu/arm lib/csu/i386-elf lib/csu/mips lib/libarchive lib/libauditd lib/libautofs lib/libbegemot lib/libbsm lib/libbz2 lib/libcalendar lib/libcam lib/l...

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 09:58:07 2010 New Revision: 201381 URL: http://svn.freebsd.org/changeset/base/201381 Log: Build lib/ with WARNS=6 by default. Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It

svn commit: r201382 - in head/usr.bin: ar at banner biff lam login renice rpcgen showmount tail

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 10:09:20 2010 New Revision: 201382 URL: http://svn.freebsd.org/changeset/base/201382 Log: ANSIfy various tools in usr.bin/. Most of these tools properly build at WARNS=6, except for their KR function declarations. Fix this, so we can bump WARNS as well.

svn commit: r201383 - head/usr.bin/gprof

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 10:12:12 2010 New Revision: 201383 URL: http://svn.freebsd.org/changeset/base/201383 Log: Add missing #include for string routines. Modified: head/usr.bin/gprof/aout.c Modified: head/usr.bin/gprof/aout.c

svn commit: r201384 - head/usr.bin/script

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 10:13:21 2010 New Revision: 201384 URL: http://svn.freebsd.org/changeset/base/201384 Log: Remove a warning by adding extra parentheses. GCC generates warnings when using if (foo = bar). In this case its use is valid. Modified: head/usr.bin/script/script.c

svn commit: r201385 - in head/usr.bin: passwd sockstat

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 10:14:35 2010 New Revision: 201385 URL: http://svn.freebsd.org/changeset/base/201385 Log: Mute some warnings on uninitialized variables. The code does the right thing, but the compiler is unable to figure it out. All paths that use that variable use the same

svn commit: r201386 - in head/usr.bin: . apply ar at atm/sscop awk bluetooth/bthost bsdiff bzip2 calendar catman chkey chpass colldef compile_et compress cpio cpio/test cpuset ctags dig du elf2aout...

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 10:27:05 2010 New Revision: 201386 URL: http://svn.freebsd.org/changeset/base/201386 Log: Build usr.bin/ with WARNS=6 by default. Also add some missing $FreeBSD$ to keep svn happy. Modified: head/usr.bin/Makefile.inc head/usr.bin/apply/Makefile

svn commit: r201387 - in head/usr.sbin: accton ancontrol asf chroot extattrctl faithd inetd kbdcontrol mount_portalfs ndiscvt quotaon rip6query rmt

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 11:05:34 2010 New Revision: 201387 URL: http://svn.freebsd.org/changeset/base/201387 Log: ANSIfy some more tools in usr.sbin/. Most of these tools build with WARNS=6, except for their use of KR function declarations. Modified: head/usr.sbin/accton/accton.c

svn commit: r201388 - head/usr.sbin/snapinfo

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 11:06:11 2010 New Revision: 201388 URL: http://svn.freebsd.org/changeset/base/201388 Log: Mark ftwv as __unused. This compare function does not need it. Modified: head/usr.sbin/snapinfo/snapinfo.c Modified: head/usr.sbin/snapinfo/snapinfo.c

svn commit: r201389 - in head/usr.sbin: sysinstall yppush

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 11:06:39 2010 New Revision: 201389 URL: http://svn.freebsd.org/changeset/base/201389 Log: Remove unused variables. Modified: head/usr.sbin/sysinstall/disks.c head/usr.sbin/yppush/yppush_main.c Modified: head/usr.sbin/sysinstall/disks.c

svn commit: r201390 - in head/usr.sbin: . ac accton acpi/acpiconf acpi/acpidump acpi/iasl amd apm apmd asf audit auditd auditreduce authpf boot0cfg bootparamd bsnmpd/bsnmpd bsnmpd/gensnmptree bsnmp...

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 11:07:44 2010 New Revision: 201390 URL: http://svn.freebsd.org/changeset/base/201390 Log: The last big commit: let usr.sbin/ use WARNS=6 by default. Modified: head/usr.sbin/Makefile.inc head/usr.sbin/ac/Makefile head/usr.sbin/accton/Makefile

Re: svn commit: r201284 - head/sys/netinet6

2010-01-02 Thread Ed Schouten
Hi Qing, Could it be possible that this commit (or r201282) breaks IPv6/ND6 for me? It seems my system no longer sends responses to ND6, causing all traffic on the local network to that system to break. -- Ed Schouten e...@80386.nl WWW: http://80386.nl/ pgp7YwqF3Lrku.pgp Description: PGP

svn commit: r201391 - head/release

2010-01-02 Thread Takahashi Yoshihiro
Author: nyan Date: Sat Jan 2 12:37:54 2010 New Revision: 201391 URL: http://svn.freebsd.org/changeset/base/201391 Log: Do kgzip to the loader on pc98, too. Now pc98's boot2 works for ELF. MFC after:2 week Modified: head/release/Makefile Modified: head/release/Makefile

svn commit: r201392 - head/usr.sbin/sysinstall

2010-01-02 Thread Takahashi Yoshihiro
Author: nyan Date: Sat Jan 2 12:42:33 2010 New Revision: 201392 URL: http://svn.freebsd.org/changeset/base/201392 Log: Use UFS2 as default filesystem. Now pc98's boot2 works for UFS2. MFC after:2 week. Modified: head/usr.sbin/sysinstall/label.c Modified:

svn commit: r201393 - stable/8/sys/dev/ae

2010-01-02 Thread Gavin Atkinson
Author: gavin Date: Sat Jan 2 13:07:14 2010 New Revision: 201393 URL: http://svn.freebsd.org/changeset/base/201393 Log: MFC r200993: Small spelling fix, Ethetnet - Ethernet Approved by: ed (mentor) Modified: stable/8/sys/dev/ae/if_ae.c Directory Properties: stable/8/sys/ (props

svn commit: r201394 - stable/7/sys/dev/ae

2010-01-02 Thread Gavin Atkinson
Author: gavin Date: Sat Jan 2 13:07:51 2010 New Revision: 201394 URL: http://svn.freebsd.org/changeset/base/201394 Log: MFC r200993: Small spelling fix, Ethetnet - Ethernet Approved by: ed (mentor) Modified: stable/7/sys/dev/ae/if_ae.c Directory Properties: stable/7/sys/ (props

svn commit: r201395 - head/sys/sparc64/pci

2010-01-02 Thread Marius Strobl
Author: marius Date: Sat Jan 2 15:19:33 2010 New Revision: 201395 URL: http://svn.freebsd.org/changeset/base/201395 Log: - Preserve the PROM IOMMU in order to allow OFW drivers to continue to work. - Sanity check the parameters passed to the implementations of the

svn commit: r201396 - head/sys/sparc64/sparc64

2010-01-02 Thread Marius Strobl
Author: marius Date: Sat Jan 2 15:44:16 2010 New Revision: 201396 URL: http://svn.freebsd.org/changeset/base/201396 Log: - Demapping unused kernel TLB slots has proven to work reliably so move the associated debugging under bootverbose. - Remove freebsd4_sigreturn(); given that FreeBSD 4

svn commit: r201397 - head/share/man/man4

2010-01-02 Thread Christian Brueffer
Author: brueffer Date: Sat Jan 2 16:27:25 2010 New Revision: 201397 URL: http://svn.freebsd.org/changeset/base/201397 Log: Add one more supported controller. Submitted by: pluknet pluk...@gmail.com MFC after:1 week Modified: head/share/man/man4/mfi.4 Modified:

svn commit: r201398 - head/usr.sbin/wake

2010-01-02 Thread Martin Blapp
Author: mbr Date: Sat Jan 2 17:29:13 2010 New Revision: 201398 URL: http://svn.freebsd.org/changeset/base/201398 Log: Make it clear that interface is one out of possibly many interface of the local machine (s/the network interface/a network interface). Submitted by: Marc Balmer

svn commit: r201399 - in head: sbin/newfs sys/boot/pc98/boot0.5

2010-01-02 Thread Martin Blapp
Author: mbr Date: Sat Jan 2 17:32:40 2010 New Revision: 201399 URL: http://svn.freebsd.org/changeset/base/201399 Log: Fix typo: s/partion/partition/ Submitted by: Marc Balmer m...@msys.ch MFC after:3 days Modified: head/sbin/newfs/mkfs.c head/sys/boot/pc98/boot0.5/selector.s

svn commit: r201400 - head/sbin/mount_msdosfs

2010-01-02 Thread Konstantin Belousov
Author: kib Date: Sat Jan 2 17:45:53 2010 New Revision: 201400 URL: http://svn.freebsd.org/changeset/base/201400 Log: Remove reference to the bug in FreeBSD 2.0. Submitted by: Valentin Nechayev netch segfault kiev ua MFC after:3 days Modified:

Re: svn commit: r201284 - head/sys/netinet6

2010-01-02 Thread Qing Li
Hmm... there is a possibility r201284, but on the other hand, I have been running this patch for a while now. However, that patch was created from several weeks ago, and -current had evolved. Would you mind sending me your configuration information, in particular, ifconfig -a and netstat -rn and

svn commit: r201401 - head/sbin/growfs

2010-01-02 Thread Gavin Atkinson
Author: gavin Date: Sat Jan 2 20:18:10 2010 New Revision: 201401 URL: http://svn.freebsd.org/changeset/base/201401 Log: Remove dead code. This section of code is only run in the (sblock.fs_magic == FS_UFS1_MAGIC) case, so the check within the loop is redundant. Submitted by: Nate

svn commit: r201402 - head/lib/libc/posix1e

2010-01-02 Thread Ed Schouten
Author: ed Date: Sat Jan 2 20:27:14 2010 New Revision: 201402 URL: http://svn.freebsd.org/changeset/base/201402 Log: Don't forget to clean up the file copied from the kernel sources. MFC after:1 week Modified: head/lib/libc/posix1e/Makefile.inc Modified:

svn commit: r201403 - stable/8/sys/sys

2010-01-02 Thread Warner Losh
Author: imp Date: Sat Jan 2 20:34:13 2010 New Revision: 201403 URL: http://svn.freebsd.org/changeset/base/201403 Log: Welcome to 2010. Modified: stable/8/sys/sys/copyright.h Modified: stable/8/sys/sys/copyright.h

svn commit: r201404 - stable/7/sys/sys

2010-01-02 Thread Warner Losh
Author: imp Date: Sat Jan 2 20:35:19 2010 New Revision: 201404 URL: http://svn.freebsd.org/changeset/base/201404 Log: Welcome to 2010. Modified: stable/7/sys/sys/copyright.h Modified: stable/7/sys/sys/copyright.h

svn commit: r201405 - stable/6/sys/sys

2010-01-02 Thread Warner Losh
Author: imp Date: Sat Jan 2 20:36:36 2010 New Revision: 201405 URL: http://svn.freebsd.org/changeset/base/201405 Log: Welcome to 2010. (Note: this was mistakenly not updated for 2009, even though there were changes on the releng_6 branch). Modified: stable/6/sys/sys/copyright.h

svn commit: r201406 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-01-02 Thread Xin LI
Author: delphij Date: Sat Jan 2 23:38:03 2010 New Revision: 201406 URL: http://svn.freebsd.org/changeset/base/201406 Log: Reduce diff against OpenSolaris - move Giant acquire/release to zfs_znode.c. As a side effect this also eliminates two potential Giant leaks. Approved by: pjd

svn commit: r201407 - in stable/8/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2010-01-02 Thread Xin LI
Author: delphij Date: Sun Jan 3 00:27:35 2010 New Revision: 201407 URL: http://svn.freebsd.org/changeset/base/201407 Log: MFC r200516: Add an option to specify that the received ZFS should not be automatically mounted (receive -u). Obtained from:OpenSolaris (onnv revision

svn commit: r201408 - head/sys/dev/isp

2010-01-02 Thread Matt Jacob
Author: mjacob Date: Sun Jan 3 02:43:46 2010 New Revision: 201408 URL: http://svn.freebsd.org/changeset/base/201408 Log: Make sure that the WWNN is also created for 2100..2300 cards. MFC after:1 day Modified: head/sys/dev/isp/isp.c Modified: head/sys/dev/isp/isp.c

svn commit: r201409 - in stable/8: cddl/contrib/opensolaris/cmd/zdb sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2010-01-02 Thread Xin LI
Author: delphij Date: Sun Jan 3 02:58:05 2010 New Revision: 201409 URL: http://svn.freebsd.org/changeset/base/201409 Log: MFC r200724: Apply fix for Solaris bug 6462803 zfs snapshot -r failed because filesystem was busy. PR: kern/141387 Submitted by: mm Approved by:

svn commit: r201410 - head/sys/sparc64/conf

2010-01-02 Thread Marius Strobl
Author: marius Date: Sun Jan 3 02:58:43 2010 New Revision: 201410 URL: http://svn.freebsd.org/changeset/base/201410 Log: Exclude options COMPAT_FREEBSD4 now that the MD freebsd4_sigreturn() is gone since r201396 and which is also in line with the fact that FreeBSD 4 didn't supported

svn commit: r201411 - in stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2010-01-02 Thread Xin LI
Author: delphij Date: Sun Jan 3 03:05:30 2010 New Revision: 201411 URL: http://svn.freebsd.org/changeset/base/201411 Log: MFC r200726: Apply fix for Solaris bug 6801979: zfs recv can fail with E2BIG (onnv revision 8986) PR: kern/141355 Requested by: mm Submitted by:

svn commit: r201412 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-01-02 Thread Xin LI
Author: delphij Date: Sun Jan 3 03:10:28 2010 New Revision: 201412 URL: http://svn.freebsd.org/changeset/base/201412 Log: MFC r200727: Apply fix for Solaris bug 6764159: restore_object() makes a call that can block while having a tx open but not yet committed (onnv revision 7994)

svn commit: r201413 - stable/7/sys/compat/svr4

2010-01-02 Thread Xin LI
Author: delphij Date: Sun Jan 3 03:23:17 2010 New Revision: 201413 URL: http://svn.freebsd.org/changeset/base/201413 Log: MFC r193012: Add new sysconfig bits, Fix the bogus numbering of the old bits. Submitted by: Pedro f. Giffuni giffunip asme org Obtained from:NetBSD

svn commit: r201414 - stable/6/sys/compat/svr4

2010-01-02 Thread Xin LI
Author: delphij Date: Sun Jan 3 03:35:23 2010 New Revision: 201414 URL: http://svn.freebsd.org/changeset/base/201414 Log: MFC r193012: Add new sysconfig bits, Fix the bogus numbering of the old bits. Submitted by: Pedro f. Giffuni giffunip asme org Obtained from:NetBSD

svn commit: r201415 - head/sys/pc98/conf

2010-01-02 Thread Takahashi Yoshihiro
Author: nyan Date: Sun Jan 3 04:38:38 2010 New Revision: 201415 URL: http://svn.freebsd.org/changeset/base/201415 Log: Re-enable more options and devices. Now kernel size problem is gone. MFC after:2 week Modified: head/sys/pc98/conf/GENERIC Modified: head/sys/pc98/conf/GENERIC

svn commit: r201416 - head/sys/netinet

2010-01-02 Thread Navdeep Parhar
Author: np Date: Sun Jan 3 06:43:13 2010 New Revision: 201416 URL: http://svn.freebsd.org/changeset/base/201416 Log: Avoid NULL dereference in arpresolve. Modified: head/sys/netinet/if_ether.c Modified: head/sys/netinet/if_ether.c