svn commit: r238515 - stable/8/sys/netinet/ipfw

2012-07-15 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Jul 16 06:56:46 2012 New Revision: 238515 URL: http://svn.freebsd.org/changeset/base/238515 Log: MFC r237479, r238265 Finally fix lookup (account remaining '\0') and deletion (provide valid key length for radix lookup). Submitted by:Ihor Kaharlichenko

svn commit: r238514 - head/usr.bin/netstat

2012-07-15 Thread Michael Tuexen
Author: tuexen Date: Mon Jul 16 06:43:04 2012 New Revision: 238514 URL: http://svn.freebsd.org/changeset/base/238514 Log: Allow netstat to be build if INET is not defined in the kernel. Thanks to Garrett Cooper for reporting the issue. MFC after: 3 days X-MFC: 238501 Modified: head/u

svn commit: r238513 - stable/9/lib/libc/i386/gen

2012-07-15 Thread David Xu
Author: davidxu Date: Mon Jul 16 02:10:26 2012 New Revision: 238513 URL: http://svn.freebsd.org/changeset/base/238513 Log: MFC r238328: Executing CPUID with EAX set to 1 to actually get feature flags. PR: 169730 Approved by:re (kib) Modified: stable/9/lib/libc/i386/gen/getcon

svn commit: r238510 - head/sys/vm

2012-07-15 Thread Alan Cox
Author: alc Date: Sun Jul 15 21:46:19 2012 New Revision: 238510 URL: http://svn.freebsd.org/changeset/base/238510 Log: Correct an off-by-one error in vm_reserv_alloc_contig() that resulted in the last reservation of a multi-reservation allocation not being initialized. Modified: head/sys/

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

2012-07-15 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jul 15 21:20:31 2012 New Revision: 238509 URL: http://svn.freebsd.org/changeset/base/238509 Log: Use libc's strndup() instead of Dtrace's reimplementation. Corresponds partially to OpenSolaris change: PSARC 2010/299 GNU/Linux/BSD compatibility functions 6901783 str

svn commit: r238508 - head/bin/stty

2012-07-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Jul 15 21:12:22 2012 New Revision: 238508 URL: http://svn.freebsd.org/changeset/base/238508 Log: stty: Mark usage() __dead2. This reduces code size a little and should fix a scan-build warning. Modified: head/bin/stty/extern.h Modified: head/bin/stty/extern.h ==

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

2012-07-15 Thread Adrian Chadd
Author: adrian Date: Sun Jul 15 20:51:41 2012 New Revision: 238507 URL: http://svn.freebsd.org/changeset/base/238507 Log: Handle RX Keymiss events. The AR9003 series NICs implement a separate RX error to signal that a Keycache miss occured. The earlier NICs would not set the key index

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

2012-07-15 Thread Adrian Chadd
Author: adrian Date: Sun Jul 15 20:48:21 2012 New Revision: 238506 URL: http://svn.freebsd.org/changeset/base/238506 Log: Log the number of handled decsriptors and valid descriptors when hitting RXEOL. Modified: head/sys/dev/ath/if_ath_rx_edma.c Modified: head/sys/dev/ath/if_ath_rx_edma.c

svn commit: r238505 - in stable/8/sys/cddl/dev/dtrace: amd64 i386

2012-07-15 Thread Andriy Gapon
Author: avg Date: Sun Jul 15 20:40:10 2012 New Revision: 238505 URL: http://svn.freebsd.org/changeset/base/238505 Log: MFC r238168,238169: further dtrace disassembler fixes for long nop decoding - segment-override prefixes are not invalid in long mode - fix nopw (0f 1f) behavior with resp

svn commit: r238504 - head/lib/libc/net

2012-07-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Jul 15 20:39:21 2012 New Revision: 238504 URL: http://svn.freebsd.org/changeset/base/238504 Log: libc: Remove some unused strings from getaddrinfo(). Modified: head/lib/libc/net/getaddrinfo.c Modified: head/lib/libc/net/getaddrinfo.c =

svn commit: r238503 - in stable/9/sys/cddl/dev/dtrace: amd64 i386

2012-07-15 Thread Andriy Gapon
Author: avg Date: Sun Jul 15 20:38:02 2012 New Revision: 238503 URL: http://svn.freebsd.org/changeset/base/238503 Log: MFC r238168,238169: further dtrace disassembler fixes for long nop decoding - segment-override prefixes are not invalid in long mode - fix nopw (0f 1f) behavior with resp

Re: svn commit: r238502 - in head/sys: kern vm

2012-07-15 Thread mdf
On Sun, Jul 15, 2012 at 1:29 PM, Matthew D Fleming wrote: > Author: mdf > Date: Sun Jul 15 20:29:48 2012 > New Revision: 238502 > URL: http://svn.freebsd.org/changeset/base/238502 > > Log: > Fix a bug with memguard(9) on 32-bit architectures without a > VM_KMEM_MAX_SIZE. > > The code was not

svn commit: r238502 - in head/sys: kern vm

2012-07-15 Thread Matthew D Fleming
Author: mdf Date: Sun Jul 15 20:29:48 2012 New Revision: 238502 URL: http://svn.freebsd.org/changeset/base/238502 Log: Fix a bug with memguard(9) on 32-bit architectures without a VM_KMEM_MAX_SIZE. The code was not taking into account the size of the kernel_map, which the kmem_map is al

svn commit: r238501 - in head/sys: netinet netinet6

2012-07-15 Thread Michael Tuexen
Author: tuexen Date: Sun Jul 15 20:16:17 2012 New Revision: 238501 URL: http://svn.freebsd.org/changeset/base/238501 Log: Changes which improve compilation if neither INET nor INET6 is defined. MFC after: 3 days Modified: head/sys/netinet/sctp_asconf.c head/sys/netinet/sctp_output.c

svn commit: r238500 - stable/9/sys/geom/mirror

2012-07-15 Thread Gleb Smirnoff
Author: glebius Date: Sun Jul 15 19:52:23 2012 New Revision: 238500 URL: http://svn.freebsd.org/changeset/base/238500 Log: Merge r237929, r237930 from head: r237929 | glebius | 2012-07-01 19:30:43 +0400 (вс, 01 и

svn commit: r238498 - head/sys/contrib/pf/net

2012-07-15 Thread Gleb Smirnoff
Author: glebius Date: Sun Jul 15 19:10:00 2012 New Revision: 238498 URL: http://svn.freebsd.org/changeset/base/238498 Log: Use M_NOWAIT while holding the pf giant lock. Modified: head/sys/contrib/pf/net/pf_if.c Modified: head/sys/contrib/pf/net/pf_if.c ===

svn commit: r238497 - stable/7/sbin/mount_ntfs

2012-07-15 Thread Jaakko Heinonen
Author: jh Date: Sun Jul 15 19:05:58 2012 New Revision: 238497 URL: http://svn.freebsd.org/changeset/base/238497 Log: MFC r230642: Remove trailing whitespace. Modified: stable/7/sbin/mount_ntfs/mount_ntfs.c Directory Properties: stable/7/sbin/mount_ntfs/ (props changed) Modified: stable/

svn commit: r238495 - stable/8/sys/netinet6

2012-07-15 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 15 18:20:09 2012 New Revision: 238495 URL: http://svn.freebsd.org/changeset/base/238495 Log: MFC r238248: Implement handling of "atomic fragements" as outlined in draft-gont-6man-ipv6-atomic-fragments to mitigate one class of possible fragmentation-based atta

svn commit: r238494 - stable/8/sys/netinet6

2012-07-15 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 15 18:14:04 2012 New Revision: 238494 URL: http://svn.freebsd.org/changeset/base/238494 Log: MFC r238222: As mentioned in the commit message of r237571 (copied from a prototype patch of mine) also check if the 2nd in6_setscope() failed and return the error in

svn commit: r238493 - in head/sys/dev/usb: . serial

2012-07-15 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 15 18:12:09 2012 New Revision: 238493 URL: http://svn.freebsd.org/changeset/base/238493 Log: Add new USB device ID. PR: usb/169789 MFC after:1 week Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/us

svn commit: r238492 - head/sys/net

2012-07-15 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Jul 15 17:44:27 2012 New Revision: 238492 URL: http://svn.freebsd.org/changeset/base/238492 Log: Permit changing MTU in 6to4 relay. This behavior is recommended by RFC 4213 clause 3.2. Sometimes fragmentation is the least evil. For example, some Linux IPVS

Re: svn commit: r238491 - head/sys/fs/smbfs

2012-07-15 Thread Mateusz Guzik
On Sun, Jul 15, 2012 at 06:23:50PM +0200, Christian Brueffer wrote: > On 7/15/12 18:04 , Mateusz Guzik wrote: > > On Sun, Jul 15, 2012 at 03:50:12PM +, Christian Brueffer wrote: > >> Author: brueffer > >> Date: Sun Jul 15 15:50:12 2012 > >> New Revision: 238491 > >> URL: http://svn.freebsd.org/

Re: svn commit: r238491 - head/sys/fs/smbfs

2012-07-15 Thread Christian Brueffer
On 7/15/12 18:04 , Mateusz Guzik wrote: > On Sun, Jul 15, 2012 at 03:50:12PM +, Christian Brueffer wrote: >> Author: brueffer >> Date: Sun Jul 15 15:50:12 2012 >> New Revision: 238491 >> URL: http://svn.freebsd.org/changeset/base/238491 >> >> Log: >> Save a bzero() by using M_ZERO. >> >>

Re: svn commit: r238491 - head/sys/fs/smbfs

2012-07-15 Thread Mateusz Guzik
On Sun, Jul 15, 2012 at 03:50:12PM +, Christian Brueffer wrote: > Author: brueffer > Date: Sun Jul 15 15:50:12 2012 > New Revision: 238491 > URL: http://svn.freebsd.org/changeset/base/238491 > > Log: > Save a bzero() by using M_ZERO. > > Obtained from: Dragonfly BSD (change > 4faa

svn commit: r238491 - head/sys/fs/smbfs

2012-07-15 Thread Christian Brueffer
Author: brueffer Date: Sun Jul 15 15:50:12 2012 New Revision: 238491 URL: http://svn.freebsd.org/changeset/base/238491 Log: Save a bzero() by using M_ZERO. Obtained from:Dragonfly BSD (change 4faaf07c3d7ddd120deed007370aaf4d90b72ebb) MFC after:2 weeks Modified: head/sys/fs

svn commit: r238488 - head/bin/ps

2012-07-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Jul 15 15:22:13 2012 New Revision: 238488 URL: http://svn.freebsd.org/changeset/base/238488 Log: ps: Fix memory leak when showing start/lstart for swapped-out process. Spotted by: scan-build (uqs) Modified: head/bin/ps/print.c Modified: head/bin/ps/print.c ===

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

2012-07-15 Thread Christian Brueffer
Author: brueffer Date: Sun Jul 15 14:40:49 2012 New Revision: 238486 URL: http://svn.freebsd.org/changeset/base/238486 Log: Fix typo in a message. Obtained from:DragonFly BSD (change 7a817ab191e4898404a9037c55850e47d177308c) MFC after:3 days Modified: head/sys/dev/isp/isp.

svn commit: r238485 - stable/9/etc

2012-07-15 Thread Dag-Erling Smorgrav
Author: des Date: Sun Jul 15 12:13:15 2012 New Revision: 238485 URL: http://svn.freebsd.org/changeset/base/238485 Log: MFH r237270: no need to specify passive mode, it is the default. Approved by: re Modified: stable/9/etc/login.conf Directory Properties: stable/9/etc/ (props change

svn commit: r238484 - in stable/9: etc lib/libutil

2012-07-15 Thread Dag-Erling Smorgrav
Author: des Date: Sun Jul 15 12:00:47 2012 New Revision: 238484 URL: http://svn.freebsd.org/changeset/base/238484 Log: MFH r237269: switch default password hash to sha512. Approved by:re Modified: stable/9/etc/login.conf stable/9/lib/libutil/login.conf.5 Directory Properties: sta

svn commit: r238483 - head/lib/libc/rpc

2012-07-15 Thread Christian Brueffer
Author: brueffer Date: Sun Jul 15 11:52:24 2012 New Revision: 238483 URL: http://svn.freebsd.org/changeset/base/238483 Log: Jump to the failed label instead of doing cleanup ourselves. Obtained from:DragonFly BSD MFC after:2 weeks Modified: head/lib/libc/rpc/getnetpath.c M

svn commit: r238482 - in stable/9/lib/libc: stdlib stdtime

2012-07-15 Thread Isabell Long
Author: issyl0 (doc committer) Date: Sun Jul 15 11:39:56 2012 New Revision: 238482 URL: http://svn.freebsd.org/changeset/base/238482 Log: MFC r237573: Add more locale-specific functions to the relevant man pages and Makefiles: - libc/stdtime/strftime.3 - libc/stdtime/strptime.3

svn commit: r238481 - in stable/9: . bin/rcp etc include lib/libcrypt lib/libutil libexec/rshd release/picobsd/tinyware/passwd share/examples/etc sys/mips/rmi usr.bin/login usr.bin/passwd usr.bin/r...

2012-07-15 Thread Dag-Erling Smorgrav
Author: des Date: Sun Jul 15 11:39:35 2012 New Revision: 238481 URL: http://svn.freebsd.org/changeset/base/238481 Log: MFH r236751: document sha256 / sha512 support MFH r236892: remove mention of auth.conf from programs that don't use it MFH r236963: remove dead code relating to auth.conf

svn commit: r238480 - stable/8/usr.bin/stat

2012-07-15 Thread Christian Brueffer
Author: brueffer Date: Sun Jul 15 11:28:03 2012 New Revision: 238480 URL: http://svn.freebsd.org/changeset/base/238480 Log: MFC: r234577 Remove duplicate -l description. Modified: stable/8/usr.bin/stat/stat.1 Directory Properties: stable/8/usr.bin/stat/ (props changed) Modified: sta

svn commit: r238479 - stable/9/sys/netinet6

2012-07-15 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 15 11:27:15 2012 New Revision: 238479 URL: http://svn.freebsd.org/changeset/base/238479 Log: MFC r238248: Implement handling of "atomic fragements" as outlined in draft-gont-6man-ipv6-atomic-fragments to mitigate one class of possible fragmentation-based atta

svn commit: r238478 - stable/9/usr.bin/stat

2012-07-15 Thread Christian Brueffer
Author: brueffer Date: Sun Jul 15 11:26:24 2012 New Revision: 238478 URL: http://svn.freebsd.org/changeset/base/238478 Log: MFC: r234577 Remove duplicate -l description. Approved by: re (kib) Modified: stable/9/usr.bin/stat/stat.1 Directory Properties: stable/9/usr.bin/stat/ (p

svn commit: r238477 - head/bin/sh

2012-07-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Jul 15 11:18:52 2012 New Revision: 238477 URL: http://svn.freebsd.org/changeset/base/238477 Log: sh: Reset pendingsigs before checking pending traps, not after. Otherwise, a signal arriving at exactly the right moment might not be processed until another signal ar

svn commit: r238476 - stable/9/sys/netinet6

2012-07-15 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 15 11:13:09 2012 New Revision: 238476 URL: http://svn.freebsd.org/changeset/base/238476 Log: MFC r238222: As mentioned in the commit message of r237571 (copied from a prototype patch of mine) also check if the 2nd in6_setscope() failed and return the error

svn commit: r238475 - in head/sys: netinet netinet6

2012-07-15 Thread Michael Tuexen
Author: tuexen Date: Sun Jul 15 11:04:49 2012 New Revision: 238475 URL: http://svn.freebsd.org/changeset/base/238475 Log: #ifdef INET and INET6 consistently. This also fixes a bug, where it was done wrong. MFC after: 3 days Modified: head/sys/netinet/sctp_output.c head/sys/netinet/sc

svn commit: r238474 - stable/8/etc

2012-07-15 Thread Christian Brueffer
Author: brueffer Date: Sun Jul 15 11:04:35 2012 New Revision: 238474 URL: http://svn.freebsd.org/changeset/base/238474 Log: MFC: r237921 Similar to all.log, mention that /var/log/console.log has to be created and chmod'ed to make logging work. Modified: stable/8/etc/syslog.conf Directo

svn commit: r238473 - stable/9/etc

2012-07-15 Thread Christian Brueffer
Author: brueffer Date: Sun Jul 15 10:55:43 2012 New Revision: 238473 URL: http://svn.freebsd.org/changeset/base/238473 Log: MFC: r237921 Similar to all.log, mention that /var/log/console.log has to be created and chmod'ed to make logging work. Approved by: re (kib) Modified: stab

svn commit: r238472 - in head/contrib/gcc/config: arm i386 ia64 mips rs6000 sparc

2012-07-15 Thread Konstantin Belousov
Author: kib Date: Sun Jul 15 10:54:10 2012 New Revision: 238472 URL: http://svn.freebsd.org/changeset/base/238472 Log: Pass --enable-new-dtags to the linker invocation by default. If desired, one can turn off the generation of post-ELF standard dtags by overriding it with --disable-new-dtags

svn commit: r238471 - head/libexec/rtld-elf

2012-07-15 Thread Konstantin Belousov
Author: kib Date: Sun Jul 15 10:53:48 2012 New Revision: 238471 URL: http://svn.freebsd.org/changeset/base/238471 Log: Import the DragonFly BSD commit 4f0bc915b65fcf5a23214f6d221d65c80be68ad4 by John Marino , with the following (edited) commit message Date: Sat, 24 Mar 2012 06:40:50 +0100

svn commit: r238470 - head/bin/sh

2012-07-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Jul 15 10:49:16 2012 New Revision: 238470 URL: http://svn.freebsd.org/changeset/base/238470 Log: sh: Remove unused variable in_dowait. Modified: head/bin/sh/jobs.c head/bin/sh/jobs.h Modified: head/bin/sh/jobs.c =

svn commit: r238469 - head/tools/regression/bin/sh/builtins

2012-07-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Jul 15 10:22:13 2012 New Revision: 238469 URL: http://svn.freebsd.org/changeset/base/238469 Log: sh: Add a simple test for the "local" builtin. Added: head/tools/regression/bin/sh/builtins/local1.0 (contents, props changed) Added: head/tools/regression/bin/sh/built

svn commit: r238468 - in head: bin/sh tools/regression/bin/sh/expansion

2012-07-15 Thread Jilles Tjoelker
Author: jilles Date: Sun Jul 15 10:19:43 2012 New Revision: 238468 URL: http://svn.freebsd.org/changeset/base/238468 Log: sh: Expand assignment-like words specially for export/readonly/local. Examples: export x=~ now expands the tilde local y=$1 is now safe, even if $1 contains