Re: svn commit: r246134 - head/sbin/devd

2013-01-30 Thread Ian Lepore
On Thu, 2013-01-31 at 01:26 +, Alexey Dokuchaev wrote: > On Wed, Jan 30, 2013 at 11:37:36PM +, Ian Lepore wrote: > > New Revision: 246134 > > URL: http://svnweb.freebsd.org/changeset/base/246134 > > > > Log: > > Improve devd startup time, by tweaking some string handling routines [...] >

Re: svn commit: r246134 - head/sbin/devd

2013-01-30 Thread Alexey Dokuchaev
On Wed, Jan 30, 2013 at 11:37:36PM +, Ian Lepore wrote: > New Revision: 246134 > URL: http://svnweb.freebsd.org/changeset/base/246134 > > Log: > Improve devd startup time, by tweaking some string handling routines [...] > > On a 1.2 GHz ARM processor this reduces the time to parse the c

svn commit: r246142 - stable/9/usr.bin/truss

2013-01-30 Thread Mateusz Guzik
Author: mjg Date: Thu Jan 31 01:15:12 2013 New Revision: 246142 URL: http://svnweb.freebsd.org/changeset/base/246142 Log: MFC r245956: truss: if file requested with -o flag could not be opened print the reason Modified: stable/9/usr.bin/truss/main.c Directory Properties: stable/9/usr.bin/

Re: svn commit: r246139 - head/libexec/tftpd

2013-01-30 Thread Sean Bruno
On Thu, 2013-01-31 at 00:02 +, Marius Strobl wrote: > Author: marius > Date: Thu Jan 31 00:02:36 2013 > New Revision: 246139 > URL: http://svnweb.freebsd.org/changeset/base/246139 > > Log: > Mark tftp_log() as __printflike() (which would have caught the bug > fixed in r246106) and deal wit

svn commit: r246141 - head/sys/dev/ath

2013-01-30 Thread Adrian Chadd
Author: adrian Date: Thu Jan 31 00:14:25 2013 New Revision: 246141 URL: http://svnweb.freebsd.org/changeset/base/246141 Log: Work around some rather unfortunate race conditions inside net80211. Right now, ic_curchan seems to be updated rather quickly (ie, during the ioctl) and before the

svn commit: r246139 - head/libexec/tftpd

2013-01-30 Thread Marius Strobl
Author: marius Date: Thu Jan 31 00:02:36 2013 New Revision: 246139 URL: http://svnweb.freebsd.org/changeset/base/246139 Log: Mark tftp_log() as __printflike() (which would have caught the bug fixed in r246106) and deal with the fallout. MFC after:2 weeks Modified: head/libexec/tftp

Re: svn commit: r246120 - in head: include lib/libc/stdio tools/regression/lib/libc/stdio

2013-01-30 Thread Jilles Tjoelker
On Wed, Jan 30, 2013 at 02:59:26PM +, Pietro Cerutti wrote: > Author: gahr (ports committer) > Date: Wed Jan 30 14:59:26 2013 > New Revision: 246120 > URL: http://svnweb.freebsd.org/changeset/base/246120 > Log: > Add fmemopen(3), an interface to get a FILE * from a buffer in memory, along >

svn commit: r246135 - head/sys/boot/uboot/common

2013-01-30 Thread Ian Lepore
Author: ian Date: Wed Jan 30 23:49:36 2013 New Revision: 246135 URL: http://svnweb.freebsd.org/changeset/base/246135 Log: Do metadata relocation fixup on all loaded modules, not just the kernel. Approved by: cognet (mentor) Modified: head/sys/boot/uboot/common/metadata.c Modified: head

svn commit: r246134 - head/sbin/devd

2013-01-30 Thread Ian Lepore
Author: ian Date: Wed Jan 30 23:37:35 2013 New Revision: 246134 URL: http://svnweb.freebsd.org/changeset/base/246134 Log: Improve devd startup time, by tweaking some string handling routines that are heavily used when parsing config files. Mostly these changes avoid making temporary copies

Re: svn commit: r246129 - head/usr.sbin/tcpdrop

2013-01-30 Thread John Baldwin
On Wednesday, January 30, 2013 2:29:09 pm Andrey Zonov wrote: > On 1/30/13 10:24 PM, John Baldwin wrote: > > Author: jhb > > Date: Wed Jan 30 18:24:29 2013 > > New Revision: 246129 > > URL: http://svnweb.freebsd.org/changeset/base/246129 > > > > Log: > > Allow the address and ports to be separat

svn commit: r246131 - head/share/mk

2013-01-30 Thread Dimitry Andric
Author: dim Date: Wed Jan 30 19:51:16 2013 New Revision: 246131 URL: http://svnweb.freebsd.org/changeset/base/246131 Log: Fix a problem introduced in r231057: in bsd.own.mk, move the test for whether clang is enabled to just after the last place where it could have been forced to "no".

Re: svn commit: r246129 - head/usr.sbin/tcpdrop

2013-01-30 Thread Andrey Zonov
On 1/30/13 10:24 PM, John Baldwin wrote: > Author: jhb > Date: Wed Jan 30 18:24:29 2013 > New Revision: 246129 > URL: http://svnweb.freebsd.org/changeset/base/246129 > > Log: > Allow the address and ports to be separated by a colon or period rather > than a space to permit directly pasting the

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

2013-01-30 Thread Gleb Smirnoff
Author: glebius Date: Wed Jan 30 18:40:19 2013 New Revision: 246130 URL: http://svnweb.freebsd.org/changeset/base/246130 Log: Utilize m_get2() to get mbuf of appropriate size. Modified: head/sys/netinet/libalias/alias.c Modified: head/sys/netinet/libalias/alias.c

svn commit: r246129 - head/usr.sbin/tcpdrop

2013-01-30 Thread John Baldwin
Author: jhb Date: Wed Jan 30 18:24:29 2013 New Revision: 246129 URL: http://svnweb.freebsd.org/changeset/base/246129 Log: Allow the address and ports to be separated by a colon or period rather than a space to permit directly pasting the output of commands such as netstat and sockstat on the

svn commit: r246128 - in head/sys/dev: acpi_support acpica adlink amdsbwd amdtemp auxio ce cfi coretemp cp cpufreq ctau cx digi e1000 ep fdc iicbus ixgb ixgbe mfi mn mxge my nvram2env nxge oce sdhc...

2013-01-30 Thread Sofian Brabez
Author: sbz (ports committer) Date: Wed Jan 30 18:01:20 2013 New Revision: 246128 URL: http://svnweb.freebsd.org/changeset/base/246128 Log: Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays Reviewed by: cognet Approved by: cognet Modifie

svn commit: r246127 - head/etc

2013-01-30 Thread Brooks Davis
Author: brooks Date: Wed Jan 30 17:39:43 2013 New Revision: 246127 URL: http://svnweb.freebsd.org/changeset/base/246127 Log: When adding the directory ownership to the METALOG do it by name rather than number as is done in install so as to differ binding of names to ids. Remove the -W f

Re: svn commit: r246120 - in head: include lib/libc/stdio tools/regression/lib/libc/stdio

2013-01-30 Thread John Baldwin
On Wednesday, January 30, 2013 9:59:26 am Pietro Cerutti wrote: > Author: gahr (ports committer) > Date: Wed Jan 30 14:59:26 2013 > New Revision: 246120 > URL: http://svnweb.freebsd.org/changeset/base/246120 > > Log: > Add fmemopen(3), an interface to get a FILE * from a buffer in memory, along

svn commit: r246126 - head/sys/dev/usb/controller

2013-01-30 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jan 30 16:08:05 2013 New Revision: 246126 URL: http://svnweb.freebsd.org/changeset/base/246126 Log: Do not unnecessarily split a string literal, because splitting it makes it hard to grep. Submitted by: Christoph Mallon Modified: head/sys/dev/usb/controller/x

svn commit: r246125 - in head/sys/dev/usb: controller template

2013-01-30 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jan 30 16:05:54 2013 New Revision: 246125 URL: http://svnweb.freebsd.org/changeset/base/246125 Log: Use string literals in string descriptors for marginally better readability. Submitted by: Christoph Mallon Modified: head/sys/dev/usb/controller/at91dci.c h

svn commit: r246124 - head/sys/dev/usb

2013-01-30 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jan 30 15:49:37 2013 New Revision: 246124 URL: http://svnweb.freebsd.org/changeset/base/246124 Log: Use an anonymous struct for generated string descriptors. Submitted by: Christoph Mallon Modified: head/sys/dev/usb/usb.h Modified: head/sys/dev/usb/usb.h =

svn commit: r246123 - in head/sys/dev/usb: . controller template

2013-01-30 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jan 30 15:46:26 2013 New Revision: 246123 URL: http://svnweb.freebsd.org/changeset/base/246123 Log: Provide one global language string descriptor for american english instead of giving each module its own. Submitted by: Christoph Mallon Modified: head/sys/d

svn commit: r246122 - in head/sys/dev/usb: . controller storage template

2013-01-30 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jan 30 15:26:04 2013 New Revision: 246122 URL: http://svnweb.freebsd.org/changeset/base/246122 Log: Modify the FreeBSD USB kernel code so that it can be compiled directly into the FreeBSD boot loader, typically for non-USB aware BIOSes, EFI systems or embedded plat

svn commit: r246121 - head/sbin/devd

2013-01-30 Thread Ian Lepore
Author: ian Date: Wed Jan 30 15:21:18 2013 New Revision: 246121 URL: http://svnweb.freebsd.org/changeset/base/246121 Log: Fix a descriptor leak in devd. Clients reading /var/run/devd.pipe can close their socket connection any time, and devd only notices that when it gets an error trying to

svn commit: r246120 - in head: include lib/libc/stdio tools/regression/lib/libc/stdio

2013-01-30 Thread Pietro Cerutti
Author: gahr (ports committer) Date: Wed Jan 30 14:59:26 2013 New Revision: 246120 URL: http://svnweb.freebsd.org/changeset/base/246120 Log: Add fmemopen(3), an interface to get a FILE * from a buffer in memory, along with the respective regression test. See http://pubs.opengroup.org/onlinep

svn commit: r246119 - head/tools/test/pthread_vfork

2013-01-30 Thread Konstantin Belousov
Author: kib Date: Wed Jan 30 13:14:34 2013 New Revision: 246119 URL: http://svnweb.freebsd.org/changeset/base/246119 Log: Rework the handling of the children for the pthread_vfork_test. The trivial handler for SIGCHLD is installed, and SIGCHLD is blocked, to not abandon our zombies to init(

svn commit: r246118 - head/sys/kern

2013-01-30 Thread Konstantin Belousov
Author: kib Date: Wed Jan 30 13:14:15 2013 New Revision: 246118 URL: http://svnweb.freebsd.org/changeset/base/246118 Log: The case of pid == WAIT_MYPGRP for the kern_wait() is already handled in kern_wait6(), which is called by kern_wait(). Remove the redundand check, introduced in r243136,

svn commit: r246117 - in head: lib/libc/amd64/sys lib/libc/arm/sys lib/libc/i386/sys lib/libc/ia64/sys lib/libc/mips/sys lib/libc/powerpc lib/libc/powerpc/sys lib/libc/powerpc64 lib/libc/powerpc64/...

2013-01-30 Thread Konstantin Belousov
Author: kib Date: Wed Jan 30 12:48:16 2013 New Revision: 246117 URL: http://svnweb.freebsd.org/changeset/base/246117 Log: Rework the __vdso_* symbols attributes to only make the symbols weak, but use normal references instead of weak. This makes the statically linked binaries to use fast ge

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

2013-01-30 Thread Konstantin Belousov
Author: kib Date: Wed Jan 30 12:43:10 2013 New Revision: 246116 URL: http://svnweb.freebsd.org/changeset/base/246116 Log: Reduce default shift used to calculate the max frequency for the TSC timecounter to 1, and correspondingly increase the precision of the gettimeofday(2) and related funct

svn commit: r246115 - head/sys/dev/usb

2013-01-30 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jan 30 10:59:42 2013 New Revision: 246115 URL: http://svnweb.freebsd.org/changeset/base/246115 Log: Add missing header file inclusion guard. Modified: head/sys/dev/usb/ufm_ioctl.h Modified: head/sys/dev/usb/ufm_ioctl.h ==

svn commit: r246114 - head

2013-01-30 Thread Gabor Kovesdan
Author: gabor Date: Wed Jan 30 10:23:38 2013 New Revision: 246114 URL: http://svnweb.freebsd.org/changeset/base/246114 Log: - Fix typo Submitted by: jkim Modified: head/UPDATING Modified: head/UPDATING == --- he

Re: svn commit: r246016 - head/sys/dev/uart

2013-01-30 Thread Ronald Klop
On Mon, 28 Jan 2013 00:33:43 +0100, Colin Percival wrote: Author: cperciva Date: Sun Jan 27 23:33:42 2013 New Revision: 246016 URL: http://svnweb.freebsd.org/changeset/base/246016 Log: Add a loader tunable "hw.broken_txfifo" which enables a workaround for a bug in old versions of QEMU

Re: svn commit: r246032 - in head/sys: sys vm

2013-01-30 Thread Ronald Klop
On Mon, 28 Jan 2013 13:54:53 +0100, Andrey Zonov wrote: Author: zont Date: Mon Jan 28 12:54:53 2013 New Revision: 246032 URL: http://svnweb.freebsd.org/changeset/base/246032 Log: - Add system wide page faults requiring I/O counter. Reviewed by: alc MFC after:2 weeks Sounds very us