svn commit: r259820 - stable/10/sbin/swapon

2013-12-24 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 24 13:46:54 2013 New Revision: 259820 URL: http://svnweb.freebsd.org/changeset/base/259820 Log: MFC r259677: swapon: Fix buffer overflow when configuring swap on GBDE. PR: bin/184950 Modified: stable/10/sbin/swapon/swapon.c Directory Properties:

svn commit: r259822 - in stable: 10/lib/clang 10/lib/clang/include 10/lib/clang/include/llvm/Config 10/lib/clang/libllvmpowerpcasmparser 10/usr.bin/clang/clang 10/usr.bin/clang/llc 10/usr.bin/clang...

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 14:26:31 2013 New Revision: 259822 URL: http://svnweb.freebsd.org/changeset/base/259822 Log: MFC r259473: Enable llvm's integrated assembler for PowerPC, since it should now be good enough for typical usage. Requested by: rdivacky Added:

svn commit: r259822 - in stable: 10/lib/clang 10/lib/clang/include 10/lib/clang/include/llvm/Config 10/lib/clang/libllvmpowerpcasmparser 10/usr.bin/clang/clang 10/usr.bin/clang/llc 10/usr.bin/clang...

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 14:26:31 2013 New Revision: 259822 URL: http://svnweb.freebsd.org/changeset/base/259822 Log: MFC r259473: Enable llvm's integrated assembler for PowerPC, since it should now be good enough for typical usage. Requested by: rdivacky Added:

svn commit: r259823 - head/sys/x86/acpica

2013-12-24 Thread John Baldwin
Author: jhb Date: Tue Dec 24 14:48:52 2013 New Revision: 259823 URL: http://svnweb.freebsd.org/changeset/base/259823 Log: Fix i386 build. Pointy hat to:jhb Modified: head/sys/x86/acpica/acpi_wakeup.c Modified: head/sys/x86/acpica/acpi_wakeup.c

svn commit: r259825 - head/sys/dev/advansys

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 15:56:16 2013 New Revision: 259825 URL: http://svnweb.freebsd.org/changeset/base/259825 Log: Remove unused static function adwccbstatus() from adw(4). Reviewed by: gibbs MFC after:3 days Modified: head/sys/dev/advansys/adwcam.c Modified:

svn commit: r259826 - head/usr.sbin/bhyve

2013-12-24 Thread John Baldwin
Author: jhb Date: Tue Dec 24 16:14:19 2013 New Revision: 259826 URL: http://svnweb.freebsd.org/changeset/base/259826 Log: Support soft power-off via the ACPI S5 state for bhyve guests. - Implement the PM1_EVT and PM1_CTL registers required by ACPI. The PM1_EVT register is mostly a dummy

svn commit: r259827 - head/sys/dev/aic7xxx

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 16:46:06 2013 New Revision: 259827 URL: http://svnweb.freebsd.org/changeset/base/259827 Log: Remove unused static const variable num_chip_names from aic79xx.c. Reviewed by: gibbs MFC after:3 days Modified: head/sys/dev/aic7xxx/aic79xx.c Modified:

svn commit: r259828 - head/sys/rpc

2013-12-24 Thread Alexander Motin
Author: mav Date: Tue Dec 24 17:28:27 2013 New Revision: 259828 URL: http://svnweb.freebsd.org/changeset/base/259828 Log: Fix a bug introduced at r259632, triggering infinite loop in some cases. Modified: head/sys/rpc/svc_vc.c Modified: head/sys/rpc/svc_vc.c

svn commit: r259829 - in stable/9/usr.bin: kdump truss

2013-12-24 Thread John Baldwin
Author: jhb Date: Tue Dec 24 18:41:17 2013 New Revision: 259829 URL: http://svnweb.freebsd.org/changeset/base/259829 Log: MFC 255493: - Decode the idtype argument passed to wait6() in kdump and truss. - Don't treat an options argument of 0 to wait4() as an error in kdump. - Decode the

svn commit: r259830 - head/sys/kern

2013-12-24 Thread Ed Schouten
Author: ed Date: Tue Dec 24 18:42:26 2013 New Revision: 259830 URL: http://svnweb.freebsd.org/changeset/base/259830 Log: Fix copy-pasting of CJK fullwidth characters. They are stored as two separate characters in the vtbuf, so copy-pasting will cause them to be passed to

svn commit: r259831 - stable/10/sys/arm/econa

2013-12-24 Thread John Baldwin
Author: jhb Date: Tue Dec 24 18:48:29 2013 New Revision: 259831 URL: http://svnweb.freebsd.org/changeset/base/259831 Log: MFC 258177: Remove an incorrectly copied and pasted clause from these license statements. Modified: stable/10/sys/arm/econa/uart_bus_ec.c

svn commit: r259832 - stable/9/sys/arm/econa

2013-12-24 Thread John Baldwin
Author: jhb Date: Tue Dec 24 18:49:24 2013 New Revision: 259832 URL: http://svnweb.freebsd.org/changeset/base/259832 Log: MFC 258177: Remove an incorrectly copied and pasted clause from these license statements. Modified: stable/9/sys/arm/econa/uart_bus_ec.c

svn commit: r259833 - head/sys/dev/aic7xxx

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 18:52:36 2013 New Revision: 259833 URL: http://svnweb.freebsd.org/changeset/base/259833 Log: Remove another unused static const variable num_chip_names, from aic7xxx.c this time. Noticed by: pluknet MFC after:3 days Modified:

svn commit: r259834 - stable/10/sys/kern

2013-12-24 Thread John Baldwin
Author: jhb Date: Tue Dec 24 19:01:08 2013 New Revision: 259834 URL: http://svnweb.freebsd.org/changeset/base/259834 Log: MFC 258869: Fix an off-by-one error in r228960. The maximum priority delta provided by SCHED_PRI_TICKS should be SCHED_PRI_RANGE - 1 so that the resulting priority

svn commit: r259835 - stable/9/sys/kern

2013-12-24 Thread John Baldwin
Author: jhb Date: Tue Dec 24 19:02:04 2013 New Revision: 259835 URL: http://svnweb.freebsd.org/changeset/base/259835 Log: MFC 258869: Fix an off-by-one error in r228960. The maximum priority delta provided by SCHED_PRI_TICKS should be SCHED_PRI_RANGE - 1 so that the resulting priority

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

2013-12-24 Thread John Baldwin
Author: jhb Date: Tue Dec 24 19:03:30 2013 New Revision: 259836 URL: http://svnweb.freebsd.org/changeset/base/259836 Log: MFC 258869: Fix an off-by-one error in r228960. The maximum priority delta provided by SCHED_PRI_TICKS should be SCHED_PRI_RANGE - 1 so that the resulting priority

svn commit: r259837 - in stable/10: sys/x86/include usr.sbin/bhyve

2013-12-24 Thread John Baldwin
Author: jhb Date: Tue Dec 24 19:10:56 2013 New Revision: 259837 URL: http://svnweb.freebsd.org/changeset/base/259837 Log: MFC 259013: Fix the processor table entry structure to use a fixed-width type for 32-bit fields so it is the correct size on amd64. Remove a workaround for the broken

svn commit: r259839 - head/sys/netinet

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 20:25:18 2013 New Revision: 259839 URL: http://svnweb.freebsd.org/changeset/base/259839 Log: In sys/netinet/in_mcast.c, inm_is_ifp_detached() is only used whenever KTR is defined, so put it between #ifdef KTR guards. This avoids a warning about a unused

svn commit: r259840 - head/sys/netinet6

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 20:30:13 2013 New Revision: 259840 URL: http://svnweb.freebsd.org/changeset/base/259840 Log: In sys/netinet6/in6_mcast.c, in6m_is_ifp_detached() is only used whenever KTR is defined, so put it between #ifdef KTR guards. This avoids a warning about a unused

svn commit: r259841 - in head/contrib/gcc: . config

2013-12-24 Thread Pedro F. Giffuni
Author: pfg Date: Tue Dec 24 20:42:48 2013 New Revision: 259841 URL: http://svnweb.freebsd.org/changeset/base/259841 Log: gcc: Add ability to generate DWARF pubtypes section if DEBUG_PUBTYPES_SECTION is defined. Obtained from:gcc 4.3 (rev. 118826; GPLv2) MFC after:2

svn commit: r259842 - head/sys/rpc

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 20:55:22 2013 New Revision: 259842 URL: http://svnweb.freebsd.org/changeset/base/259842 Log: Remove some unused static const strings under sys/rpc, which have never been used since the initial commit (r177633). MFC after:3 days Modified:

svn commit: r259843 - head/sys/rpc

2013-12-24 Thread Dimitry Andric
Author: dim Date: Tue Dec 24 20:57:26 2013 New Revision: 259843 URL: http://svnweb.freebsd.org/changeset/base/259843 Log: Move a static const variable to the #if 0 part where it is only used. (Note the #if 0 part has been inactive since the initial commit, r177633, so maybe it should be

svn commit: r259844 - head/bin/sh

2013-12-24 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 24 22:04:44 2013 New Revision: 259844 URL: http://svnweb.freebsd.org/changeset/base/259844 Log: sh: Remove an unused variable. Modified: head/bin/sh/var.c Modified: head/bin/sh/var.c ==

svn commit: r259845 - head/sys/fs/nfsserver

2013-12-24 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 24 22:24:17 2013 New Revision: 259845 URL: http://svnweb.freebsd.org/changeset/base/259845 Log: An intermittent problem with NFSv4 exporting of ZFS snapshots was reported to the freebsd-fs mailing list. I believe the problem was caused by the Readdir operation

svn commit: r259846 - in head/bin/sh: . tests/parameters

2013-12-24 Thread Jilles Tjoelker
Author: jilles Date: Tue Dec 24 22:38:24 2013 New Revision: 259846 URL: http://svnweb.freebsd.org/changeset/base/259846 Log: sh: Initialize OPTIND=1 even if it came from the environment. Added: head/bin/sh/tests/parameters/optind2.0 (contents, props changed) Modified:

svn commit: r259847 - stable/10/sys/kern

2013-12-24 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 24 23:23:44 2013 New Revision: 259847 URL: http://svnweb.freebsd.org/changeset/base/259847 Log: MFC r259520: Fix copy/paste typo. Modified: stable/10/sys/kern/kern_jail.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r259848 - stable/9/sys/kern

2013-12-24 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 24 23:26:59 2013 New Revision: 259848 URL: http://svnweb.freebsd.org/changeset/base/259848 Log: MFC r259520: Fix copy/paste typo. Modified: stable/9/sys/kern/kern_jail.c Directory Properties: stable/9/sys/ (props changed) Modified:

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

2013-12-24 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 24 23:50:35 2013 New Revision: 259849 URL: http://svnweb.freebsd.org/changeset/base/259849 Log: MFC r259520: Fix copy/paste typo. Modified: stable/8/sys/kern/kern_jail.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/kern/ (props

svn commit: r259850 - in head/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2013-12-24 Thread Xin LI
Author: delphij Date: Wed Dec 25 00:39:04 2013 New Revision: 259850 URL: http://svnweb.freebsd.org/changeset/base/259850 Log: MFV r258384: 2583 Add -p (parsable) option to zfs list illumos/illumos-gate@43d68d68c1ce08fb35026bebfb141af422e7082e MFC after:2 weeks Modified:

svn commit: r259851 - in stable: 10/gnu/lib/csu 9/gnu/lib/csu

2013-12-24 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 00:40:42 2013 New Revision: 259851 URL: http://svnweb.freebsd.org/changeset/base/259851 Log: MFC r259720: For gnu/lib/csu, only use gcc-specific flags when compiling with gcc. Modified: stable/10/gnu/lib/csu/Makefile Directory Properties: stable/10/

svn commit: r259851 - in stable: 10/gnu/lib/csu 9/gnu/lib/csu

2013-12-24 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 00:40:42 2013 New Revision: 259851 URL: http://svnweb.freebsd.org/changeset/base/259851 Log: MFC r259720: For gnu/lib/csu, only use gcc-specific flags when compiling with gcc. Modified: stable/9/gnu/lib/csu/Makefile Directory Properties:

svn commit: r259852 - in stable: 10/contrib/file 8/contrib/file 9/contrib/file

2013-12-24 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 00:48:08 2013 New Revision: 259852 URL: http://svnweb.freebsd.org/changeset/base/259852 Log: MFC r259724: Apply upstream commit 33312fd828e59c78ae4ee30fd70d0ca109748cf0 (by zoulasc) to contrib/file: don't write a char to a pointer. Modified:

svn commit: r259852 - in stable: 10/contrib/file 8/contrib/file 9/contrib/file

2013-12-24 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 00:48:08 2013 New Revision: 259852 URL: http://svnweb.freebsd.org/changeset/base/259852 Log: MFC r259724: Apply upstream commit 33312fd828e59c78ae4ee30fd70d0ca109748cf0 (by zoulasc) to contrib/file: don't write a char to a pointer. Modified:

svn commit: r259852 - in stable: 10/contrib/file 8/contrib/file 9/contrib/file

2013-12-24 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 00:48:08 2013 New Revision: 259852 URL: http://svnweb.freebsd.org/changeset/base/259852 Log: MFC r259724: Apply upstream commit 33312fd828e59c78ae4ee30fd70d0ca109748cf0 (by zoulasc) to contrib/file: don't write a char to a pointer. Modified:

svn commit: r259853 - stable/10/usr.bin/sort

2013-12-24 Thread Dimitry Andric
Author: dim Date: Wed Dec 25 00:53:48 2013 New Revision: 259853 URL: http://svnweb.freebsd.org/changeset/base/259853 Log: MFC r259740: In usr.bin/sort/radixsort.c, pop_ls_mt() is only referenced if SORT_THREADS is defined, so make the whole function conditional, instead of just the

svn commit: r259854 - in head/sys/fs: nfs nfsserver

2013-12-24 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 25 01:03:14 2013 New Revision: 259854 URL: http://svnweb.freebsd.org/changeset/base/259854 Log: The NFSv4 server would call VOP_SETATTR() with a shared locked vnode when a Getattr for a file is done by a client other than the one that holds the file's

svn commit: r259855 - head/usr.sbin/ndiscvt

2013-12-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 25 01:20:14 2013 New Revision: 259855 URL: http://svnweb.freebsd.org/changeset/base/259855 Log: We have in base iconv. PR: 185135 Submitted by: Lars Engels lars 0x20.net Modified: head/usr.sbin/ndiscvt/ndisgen.sh Modified:

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

2013-12-24 Thread Matt Jacob
Author: mjacob Date: Wed Dec 25 04:51:56 2013 New Revision: 259860 URL: http://svnweb.freebsd.org/changeset/base/259860 Log: Harvest one no longer used constant string. Remove another and place it into play in the normally ifdef protected zone it would be used int. Noticed by:

svn commit: r259859 - head/sys/netinet/libalias

2013-12-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 25 03:24:20 2013 New Revision: 259859 URL: http://svnweb.freebsd.org/changeset/base/259859 Log: Cleanup alias module handler register/unregister. - Remove locking, since all module(9) events are running under Giant. - Use TAILQ for protocol handlers and fix

svn commit: r259861 - stable/10/release

2013-12-24 Thread Glen Barber
Author: gjb Date: Wed Dec 25 06:09:07 2013 New Revision: 259861 URL: http://svnweb.freebsd.org/changeset/base/259861 Log: MFC r259729: Bootstrap etcupdate(8) as part of the release build, similar to what is done for mergemaster(8). This allows etcupdate(8) to work out-of-box after

svn commit: r259858 - head/sys/netinet/libalias

2013-12-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 25 02:06:57 2013 New Revision: 259858 URL: http://svnweb.freebsd.org/changeset/base/259858 Log: Kill space at eols. Modified: head/sys/netinet/libalias/alias_cuseeme.c head/sys/netinet/libalias/alias_dummy.c head/sys/netinet/libalias/alias_irc.c

svn commit: r259862 - stable/9/release

2013-12-24 Thread Glen Barber
Author: gjb Date: Wed Dec 25 06:09:31 2013 New Revision: 259862 URL: http://svnweb.freebsd.org/changeset/base/259862 Log: MFC r259729: Bootstrap etcupdate(8) as part of the release build, similar to what is done for mergemaster(8). This allows etcupdate(8) to work out-of-box after

svn commit: r259857 - head/sys/netinet/libalias

2013-12-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 25 01:58:19 2013 New Revision: 259857 URL: http://svnweb.freebsd.org/changeset/base/259857 Log: Remove from kernel the dll code. Modified: head/sys/netinet/libalias/alias_mod.c head/sys/netinet/libalias/alias_mod.h Modified:

svn commit: r259863 - in head/sys/amd64: include vmm vmm/amd vmm/intel vmm/io

2013-12-24 Thread Neel Natu
Author: neel Date: Wed Dec 25 06:46:31 2013 New Revision: 259863 URL: http://svnweb.freebsd.org/changeset/base/259863 Log: vlapic code restructuring to make it easy to support hardware-assist for APIC emulation. The vlapic initialization and cleanup is done via processor specific

svn commit: r259856 - head/sys/netinet/libalias

2013-12-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 25 01:52:55 2013 New Revision: 259856 URL: http://svnweb.freebsd.org/changeset/base/259856 Log: Whitespace cleanup. Modified: head/sys/netinet/libalias/alias_mod.c head/sys/netinet/libalias/alias_mod.h Modified: head/sys/netinet/libalias/alias_mod.c