svn commit: r208971 - head/tools/build/options

2010-06-10 Thread Ed Schouten
Author: ed Date: Thu Jun 10 06:20:26 2010 New Revision: 208971 URL: http://svn.freebsd.org/changeset/base/208971 Log: Fix typo. Spotted by: Garrett Cooper Modified: head/tools/build/options/WITHOUT_CLANG Modified: head/tools/build/options/WITHOUT_CLANG

svn commit: r208972 - head/share/man/man5

2010-06-10 Thread Ed Schouten
Author: ed Date: Thu Jun 10 06:22:10 2010 New Revision: 208972 URL: http://svn.freebsd.org/changeset/base/208972 Log: Regenerate. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ==

Re: svn commit: r208954 - in head/contrib/llvm: . docs test tools/clang tools/clang/docs tools/clang/test website

2010-06-10 Thread Garrett Cooper
On Jun 9, 2010, at 3:20 PM, Pawel Worach wrote: On Jun 9, 2010, at 23:58, Garrett Cooper wrote: On Wed, Jun 9, 2010 at 12:04 PM, Ed Schouten e...@80386.nl wrote: Hi Garrett, * Garrett Cooper yanef...@gmail.com wrote: Why strip test? This might actually be helpful for folks trying to

svn commit: r208973 - head/sys/sys

2010-06-10 Thread Ed Schouten
Author: ed Date: Thu Jun 10 06:48:09 2010 New Revision: 208973 URL: http://svn.freebsd.org/changeset/base/208973 Log: Bump __FreeBSD_version to indicate the addition of Clang to HEAD. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r208974 - head/usr.bin/dc

2010-06-10 Thread Gabor Kovesdan
Author: gabor Date: Thu Jun 10 10:17:00 2010 New Revision: 208974 URL: http://svn.freebsd.org/changeset/base/208974 Log: - Fix style(9) Submitted by: ed Approved by: delphij (mentor) Modified: head/usr.bin/dc/dc.c Modified: head/usr.bin/dc/dc.c

Re: svn commit: r208868 - in head/usr.bin: bc dc

2010-06-10 Thread Gabor Kovesdan
Yes, better use write(2) and _exit(2) here. I wonder if a signal handler is necessary at all here. The shell should print a newline after an interruption. This does not appear to work in sh(1) in the (default) interactive job control mode, but works in tcsh, bash and zsh for example.

svn commit: r208975 - head/usr.bin/dc

2010-06-10 Thread Gabor Kovesdan
Author: gabor Date: Thu Jun 10 10:28:38 2010 New Revision: 208975 URL: http://svn.freebsd.org/changeset/base/208975 Log: - Axe out signal handling code, the shell will take care of this Suggested by: jilles Approved by: delphij (mentor) Modified: head/usr.bin/dc/bcode.c Modified:

svn commit: r208976 - vendor/llvm/llvm-r104832

2010-06-10 Thread Ed Schouten
Author: ed Date: Thu Jun 10 10:39:32 2010 New Revision: 208976 URL: http://svn.freebsd.org/changeset/base/208976 Log: Properly tag LLVM. Tags are cheap. Added: vendor/llvm/llvm-r104832/ - copied from r208975, vendor/llvm/dist/ ___

svn commit: r208978 - in vendor/llvm: llvm-84119 llvm-r84119

2010-06-10 Thread Ed Schouten
Author: ed Date: Thu Jun 10 10:42:08 2010 New Revision: 208978 URL: http://svn.freebsd.org/changeset/base/208978 Log: Use consistent naming. Added: vendor/llvm/llvm-r84119/ - copied from r208977, vendor/llvm/llvm-84119/ Deleted: vendor/llvm/llvm-84119/

svn commit: r208979 - in vendor/llvm: llvm-84176 llvm-r84176

2010-06-10 Thread Ed Schouten
Author: ed Date: Thu Jun 10 10:42:35 2010 New Revision: 208979 URL: http://svn.freebsd.org/changeset/base/208979 Log: Use consistent naming. Added: vendor/llvm/llvm-r84176/ - copied from r208978, vendor/llvm/llvm-84176/ Deleted: vendor/llvm/llvm-84176/

svn commit: r208980 - in vendor/clang: clang-84119 clang-r84119

2010-06-10 Thread Ed Schouten
Author: ed Date: Thu Jun 10 10:43:16 2010 New Revision: 208980 URL: http://svn.freebsd.org/changeset/base/208980 Log: Use consistent naming. Added: vendor/clang/clang-r84119/ - copied from r208979, vendor/clang/clang-84119/ Deleted: vendor/clang/clang-84119/

svn commit: r208981 - in vendor/clang: clang-84175 clang-r84175

2010-06-10 Thread Ed Schouten
Author: ed Date: Thu Jun 10 10:43:44 2010 New Revision: 208981 URL: http://svn.freebsd.org/changeset/base/208981 Log: Use consistent naming. Added: vendor/clang/clang-r84175/ - copied from r208980, vendor/clang/clang-84175/ Deleted: vendor/clang/clang-84175/

Re: svn commit: r208921 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-06-10 Thread Bruce Evans
On Tue, 8 Jun 2010, John Baldwin wrote: On Tuesday 08 June 2010 2:04:07 pm John Baldwin wrote: Log: Move the machine check support code to the x86 tree since it is identical on i386 and amd64. Requested by: alc It would be nice to consolidate machine/mca.h as that is identical on both

svn commit: r208983 - head/sys/kern

2010-06-10 Thread Ivan Voras
Author: ivoras Date: Thu Jun 10 11:48:14 2010 New Revision: 208983 URL: http://svn.freebsd.org/changeset/base/208983 Log: Unconfuse THREAD and SMT flags Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c

svn commit: r208984 - head/lib/clang

2010-06-10 Thread Ed Schouten
}/include -I${CLANG TARGET_ARCH?= ${MACHINE_ARCH} # XXX: 8.0, to keep __FreeBSD_cc_version happy -CFLAGS+=-DLLVM_HOSTTRIPLE=\${TARGET_ARCH}-undermydesk-freebsd9.0\ +CFLAGS+=-DLLVM_HOSTTRIPLE=\${TARGET_ARCH}-undermydesk-freebsd9.0\ \ + -DCLANG_VENDOR=\clang\ r104832\ 20100610\ [FreeBSD]\\n

svn commit: r208985 - head/lib/clang/include/llvm/Config

2010-06-10 Thread Ed Schouten
Author: ed Date: Thu Jun 10 12:15:09 2010 New Revision: 208985 URL: http://svn.freebsd.org/changeset/base/208985 Log: Disable usage of __DATE__. This ensures that the Clang binary doesn't change checksums every time it's built. Modified: head/lib/clang/include/llvm/Config/config.h

svn commit: r208986 - in head: share/man/man5 sys/sys usr.bin/ipcs

2010-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 10 14:19:51 2010 New Revision: 208986 URL: http://svn.freebsd.org/changeset/base/208986 Log: Make the char *n_name member of struct nlist 'const'. This avoids errors or __DECONST() from places with higher WARNS levels. Adjust a local cache variable in ipcs to

Re: svn commit: r208964 - in head: . etc/mtree lib share/mk usr.bin

2010-06-10 Thread M. Warner Losh
In message: 201006091957.o59jvkbu025...@svn.freebsd.org Roman Divacky rdiva...@freebsd.org writes: : Modified: head/share/mk/bsd.own.mk : == : --- head/share/mk/bsd.own.mk Wed Jun 9 19:32:20 2010

svn commit: r208987 - in head/contrib/llvm/tools/clang: include/clang/Analysis/Analyses include/clang/Basic include/clang/Driver lib/Analysis lib/Driver lib/Frontend lib/Sema

2010-06-10 Thread Roman Divacky
Author: rdivacky Date: Thu Jun 10 16:13:32 2010 New Revision: 208987 URL: http://svn.freebsd.org/changeset/base/208987 Log: Introduce -fformat-extensions. A local FreeBSD extension used for additional printf modifiers in kernel. Approved by: ed (mentor) Modified:

svn commit: r208988 - in head/sys: kern sys

2010-06-10 Thread Alexander Motin
Author: mav Date: Thu Jun 10 16:14:05 2010 New Revision: 208988 URL: http://svn.freebsd.org/changeset/base/208988 Log: Store interrupt trap frame into struct thread. It allows interrupt handler to obtain both trap frame and opaque argument submitted on registrction. After kernel and all

svn commit: r208989 - head/sys/netgraph

2010-06-10 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 10 16:45:30 2010 New Revision: 208989 URL: http://svn.freebsd.org/changeset/base/208989 Log: Style(9) fixes: * Sort includes * Replace #defineSPACE to #defineTAB * Split declarations and initializations * Split long lines Requested by: kib Approved by:

svn commit: r208990 - in head/sys: amd64/amd64 arm/arm i386/i386 i386/xen ia64/ia64 mips/mips powerpc/aim powerpc/booke sparc64/sparc64 sun4v/sun4v vm

2010-06-10 Thread Alan Cox
Author: alc Date: Thu Jun 10 16:56:35 2010 New Revision: 208990 URL: http://svn.freebsd.org/changeset/base/208990 Log: Reduce the scope of the page queues lock and the number of PG_REFERENCED changes in vm_pageout_object_deactivate_pages(). Simplify this function's inner loop using

svn commit: r208991 - head/sys/x86/x86

2010-06-10 Thread Alexander Motin
Author: mav Date: Thu Jun 10 17:04:01 2010 New Revision: 208991 URL: http://svn.freebsd.org/changeset/base/208991 Log: Do not disable edge-triggered interrupts before migration. DELAY() with interrupt disabled highly probable causes interrupt loss. Modified: head/sys/x86/x86/io_apic.c

svn commit: r208992 - head/sys/geom

2010-06-10 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 10 17:49:36 2010 New Revision: 208992 URL: http://svn.freebsd.org/changeset/base/208992 Log: Untangle g_print_bio(), silencing Coverity. Found with: Coverity Prevent CID: 3566, 3567 Modified: head/sys/geom/geom_io.c Modified:

svn commit: r208993 - stable/8/sys/dev/bge

2010-06-10 Thread Pyun YongHyeon
Author: yongari Date: Thu Jun 10 17:53:35 2010 New Revision: 208993 URL: http://svn.freebsd.org/changeset/base/208993 Log: MFC r208862: Fix a bug introduced in r199011. When bge(4) reuses loaded RX buffers it should also reinitialize RX descriptors otherwise some stale data could be

svn commit: r208994 - in head/sys: amd64/linux32 i386/linux

2010-06-10 Thread Alexander Kabaev
Author: kan Date: Thu Jun 10 17:59:47 2010 New Revision: 208994 URL: http://svn.freebsd.org/changeset/base/208994 Log: Do not require pos parameter to be zero in MAP_ANONYMOUS mmap requests in Linux emulation layer. Linux seems to only require that pos is page-aligned, but otherwise ignores

svn commit: r208995 - stable/7/sys/dev/bge

2010-06-10 Thread Pyun YongHyeon
Author: yongari Date: Thu Jun 10 18:04:25 2010 New Revision: 208995 URL: http://svn.freebsd.org/changeset/base/208995 Log: MFC r208862: Fix a bug introduced in r199011. When bge(4) reuses loaded RX buffers it should also reinitialize RX descriptors otherwise some stale data could be

svn commit: r208998 - in stable/8/release: ia64 picobsd/floppy.tree/sbin

2010-06-10 Thread Marcel Moolenaar
Author: marcel Date: Thu Jun 10 19:58:54 2010 New Revision: 208998 URL: http://svn.freebsd.org/changeset/base/208998 Log: MFC rev 208622: The EFI system partition used to make the CD image bootable is running out of space. Bump it up... Approved by: re (kensmith) Modified:

svn commit: r208999 - in head/contrib/llvm: Xcode cmake projects tools/clang/INPUTS tools/clang/clang.xcodeproj tools/clang/win32 unittests win32

2010-06-10 Thread Roman Divacky
Author: rdivacky Date: Thu Jun 10 19:59:23 2010 New Revision: 208999 URL: http://svn.freebsd.org/changeset/base/208999 Log: Remove Xcode cmake win32 projects unittests from LLVM and clang.xcodeproj INPUTS win32 from clang. Requested by: jkim Approved by: ed (mentor) Deleted:

svn commit: r209000 - stable/8/sys/dev/acpica

2010-06-10 Thread John Baldwin
Author: jhb Date: Thu Jun 10 20:01:33 2010 New Revision: 209000 URL: http://svn.freebsd.org/changeset/base/209000 Log: MFC 208925: The lock associated with the /dev/apm knote is already held, so use KNOTE_LOCKED() instead of KNOTE_UNLOCKED(). Approved by: re (kib) Modified:

svn commit: r209008 - stable/8/sys/dev/ath/ath_hal/ar5416

2010-06-10 Thread Rui Paulo
Author: rpaulo Date: Thu Jun 10 20:23:20 2010 New Revision: 209008 URL: http://svn.freebsd.org/changeset/base/209008 Log: MFC r208703: Fix an off by one in ar9285SetPowerCalTable(). Found with: Coverity Prevent(tm) CID: 3979 Approved by: re (kensmit) Modified:

svn commit: r208996 - stable/8/sys/powerpc/powerpc

2010-06-10 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Jun 10 19:11:00 2010 New Revision: 208996 URL: http://svn.freebsd.org/changeset/base/208996 Log: MFC r208835: Make sure that interrupt sense settings set after interrupts are enabled are respected. This fixes loading the Apple onboard audio driver (snd_ai2s)

svn commit: r209017 - head/usr.bin/gzip

2010-06-10 Thread Xin LI
Author: delphij Date: Thu Jun 10 20:59:28 2010 New Revision: 209017 URL: http://svn.freebsd.org/changeset/base/209017 Log: Several style fixes as prompted by b...@. While I'm there, loosen the st_nlink check and fix grammar for 1 extra links. Modified: head/usr.bin/gzip/gzip.c

svn commit: r209002 - stable/8/sys/kern

2010-06-10 Thread John Baldwin
Author: jhb Date: Thu Jun 10 20:04:44 2010 New Revision: 209002 URL: http://svn.freebsd.org/changeset/base/209002 Log: MFC 208912: Fix a sign bug that caused adaptive spinning in sx_xlock() to not work properly. Approved by: re (bz) Modified: stable/8/sys/kern/kern_sx.c Directory

svn commit: r209003 - stable/8/sys/nfsclient

2010-06-10 Thread John Baldwin
Author: jhb Date: Thu Jun 10 20:13:03 2010 New Revision: 209003 URL: http://svn.freebsd.org/changeset/base/209003 Log: MFC 208603,208605: More gracefully handle stale file handles and attributes when opening a file via NFS. Specifically, to satisfy close-to-open-consistency, the NFS

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

2010-06-10 Thread Randi Harper
Author: randi Date: Thu Jun 10 20:13:10 2010 New Revision: 209004 URL: http://svn.freebsd.org/changeset/base/209004 Log: Fix uninitialized variables that cause a crash when the network is initialized and sysinstall is not running as init. Submitted by: Nick Mills Approved by: cperciva

svn commit: r209005 - stable/7/sys/nfsclient

2010-06-10 Thread John Baldwin
Author: jhb Date: Thu Jun 10 20:13:23 2010 New Revision: 209005 URL: http://svn.freebsd.org/changeset/base/209005 Log: MFC 208603: More gracefully handle stale file handles and attributes when opening a file via NFS. Specifically, to satisfy close-to-open-consistency, the NFS client

svn commit: r209010 - stable/8/sys/dev/ath/ath_hal/ar5416

2010-06-10 Thread Rui Paulo
Author: rpaulo Date: Thu Jun 10 20:28:42 2010 New Revision: 209010 URL: http://svn.freebsd.org/changeset/base/209010 Log: MFC r208712: Rewrite ar9285SetBoardValues() to match what ath9k does and fix out of bounds reads. Approved by: re (kensmith) Modified:

svn commit: r209014 - in stable/8/sys/dev/ath/ath_hal: . ar5210 ar5211 ar5212 ar5312

2010-06-10 Thread Rui Paulo
Author: rpaulo Date: Thu Jun 10 20:51:13 2010 New Revision: 209014 URL: http://svn.freebsd.org/changeset/base/209014 Log: MFC r204644: Replace Id keyword with FreeBSD keyword and set the svn props correctly. No functional change. Approved by: re (bz) Modified:

svn commit: r209015 - stable/8/sys/dev/ath/ath_hal

2010-06-10 Thread Rui Paulo
Author: rpaulo Date: Thu Jun 10 20:54:53 2010 New Revision: 209015 URL: http://svn.freebsd.org/changeset/base/209015 Log: MFC r208642: Don't shadow the global variable 'version'. Submitted by: Arnaud Lacombe a...@netbsd.org Approved by: re (kensmith) Modified:

svn commit: r209013 - head/sys/net80211

2010-06-10 Thread Rui Paulo
Author: rpaulo Date: Thu Jun 10 20:40:38 2010 New Revision: 209013 URL: http://svn.freebsd.org/changeset/base/209013 Log: Add missing braces. Submitted by: sam MFC after:3 days Modified: head/sys/net80211/ieee80211_hwmp.c Modified: head/sys/net80211/ieee80211_hwmp.c

svn commit: r209020 - stable/7/bin/pax

2010-06-10 Thread Xin LI
Author: delphij Date: Thu Jun 10 22:46:12 2010 New Revision: 209020 URL: http://svn.freebsd.org/changeset/base/209020 Log: MFC r205940: Remove unused files. PR: bin/38256 Deleted: stable/7/bin/pax/cpio.1 stable/7/bin/pax/tar.1 Modified: stable/7/bin/pax/Makefile

svn commit: r209021 - stable/6/bin/pax

2010-06-10 Thread Xin LI
Author: delphij Date: Thu Jun 10 22:47:04 2010 New Revision: 209021 URL: http://svn.freebsd.org/changeset/base/209021 Log: MFC r205940: Remove unused files. PR: bin/38256 Deleted: stable/6/bin/pax/cpio.1 stable/6/bin/pax/tar.1 Modified: stable/6/bin/pax/Makefile

svn commit: r209011 - stable/8/sys/dev/ath/ath_hal/ar5211

2010-06-10 Thread Rui Paulo
Author: rpaulo Date: Thu Jun 10 20:34:22 2010 New Revision: 209011 URL: http://svn.freebsd.org/changeset/base/209011 Log: MFC r208644: Due to the way HALDEBUG() is defined, we need to add curly brackets when using it as a sole if clause instruction. While there, fix 'const static'

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

2010-06-10 Thread Matt Jacob
Author: mjacob Date: Thu Jun 10 19:38:07 2010 New Revision: 208997 URL: http://svn.freebsd.org/changeset/base/208997 Log: Don't pass a buffer directly as a printflike format string. Found by: clang MFC after:1 month Modified: head/sys/dev/isp/isp_library.c Modified:

svn commit: r209009 - in stable/8/sys/dev/ath/ath_hal: . ar5416

2010-06-10 Thread Rui Paulo
Author: rpaulo Date: Thu Jun 10 20:26:34 2010 New Revision: 209009 URL: http://svn.freebsd.org/changeset/base/209009 Log: MFC r208711: Bring in a couple of fixes from the Linux ath9k related to chip hangs. While there, try to make the register write pattern look like what's done by

svn commit: r209007 - stable/8/sys/net80211

2010-06-10 Thread Rui Paulo
Author: rpaulo Date: Thu Jun 10 20:20:46 2010 New Revision: 209007 URL: http://svn.freebsd.org/changeset/base/209007 Log: MFC r208699: Fix resource leaks in ieee80211_ioctl_setchanlist() in case of error. Found with: Coverity Prevent(tm) CID: 4115 Approved by: re

svn commit: r209001 - stable/7/sys/dev/acpica

2010-06-10 Thread John Baldwin
Author: jhb Date: Thu Jun 10 20:02:13 2010 New Revision: 209001 URL: http://svn.freebsd.org/changeset/base/209001 Log: MFC 208925: The lock associated with the /dev/apm knote is already held, so use KNOTE_LOCKED() instead of KNOTE_UNLOCKED(). Modified: stable/7/sys/dev/acpica/acpi.c

svn commit: r209012 - stable/8/sys/dev/ath/ath_hal/ar5210

2010-06-10 Thread Rui Paulo
Author: rpaulo Date: Thu Jun 10 20:36:30 2010 New Revision: 209012 URL: http://svn.freebsd.org/changeset/base/209012 Log: MFC r208643: Due to the way HALDEBUG() is defined, we need to add curly brackets when using it as a sole if clause instruction. Submitted by: Arnaud Lacombe

svn commit: r209016 - head/sys/net80211

2010-06-10 Thread Rui Paulo
Author: rpaulo Date: Thu Jun 10 20:58:34 2010 New Revision: 209016 URL: http://svn.freebsd.org/changeset/base/209016 Log: Some odd APs send beacons on the same TX queue as non-beacons. This breaks 802.11 duplicate detection. Upon looking at the standard, we discover that 802.11-2007 says:

svn commit: r209022 - head/sys/net80211

2010-06-10 Thread Tai-hwa Liang
Author: avatar Date: Fri Jun 11 01:32:42 2010 New Revision: 209022 URL: http://svn.freebsd.org/changeset/base/209022 Log: Fixing compilation bustage by adding the missing back. Modified: head/sys/net80211/ieee80211_sta.c Modified: head/sys/net80211/ieee80211_sta.c

svn commit: r209024 - head/share/mk

2010-06-10 Thread Warner Losh
Author: imp Date: Fri Jun 11 02:43:36 2010 New Revision: 209024 URL: http://svn.freebsd.org/changeset/base/209024 Log: Merge from tbemd branch: Introduce MACHINE_CPUARCH. Many different MACHINE_ARCHs will be built from one MACHINE_CPUARCH. This will allow us to move to a more

svn commit: r209025 - head/share/mk

2010-06-10 Thread Warner Losh
Author: imp Date: Fri Jun 11 02:50:53 2010 New Revision: 209025 URL: http://svn.freebsd.org/changeset/base/209025 Log: Merge from tbemd Enhance Makefile.inc processing, when asked for, to include the most specific (MACHINE specific) to least specific (MACHINE_CPUARCH). Reviewed by:

svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-10 Thread Marcel Moolenaar
Author: marcel Date: Fri Jun 11 03:00:32 2010 New Revision: 209026 URL: http://svn.freebsd.org/changeset/base/209026 Log: Bump MAX_BPAGES from 256 to 1024. It seems that a few drivers, bge(4) in particular, do not handle deferred DMA map load operations at all. Any error, and especially

svn commit: r209028 - stable/8/sys/netinet

2010-06-10 Thread Randall Stewart
Author: rrs Date: Fri Jun 11 03:13:19 2010 New Revision: 209028 URL: http://svn.freebsd.org/changeset/base/209028 Log: MFC: Fix a number of bugs and race conditions. r208160: Bring back of the iterator thread. It now properly handles VNETS having only one thread. The old timer

svn commit: r209029 - head/sys/netinet

2010-06-10 Thread Randall Stewart
Author: rrs Date: Fri Jun 11 03:54:00 2010 New Revision: 209029 URL: http://svn.freebsd.org/changeset/base/209029 Log: 3 Fixes - a) There was a case where a ICMP message could cause us to return leaving a stuck lock on an stcb. b) The iterator needed some tweaks to fix its lock

svn commit: r209030 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2010-06-10 Thread Alexander Kabaev
Author: kan Date: Fri Jun 11 04:38:14 2010 New Revision: 209030 URL: http://svn.freebsd.org/changeset/base/209030 Log: In dtrace lexer, do not unput token if it is EOF. This is harmless with OpenSolaris fex and yacc, but with FreeBSD causes '\xff' symbol to be physically put into input