Re: svn commit: r276008 - in head/sys: kern sys

2014-12-22 Thread Rui Paulo
On Dec 22, 2014, at 23:03, Andriy Gapon wrote: > > On 23/12/2014 04:39, Rui Paulo wrote: >> On Dec 22, 2014, at 11:17, John Baldwin wrote: >>> >>> On Monday, December 22, 2014 1:29:38 pm Rui Paulo wrote: On Dec 22, 2014, at 06:40, John Baldwin wrote: > Is there something specific to c

Re: svn commit: r276008 - in head/sys: kern sys

2014-12-22 Thread Andriy Gapon
On 23/12/2014 04:39, Rui Paulo wrote: > On Dec 22, 2014, at 11:17, John Baldwin wrote: >> >> On Monday, December 22, 2014 1:29:38 pm Rui Paulo wrote: >>> On Dec 22, 2014, at 06:40, John Baldwin wrote: Is there something specific to core dumps that makes vn_fullpath() more useful to have

svn commit: r276106 - head/sys/dev/mmc

2014-12-22 Thread Warner Losh
Author: imp Date: Tue Dec 23 05:50:53 2014 New Revision: 276106 URL: https://svnweb.freebsd.org/changeset/base/276106 Log: Always select the card before we do the 4.x specific stuff and deselect it after setting the block size. This is a similar bug that was fixed elsewhere, but not here. Th

svn commit: r276101 - head/sys/boot/fdt/dts/arm

2014-12-22 Thread Rui Paulo
Author: rpaulo Date: Tue Dec 23 03:00:18 2014 New Revision: 276101 URL: https://svnweb.freebsd.org/changeset/base/276101 Log: Temporarily disable the cpus directive until I figure out what's wrong. Modified: head/sys/boot/fdt/dts/arm/rpi.dts Modified: head/sys/boot/fdt/dts/arm/rpi.dts ==

Re: svn commit: r276008 - in head/sys: kern sys

2014-12-22 Thread Rui Paulo
On Dec 22, 2014, at 11:17, John Baldwin wrote: > > On Monday, December 22, 2014 1:29:38 pm Rui Paulo wrote: >> On Dec 22, 2014, at 06:40, John Baldwin wrote: >>> Is there something specific to core dumps that makes vn_fullpath() more >>> useful to have working before a process tries to open the

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

2014-12-22 Thread Neel Natu
Author: neel Date: Tue Dec 23 02:14:49 2014 New Revision: 276098 URL: https://svnweb.freebsd.org/changeset/base/276098 Log: Allow ktr(4) tracing of all guest exceptions via the tunable "hw.vmm.trace_guest_exceptions". To enable this feature set the tunable to "1" before loading vmm.ko.

svn commit: r276097 - head

2014-12-22 Thread Rick Macklem
debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20141222: + The old NFS client and server (kernel options NFSCLIENT, NFSSERVER) + kernel sources have been removed. The .h files remain, since some + utilities include them.

svn commit: r276096 - in head/sys: arm/conf conf fs/nfs fs/nfsclient modules modules/dtrace modules/dtrace/dtnfsclient modules/dtrace/dtraceall modules/nfs_common modules/nfsclient modules/nfsserve...

2014-12-22 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 23 00:47:46 2014 New Revision: 276096 URL: https://svnweb.freebsd.org/changeset/base/276096 Log: Remove the old NFS client and server from head, which means that the NFSCLIENT and NFSSERVER kernel options will no longer work. This commit only removes the kern

svn commit: r276095 - head/usr.sbin/freebsd-update

2014-12-22 Thread Dag-Erling Smørgrav
Author: des Date: Mon Dec 22 23:03:18 2014 New Revision: 276095 URL: https://svnweb.freebsd.org/changeset/base/276095 Log: Use "RCS tag" instead of "$FreeBSD$ tag", since svn will obediently expand the latter. MFC after:3 days Modified: head/usr.sbin/freebsd-update/freebsd-update.s

svn commit: r276087 - in head/sys/boot: common forth

2014-12-22 Thread Ian Lepore
Author: ian Date: Mon Dec 22 22:07:22 2014 New Revision: 276087 URL: https://svnweb.freebsd.org/changeset/base/276087 Log: Add a new loader(8) variable, twiddle_divisor, allowing control over the output frequency of the "twiddle" IO progress indicator. The default value is 1. For larger va

svn commit: r276086 - head/usr.sbin/freebsd-update

2014-12-22 Thread Colin Percival
Author: cperciva Date: Mon Dec 22 21:52:37 2014 New Revision: 276086 URL: https://svnweb.freebsd.org/changeset/base/276086 Log: Strip trailing / characters from paths in "not present" index entries, not just "directory" entries. Prior to this commit, if / was added as part of a security u

svn commit: r276083 - head/etc

2014-12-22 Thread Dmitry Morozovsky
Author: marck (doc committer) Date: Mon Dec 22 21:26:49 2014 New Revision: 276083 URL: https://svnweb.freebsd.org/changeset/base/276083 Log: Add VAMI (VMware Appliance Management Interface) port. Reviewed by: eadler MFC after:2 weeks Modified: head/etc/services Modified: head/etc

svn commit: r276079 - head/lib/libstand

2014-12-22 Thread Ian Lepore
Author: ian Date: Mon Dec 22 20:42:36 2014 New Revision: 276079 URL: https://svnweb.freebsd.org/changeset/base/276079 Log: Add a divisor parameter to twiddle() so that callers can request that output only happen on every Nth call. Update the existing twiddle() calls done in various IO loops

Re: svn commit: r276008 - in head/sys: kern sys

2014-12-22 Thread John Baldwin
On Monday, December 22, 2014 1:29:38 pm Rui Paulo wrote: > On Dec 22, 2014, at 06:40, John Baldwin wrote: > > Is there something specific to core dumps that makes vn_fullpath() more > > useful to have working before a process tries to open the core? (As > > compared to other newly-created files)

Re: svn commit: r276065 - head/sys/dev/ipmi

2014-12-22 Thread John Baldwin
On Monday, December 22, 2014 11:53:05 am John Baldwin wrote: > Author: jhb > Date: Mon Dec 22 16:53:04 2014 > New Revision: 276065 > URL: https://svnweb.freebsd.org/changeset/base/276065 > > Log: > Explicitly treat timeouts when waiting for IBF or OBF to change state as an > error. This fixes

svn commit: r276075 - head/sys/conf

2014-12-22 Thread Warner Losh
Author: imp Date: Mon Dec 22 19:10:21 2014 New Revision: 276075 URL: https://svnweb.freebsd.org/changeset/base/276075 Log: Don't require ${SYSDIR}/../COPYRIGHT to exist. Fall back to the current date if we can't find it. MFC After: 2 weeks Modified: head/sys/conf/newvers.sh Modified:

svn commit: r276074 - head/sys/boot/i386/libi386

2014-12-22 Thread Warner Losh
Author: imp Date: Mon Dec 22 19:10:11 2014 New Revision: 276074 URL: https://svnweb.freebsd.org/changeset/base/276074 Log: Make this compile when TERM_EMU is not defined. Modified: head/sys/boot/i386/libi386/spinconsole.c Modified: head/sys/boot/i386/libi386/spinconsole.c ===

svn commit: r276071 - in head/contrib/ntp: ntpd util

2014-12-22 Thread Xin LI
Author: delphij Date: Mon Dec 22 18:54:55 2014 New Revision: 276071 URL: https://svnweb.freebsd.org/changeset/base/276071 Log: Fix multiple ntp vulnerabilities. Reviewed by: roberto (earlier revision), philip Security: CVE-2014-9293, CVE-2014-9294 Security: CVE-2014-9295, CVE-2

Re: svn commit: r276008 - in head/sys: kern sys

2014-12-22 Thread Adrian Chadd
On 22 December 2014 at 09:28, Konstantin Belousov wrote: > On Mon, Dec 22, 2014 at 09:40:02AM -0500, John Baldwin wrote: >> On Sunday, December 21, 2014 11:21:17 am Andriy Gapon wrote: >> > On 21/12/2014 17:14, Konstantin Belousov wrote: >> > > On Sun, Dec 21, 2014 at 04:45:28PM +0200, Andriy Gapo

svn commit: r276069 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2014-12-22 Thread Steven Hartland
Author: smh Date: Mon Dec 22 18:39:38 2014 New Revision: 276069 URL: https://svnweb.freebsd.org/changeset/base/276069 Log: Fix panic when resizing ZFS zvol's Resizing a ZFS ZVOL with debug enabled would result in a panic due to recursion on dp_config_rwlock. The upstream change "3464

Re: svn commit: r276008 - in head/sys: kern sys

2014-12-22 Thread Rui Paulo
On Dec 22, 2014, at 06:40, John Baldwin wrote: > Is there something specific to core dumps that makes vn_fullpath() more > useful to have working before a process tries to open the core? (As > compared to other newly-created files) Yes: the ability to provide the full path to userland when a cor

Re: svn commit: r276008 - in head/sys: kern sys

2014-12-22 Thread Konstantin Belousov
On Mon, Dec 22, 2014 at 09:40:02AM -0500, John Baldwin wrote: > On Sunday, December 21, 2014 11:21:17 am Andriy Gapon wrote: > > On 21/12/2014 17:14, Konstantin Belousov wrote: > > > On Sun, Dec 21, 2014 at 04:45:28PM +0200, Andriy Gapon wrote: > > >> On 21/12/2014 16:41, Konstantin Belousov wrote:

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

2014-12-22 Thread Steven Hartland
Author: smh Date: Mon Dec 22 17:04:51 2014 New Revision: 276066 URL: https://svnweb.freebsd.org/changeset/base/276066 Log: Refactor zvol locking to minimise diff with upstream Use #define zfsdev_state_lock spa_namespace_lock instead of replacing all zfsdev_state_lock with spa_namespace_lo

svn commit: r276065 - head/sys/dev/ipmi

2014-12-22 Thread John Baldwin
Author: jhb Date: Mon Dec 22 16:53:04 2014 New Revision: 276065 URL: https://svnweb.freebsd.org/changeset/base/276065 Log: Explicitly treat timeouts when waiting for IBF or OBF to change state as an error. This fixes occasional hangs in the IPMI kcs thread when using ipmitool locally.

svn commit: r276064 - in head/sys/dev/vt/hw: efifb vga

2014-12-22 Thread Roger Pau Monné
Author: royger Date: Mon Dec 22 16:46:07 2014 New Revision: 276064 URL: https://svnweb.freebsd.org/changeset/base/276064 Log: vt: register the memory regions used by the vt drivers Current VT drivers don't register the memory regions they use with the nexus. This patch makes vt_vga and vt

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

2014-12-22 Thread Steven Hartland
Author: smh Date: Mon Dec 22 16:38:29 2014 New Revision: 276063 URL: https://svnweb.freebsd.org/changeset/base/276063 Log: Standardise on illumos for #ifdef's in zvol.c Also correct as per style(9) on the use of #ifdef comments. This is a no-op change as pre-cursor to a full cleanup an

svn commit: r276062 - in head/contrib/elftoolchain: common readelf

2014-12-22 Thread Ed Maste
Author: emaste Date: Mon Dec 22 16:34:59 2014 New Revision: 276062 URL: https://svnweb.freebsd.org/changeset/base/276062 Log: Add AArch64 machine time and relocations for readelf Reviewed by: andrew Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org

svn commit: r276061 - head/contrib/elftoolchain/elfcopy

2014-12-22 Thread Ed Maste
Author: emaste Date: Mon Dec 22 16:31:09 2014 New Revision: 276061 URL: https://svnweb.freebsd.org/changeset/base/276061 Log: Set up default shstrtab entries at shstrtab initialization Instead of waiting until the addition of the first non-default entry. This fixes a segfault when strip(1

svn commit: r276060 - head/sys/arm/ti

2014-12-22 Thread Luiz Otavio O Souza
Author: loos Date: Mon Dec 22 16:29:15 2014 New Revision: 276060 URL: https://svnweb.freebsd.org/changeset/base/276060 Log: Remove some leftovers from OMAP3 support. Modified: head/sys/arm/ti/ti_gpio.c Modified: head/sys/arm/ti/ti_gpio.c ==

svn commit: r276059 - head/sys/arm/ti

2014-12-22 Thread Luiz Otavio O Souza
Author: loos Date: Mon Dec 22 16:12:55 2014 New Revision: 276059 URL: https://svnweb.freebsd.org/changeset/base/276059 Log: Simplify the use of locks where possible, remove the locking when it is not required. Simplify the code a little bit. Reviewed by: andrew (previous version) M

svn commit: r276058 - head/sys/kern

2014-12-22 Thread Gleb Smirnoff
Author: glebius Date: Mon Dec 22 15:39:24 2014 New Revision: 276058 URL: https://svnweb.freebsd.org/changeset/base/276058 Log: In sbappend*() family of functions clear M_PROTO flags of incoming mbufs. sbappendstream() already does this in m_demote(). PR: 196174 Sponsored by: N

Re: svn commit: r275819 - in head/lib/msun: ld128 ld80 src

2014-12-22 Thread Ed Schouten
Hey Steve, 2014-12-19 0:59 GMT+01:00 Steve Kargl : > My only hope now is that Ed will fix the comment he inserted into > math_private.h to properly note that the functions formerly known > as cpack[fl] were written years before the C11 macros CMPLX[FL] > existed. Sure thing! Just to make sure th

Re: svn commit: r276008 - in head/sys: kern sys

2014-12-22 Thread John Baldwin
On Sunday, December 21, 2014 11:21:17 am Andriy Gapon wrote: > On 21/12/2014 17:14, Konstantin Belousov wrote: > > On Sun, Dec 21, 2014 at 04:45:28PM +0200, Andriy Gapon wrote: > >> On 21/12/2014 16:41, Konstantin Belousov wrote: > >>> Or, are you asking why caching of the name could be needed for

svn commit: r276056 - head/sys/vm

2014-12-22 Thread Gleb Smirnoff
Author: glebius Date: Mon Dec 22 09:02:21 2014 New Revision: 276056 URL: https://svnweb.freebsd.org/changeset/base/276056 Log: Add flag VM_ALLOC_NOWAIT for vm_page_grab() that prevents sleeping and allows the function to fail. Reviewed by: kib, alc Sponsored by: Nginx, Inc. Modified:

svn commit: r276055 - head/sys/vm

2014-12-22 Thread Gleb Smirnoff
Author: glebius Date: Mon Dec 22 09:00:47 2014 New Revision: 276055 URL: https://svnweb.freebsd.org/changeset/base/276055 Log: Do not clear flag that vm_page_alloc() doesn't support. Submitted by: kib Modified: head/sys/vm/vm_page.c Modified: head/sys/vm/vm_page.c ==

svn commit: r276054 - head/sys/vm

2014-12-22 Thread Gleb Smirnoff
Author: glebius Date: Mon Dec 22 08:59:44 2014 New Revision: 276054 URL: https://svnweb.freebsd.org/changeset/base/276054 Log: Document flags of vm_page allocation functions. Reviewed by: alc Modified: head/sys/vm/vm_page.h Modified: head/sys/vm/vm_page.h ==