svn commit: r240804 - head/sys/dev/usb/net

2012-09-22 Thread Hans Petter Selasky
Author: hselasky Date: Sat Sep 22 07:27:24 2012 New Revision: 240804 URL: http://svn.freebsd.org/changeset/base/240804 Log: Apply correct casting. Modified: head/sys/dev/usb/net/if_smsc.c Modified: head/sys/dev/usb/net/if_smsc.c ===

svn commit: r240805 - head/sys/conf

2012-09-22 Thread Rui Paulo
Author: rpaulo Date: Sat Sep 22 07:44:36 2012 New Revision: 240805 URL: http://svn.freebsd.org/changeset/base/240805 Log: Improve the check for p4 opened files. Now we only search for opened files in ${SYSDIR}, which makes it possible to use multiple source trees. Modified: head/sys/co

svn commit: r240806 - head/sys/dev/usb/net

2012-09-22 Thread Hans Petter Selasky
Author: hselasky Date: Sat Sep 22 08:02:42 2012 New Revision: 240806 URL: http://svn.freebsd.org/changeset/base/240806 Log: Apply some more casting. Modified: head/sys/dev/usb/net/if_smsc.c Modified: head/sys/dev/usb/net/if_smsc.c =

svn commit: r240807 - in stable/9/contrib/bind9: . lib/dns lib/dns/include/dns

2012-09-22 Thread Xin LI
Author: delphij Date: Sat Sep 22 08:47:29 2012 New Revision: 240807 URL: http://svn.freebsd.org/changeset/base/240807 Log: MFC 240729 (dougb): Upgrade to 9.8.3-P3: Prevents a crash when queried for a record whose RDATA exceeds 65535 bytes. Prevents a crash when validating caused

svn commit: r240808 - in releng/9.1/contrib/bind9: . lib/dns lib/dns/include/dns

2012-09-22 Thread Xin LI
Author: delphij Date: Sat Sep 22 08:48:26 2012 New Revision: 240808 URL: http://svn.freebsd.org/changeset/base/240808 Log: MFC 240729 (dougb): Upgrade to 9.8.3-P3: Prevents a crash when queried for a record whose RDATA exceeds 65535 bytes. Prevents a crash when validating caused

svn commit: r240809 - head/sys/netpfil/pf

2012-09-22 Thread Gleb Smirnoff
Author: glebius Date: Sat Sep 22 10:02:44 2012 New Revision: 240809 URL: http://svn.freebsd.org/changeset/base/240809 Log: Fix fallout from r236397 in pfr_update_stats(), that was missed later in r237155. We need to zero sockaddr before lookup. While here, make pfr_update_stats() panic on un

svn commit: r240810 - head/sys/netpfil/pf

2012-09-22 Thread Gleb Smirnoff
Author: glebius Date: Sat Sep 22 10:04:48 2012 New Revision: 240810 URL: http://svn.freebsd.org/changeset/base/240810 Log: In pfr_insert_kentry() return ENOMEM if memory allocation failed. Modified: head/sys/netpfil/pf/pf_table.c Modified: head/sys/netpfil/pf/pf_table.c =

svn commit: r240811 - head/sys/netpfil/pf

2012-09-22 Thread Gleb Smirnoff
Author: glebius Date: Sat Sep 22 10:14:47 2012 New Revision: 240811 URL: http://svn.freebsd.org/changeset/base/240811 Log: When connection rate hits and we overload a source to a table, we are actually editing table, which means editing rules, thus we need writer access to 'em. Fix this

svn commit: r240813 - head/sys/kern

2012-09-22 Thread Konstantin Belousov
Author: kib Date: Sat Sep 22 12:17:09 2012 New Revision: 240813 URL: http://svn.freebsd.org/changeset/base/240813 Log: Do not skip two elements of the tid_buffer when reusing the buffer slot. This eventually results in exhaustion of the tid space, causing new threads get tid -1 as identifier

svn commit: r240814 - in stable/9/sys: kern sys

2012-09-22 Thread Konstantin Belousov
Author: kib Date: Sat Sep 22 12:27:50 2012 New Revision: 240814 URL: http://svn.freebsd.org/changeset/base/240814 Log: MFC r237431: Enchance the shared page chunk allocator. Modified: stable/9/sys/kern/kern_exec.c stable/9/sys/sys/sysent.h Directory Properties: stable/9/sys/ (props ch

svn commit: r240815 - in stable/9/sys: amd64/include arm/include conf i386/include ia64/include kern mips/include pc98/include powerpc/include sparc64/include sys x86/include x86/x86

2012-09-22 Thread Konstantin Belousov
Author: kib Date: Sat Sep 22 12:32:00 2012 New Revision: 240815 URL: http://svn.freebsd.org/changeset/base/240815 Log: MFC r237433: Implement mechanism to export some kernel timekeeping data to usermode, using shared page. MFC r237474: Stop updating the struct vdso_timehands from even

svn commit: r240816 - in stable/9/sys/i386: i386 include

2012-09-22 Thread Konstantin Belousov
Author: kib Date: Sat Sep 22 12:34:02 2012 New Revision: 240816 URL: http://svn.freebsd.org/changeset/base/240816 Log: MFC r237435: Enable shared page on i386, now it has a use for vdso_timehands. MFC r237445: Commit changes missed from r237435. Properly calculate the signal trampoli

svn commit: r240817 - stable/9/sys/sys

2012-09-22 Thread Konstantin Belousov
Author: kib Date: Sat Sep 22 12:35:22 2012 New Revision: 240817 URL: http://svn.freebsd.org/changeset/base/240817 Log: MFC r237476: Remove no longer needed forward declaration for struct sf_buf. Modified: stable/9/sys/sys/sysent.h Directory Properties: stable/9/sys/ (props changed) Mod

svn commit: r240818 - in stable/9/sys: conf kern

2012-09-22 Thread Konstantin Belousov
Author: kib Date: Sat Sep 22 12:36:31 2012 New Revision: 240818 URL: http://svn.freebsd.org/changeset/base/240818 Log: MFC r237477: Move the code dealing with shared page into a dedicated kern_sharedpage.c source file from kern_exec.c. Added: stable/9/sys/kern/kern_sharedpage.c - cop

svn commit: r240819 - in stable/9/lib/libc: amd64/sys gen i386/sys include sys

2012-09-22 Thread Konstantin Belousov
Author: kib Date: Sat Sep 22 12:38:19 2012 New Revision: 240819 URL: http://svn.freebsd.org/changeset/base/240819 Log: MFC r237434: Use struct vdso_timehands data to implement fast gettimeofday(2) and clock_gettime(2) functions if supported. Added: stable/9/lib/libc/amd64/sys/__vdso_gettc

svn commit: r240820 - head/usr.bin/kdump

2012-09-22 Thread Jilles Tjoelker
Author: jilles Date: Sat Sep 22 12:40:00 2012 New Revision: 240820 URL: http://svn.freebsd.org/changeset/base/240820 Log: kdump: Pretty-print signal codes. MFC after:1 week Modified: head/usr.bin/kdump/kdump.c head/usr.bin/kdump/mksubr Modified: head/usr.bin/kdump/kdump.c

svn commit: r240821 - stable/9/sys/x86/x86

2012-09-22 Thread Konstantin Belousov
Author: kib Date: Sat Sep 22 12:40:52 2012 New Revision: 240821 URL: http://svn.freebsd.org/changeset/base/240821 Log: MFC r238973,r238975: Add explicit fences right before rdtsc in the timecounters 'get' functions. Modified: stable/9/sys/x86/x86/tsc.c Directory Properties: stable/9/sys/

svn commit: r240822 - head/sys/geom

2012-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Sep 22 12:41:49 2012 New Revision: 240822 URL: http://svn.freebsd.org/changeset/base/240822 Log: Use the topology lock to protect list of providers while withering them. It is possible that provider is destroyed while we are iterating over the list. Reported by: B

svn commit: r240823 - head/sbin/devd

2012-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Sep 22 12:42:51 2012 New Revision: 240823 URL: http://svn.freebsd.org/changeset/base/240823 Log: Use O_CLOEXEC for open instead of separate fcntl(2) call. Modified: head/sbin/devd/devd.cc Modified: head/sbin/devd/devd.cc =

svn commit: r240824 - head/sys/contrib/altq/altq

2012-09-22 Thread Gleb Smirnoff
Author: glebius Date: Sat Sep 22 12:49:36 2012 New Revision: 240824 URL: http://svn.freebsd.org/changeset/base/240824 Log: Convert more M_WAITOK malloc() to M_NOWAIT. Reported by: Kim Culhan Modified: head/sys/contrib/altq/altq/altq_priq.c head/sys/contrib/altq/altq/altq_red.c head

svn commit: r240825 - head/tools/regression/bin/sh/parser

2012-09-22 Thread Jilles Tjoelker
Author: jilles Date: Sat Sep 22 12:52:41 2012 New Revision: 240825 URL: http://svn.freebsd.org/changeset/base/240825 Log: sh: Add some tests for aliasing a utility to itself. Added: head/tools/regression/bin/sh/parser/alias7.0 (contents, props changed) head/tools/regression/bin/sh/parser/

svn commit: r240826 - head/sys/netinet

2012-09-22 Thread Michael Tuexen
Author: tuexen Date: Sat Sep 22 14:39:20 2012 New Revision: 240826 URL: http://svn.freebsd.org/changeset/base/240826 Log: Small cleanups. No functional change. MFC after:10 days Modified: head/sys/netinet/sctp_output.c head/sys/netinet/sctp_output.h Modified: head/sys/netinet/sctp

svn commit: r240827 - head/lib/msun/src

2012-09-22 Thread Steve Kargl
Author: kargl Date: Sat Sep 22 15:19:11 2012 New Revision: 240827 URL: http://svn.freebsd.org/changeset/base/240827 Log: * Make STRICT_ALIGN() work for doubles as well as for floats. This only affects i386. The double case was intentionally left broken as an optimization, but we are ge

svn commit: r240828 - head/lib/msun/src

2012-09-22 Thread Steve Kargl
Author: kargl Date: Sat Sep 22 15:38:29 2012 New Revision: 240828 URL: http://svn.freebsd.org/changeset/base/240828 Log: * Use ENTERI() and RETURNI() to toggle the rounding precision if necessary, so that cosl(), sinl() and tanl() work on i386 even for naive callers. Suggested by: b

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

2012-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Sep 22 17:32:40 2012 New Revision: 240829 URL: http://svn.freebsd.org/changeset/base/240829 Log: As in r226967, r226987 and r232401 changes to UFS and TMPFS remove cache entries associated with the source and the target of rename(). MFC after:1 week Modified:

svn commit: r240830 - head/sys/contrib/rdma

2012-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Sep 22 17:41:56 2012 New Revision: 240830 URL: http://svn.freebsd.org/changeset/base/240830 Log: Fix an obvious typo. Modified: head/sys/contrib/rdma/rdma_addr.c Modified: head/sys/contrib/rdma/rdma_addr.c

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

2012-09-22 Thread Andriy Gapon
Author: avg Date: Sat Sep 22 17:42:53 2012 New Revision: 240831 URL: http://svn.freebsd.org/changeset/base/240831 Log: zfs: allow a zvol to be used as a pool vdev, again Do this by checking if spa_namespace_lock is already held and not taking it again in that case. Add a comment explain

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

2012-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Sep 22 17:46:53 2012 New Revision: 240832 URL: http://svn.freebsd.org/changeset/base/240832 Log: Make the example a bit more pretty. Modified: head/share/man/man4/ip6.4 Modified: head/share/man/man4/ip6.4 =

svn commit: r240833 - head/contrib/groff/tmac

2012-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Sep 22 17:47:37 2012 New Revision: 240833 URL: http://svn.freebsd.org/changeset/base/240833 Log: Add libsbuf. Modified: head/contrib/groff/tmac/doc-syms Modified: head/contrib/groff/tmac/doc-syms ==

svn commit: r240834 - head/sys/sys

2012-09-22 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Sep 22 17:49:25 2012 New Revision: 240834 URL: http://svn.freebsd.org/changeset/base/240834 Log: Add rounddown2() macro similar to the roundup2() macro. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ===

svn commit: r240835 - head/sys/contrib/altq/altq

2012-09-22 Thread Gleb Smirnoff
Author: glebius Date: Sat Sep 22 18:47:14 2012 New Revision: 240835 URL: http://svn.freebsd.org/changeset/base/240835 Log: Use M_NOWAIT in wtab_alloc(), too. Convert panic() to a soft failure here. wtab_alloc() is used by red_alloc(), which can fail. Reported by: Kim Culhan Modified:

svn commit: r240836 - head/sys/netpfil/pf

2012-09-22 Thread Gleb Smirnoff
Author: glebius Date: Sat Sep 22 19:03:11 2012 New Revision: 240836 URL: http://svn.freebsd.org/changeset/base/240836 Log: EBUSY is a better reply for refusing to unload pf(4) or pfsync(4). Submitted by: pluknet Modified: head/sys/netpfil/pf/if_pfsync.c head/sys/netpfil/pf/pf_ioctl.c

svn commit: r240837 - in stable/9/sys: boot/zfs cddl/boot/zfs

2012-09-22 Thread Andriy Gapon
Author: avg Date: Sat Sep 22 21:13:34 2012 New Revision: 240837 URL: http://svn.freebsd.org/changeset/base/240837 Log: MFC r240346,240356: zfs boot: bring zap_leaf_chunk field names in sync with kernel code Modified: stable/9/sys/boot/zfs/zfs.c stable/9/sys/boot/zfs/zfsimpl.c stable/9/s

svn commit: r240838 - in stable/8/sys: boot/zfs cddl/boot/zfs

2012-09-22 Thread Andriy Gapon
Author: avg Date: Sat Sep 22 21:14:53 2012 New Revision: 240838 URL: http://svn.freebsd.org/changeset/base/240838 Log: MFC r240346,240356: zfs boot: bring zap_leaf_chunk field names in sync with kernel code Modified: stable/8/sys/boot/zfs/zfs.c stable/8/sys/boot/zfs/zfsimpl.c stable/8/s

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

2012-09-22 Thread Andriy Gapon
Author: avg Date: Sat Sep 22 21:18:30 2012 New Revision: 240839 URL: http://svn.freebsd.org/changeset/base/240839 Log: MFC r240513: sched_ule: fix inverted condition in reporting of priority lending via ktr Modified: stable/9/sys/kern/sched_ule.c Directory Properties: stable/9/sys/ (pro

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

2012-09-22 Thread Andriy Gapon
Author: avg Date: Sat Sep 22 21:19:49 2012 New Revision: 240840 URL: http://svn.freebsd.org/changeset/base/240840 Log: MFC r240513: sched_ule: fix inverted condition in reporting of priority lending via ktr Modified: stable/8/sys/kern/sched_ule.c Directory Properties: stable/8/sys/ (pro

Re: svn commit: r240827 - head/lib/msun/src

2012-09-22 Thread Bruce Evans
On Sat, 22 Sep 2012, Steve Kargl wrote: Log: * Make STRICT_ALIGN() work for doubles as well as for floats. This only affects i386. The double case was intentionally left broken as an optimization, but we are getting closer to supporting applications and/or kernels that change the (Fr

svn commit: r240841 - head/share/man/man7

2012-09-22 Thread Eitan Adler
Author: eadler Date: Sat Sep 22 21:34:46 2012 New Revision: 240841 URL: http://svn.freebsd.org/changeset/base/240841 Log: Remove some duplicated advice. While here increase the suggested sizes for the partition as "make universe" takes a lot more space than mentioned. Reviewed by: ga

svn commit: r240842 - head/sys/netinet

2012-09-22 Thread Michael Tuexen
Author: tuexen Date: Sat Sep 22 22:04:17 2012 New Revision: 240842 URL: http://svn.freebsd.org/changeset/base/240842 Log: Fix a bug related to handling Re-config chunks. It is not true that the association can be removed if the socket is gone. MFC after:3 days Modified: head/sys/ne

svn commit: r240843 - head/usr.sbin/bsdconfig/timezone/share

2012-09-22 Thread Devin Teske
Author: dteske Date: Sat Sep 22 22:16:07 2012 New Revision: 240843 URL: http://svn.freebsd.org/changeset/base/240843 Log: jilles accurately advises that, in the context of shell redirection, the `:' builtin is processed specially and thus the `: > file' syntax for example will cause prematur

svn commit: r240844 - in head/sys/arm: broadcom/bcm2835 lpc mv tegra ti

2012-09-22 Thread Andrew Turner
Author: andrew Date: Sat Sep 22 22:41:38 2012 New Revision: 240844 URL: http://svn.freebsd.org/changeset/base/240844 Log: Reduce the diff between the FDT implementations of initarm. This only touches whitespace and comments. Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c head/s

svn commit: r240845 - in head/sys/arm: broadcom/bcm2835 lpc tegra ti

2012-09-22 Thread Andrew Turner
Author: andrew Date: Sun Sep 23 02:01:59 2012 New Revision: 240845 URL: http://svn.freebsd.org/changeset/base/240845 Log: Update different versions of physmap_init to be identical in preparation for merging them. Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c head/sys/arm/lpc/l

svn commit: r240846 - in head/sys/arm: broadcom/bcm2835 include mv tegra ti

2012-09-22 Thread Andrew Turner
Author: andrew Date: Sun Sep 23 03:46:03 2012 New Revision: 240846 URL: http://svn.freebsd.org/changeset/base/240846 Log: Pull out the SoC specific parts of initarm into separate functions Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c head/sys/arm/include/machdep.h head/sys/ar

svn commit: r240847 - stable/9/usr.bin/procstat

2012-09-22 Thread Konstantin Belousov
Author: kib Date: Sun Sep 23 06:16:08 2012 New Revision: 240847 URL: http://svn.freebsd.org/changeset/base/240847 Log: MFC r240546: Handle AT_TIMEKEEP in procstat(1) -x. PR: bin/171662 Modified: stable/9/usr.bin/procstat/procstat_auxv.c Directory Properties: stable/9/usr.bin/procst