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

2013-03-15 Thread Neel Natu
Author: neel Date: Sat Mar 16 05:40:29 2013 New Revision: 248368 URL: http://svnweb.freebsd.org/changeset/base/248368 Log: Change the type of 'ndesc' from 'int' to 'uint16_t' so that descriptor index wraparound is handled correctly. The gory details are available here: http://lists.fre

svn commit: r248367 - head/sys/libkern/arm

2013-03-15 Thread Andrew Turner
Author: andrew Date: Sat Mar 16 04:08:01 2013 New Revision: 248367 URL: http://svnweb.freebsd.org/changeset/base/248367 Log: Add END to ARM libkern assembly functions Modified: head/sys/libkern/arm/divsi3.S head/sys/libkern/arm/ffs.S head/sys/libkern/arm/ldivmod.S head/sys/libkern/arm/m

svn commit: r248366 - in head/sys: arm/arm conf libkern/arm

2013-03-15 Thread Andrew Turner
Author: andrew Date: Sat Mar 16 04:06:49 2013 New Revision: 248366 URL: http://svnweb.freebsd.org/changeset/base/248366 Log: Move the __aeabi_unwind_cpp_pr{0,1,2} functions to libkern so they can be referenced in a non-debug kernel. Added: head/sys/libkern/arm/aeabi_unwind.c (contents, pr

svn commit: r248365 - head/sys/conf

2013-03-15 Thread Andrew Turner
Author: andrew Date: Sat Mar 16 03:57:46 2013 New Revision: 248365 URL: http://svnweb.freebsd.org/changeset/base/248365 Log: The compiler argument -mno-apcs-frame has no meaning when using EABI as we will use aapcs frames, not apcs frames. Modified: head/sys/conf/Makefile.arm Modified: hea

svn commit: r248364 - head/sys/arm/arm

2013-03-15 Thread Andrew Turner
Author: andrew Date: Sat Mar 16 03:50:27 2013 New Revision: 248364 URL: http://svnweb.freebsd.org/changeset/base/248364 Log: Implement the required but unused __aeabi_unwind_cpp_* functions in the trampoline kernel. Modified: head/sys/arm/arm/elf_trampoline.c Modified: head/sys/arm/arm/elf

svn commit: r248363 - head/sys/conf

2013-03-15 Thread Andrew Turner
Author: andrew Date: Sat Mar 16 03:21:25 2013 New Revision: 248363 URL: http://svnweb.freebsd.org/changeset/base/248363 Log: Fix the indentation for a few commands that were missed or incorrectly indented in r248362. Modified: head/sys/conf/Makefile.arm Modified: head/sys/conf/Makefile.arm

svn commit: r248362 - head/sys/conf

2013-03-15 Thread Andrew Turner
Author: andrew Date: Sat Mar 16 03:15:24 2013 New Revision: 248362 URL: http://svnweb.freebsd.org/changeset/base/248362 Log: Adjust the indentation of the trampoline compilation to make the commands easier to follow. Modified: head/sys/conf/Makefile.arm Modified: head/sys/conf/Makefile.arm

svn commit: r248361 - in head/sys/arm: arm include

2013-03-15 Thread Andrew Turner
Author: andrew Date: Sat Mar 16 02:48:49 2013 New Revision: 248361 URL: http://svnweb.freebsd.org/changeset/base/248361 Log: Add an END macro to ARM. This is mostly used to tell gas where the bounds of the functions are when creating the EABI unwind tables. Modified: head/sys/arm/arm/bcopy_

svn commit: r248359 - head/sys/kern

2013-03-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Mar 15 23:00:13 2013 New Revision: 248359 URL: http://svnweb.freebsd.org/changeset/base/248359 Log: Sort syscalls properly. Modified: head/sys/kern/capabilities.conf Modified: head/sys/kern/capabilities.conf ==

svn commit: r248358 - in stable/9/lib/ncurses: form menu ncurses panel

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 22:31:51 2013 New Revision: 248358 URL: http://svnweb.freebsd.org/changeset/base/248358 Log: MFC r245887 Only install manpages and html documentation in the ncurses/*w (wchar) builds so that it is only installed once. This is consistent with the existing

svn commit: r248357 - stable/9/include/arpa

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 22:26:19 2013 New Revision: 248357 URL: http://svnweb.freebsd.org/changeset/base/248357 Log: MFC r245886,245911 Don't install telnet.h if it will be installed by libtelnet. Modified: stable/9/include/arpa/Makefile Directory Properties: stable/9/include/a

svn commit: r248356 - stable/9/usr.bin/netstat

2013-03-15 Thread Alfred Perlstein
Author: alfred Date: Fri Mar 15 22:24:34 2013 New Revision: 248356 URL: http://svnweb.freebsd.org/changeset/base/248356 Log: MFC: 242030 Show how many times we are blocked waiting for mbufs. Modified: stable/9/usr.bin/netstat/mbuf.c Directory Properties: stable/9/usr.bin/netstat/ (pr

svn commit: r248355 - stable/9/gnu/usr.bin/cc/c++

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 22:20:45 2013 New Revision: 248355 URL: http://svnweb.freebsd.org/changeset/base/248355 Log: MFC r245882,245898 Reorder so that NO_MAN is declared before bsd.own.mk is included and thus has an effect (not installed a g++.1 manpage over the g++.1(.gz) link

svn commit: r248354 - stable/9/usr.sbin

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 22:14:41 2013 New Revision: 248354 URL: http://svnweb.freebsd.org/changeset/base/248354 Log: MFC r245853: manctl is conditionally added to SUBDIRS later on. Don't unconditionally include in the main list. Modified: stable/9/usr.sbin/Makefile (contents

svn commit: r248353 - stable/9/share/info

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 21:45:49 2013 New Revision: 248353 URL: http://svnweb.freebsd.org/changeset/base/248353 Log: MFC r245753: Install the template info directory with mode 644 instead of 444 to allow it to be updated by its owner without resorting to privilege. This is re

svn commit: r248352 - in stable/9: etc share/mk

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 21:32:40 2013 New Revision: 248352 URL: http://svnweb.freebsd.org/changeset/base/248352 Log: MFC r245752,246913,247162 Replace all known uses of ln in the build process with appropriate install -l invocations via new INSTALL_LINK and INSTALL_SYMLINK varia

svn commit: r248351 - stable/9/etc

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 20:52:00 2013 New Revision: 248351 URL: http://svnweb.freebsd.org/changeset/base/248351 Log: MFC r245571,245580: In preparation for logging metadata about each filesystem object, refactor the link section of distrib-dirs to alwasy install to a full path (

svn commit: r248350 - in stable/9: . cddl/lib/libdtrace share/mk

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 20:34:10 2013 New Revision: 248350 URL: http://svnweb.freebsd.org/changeset/base/248350 Log: MFC r245561,245885: Add a new LIBRARIES_ONLY make variable to disable the build and install of files other than the actual libraries. Use LIBRARIES_ONLY to sup

svn commit: r248349 - in head: bin/sh tools/regression/bin/sh/builtins

2013-03-15 Thread Jilles Tjoelker
Author: jilles Date: Fri Mar 15 20:29:31 2013 New Revision: 248349 URL: http://svnweb.freebsd.org/changeset/base/248349 Log: sh: Recognize "--" and explicitly reject options in wait builtin. If syntactically invalid job identifiers are to be taken as jobs that exited with status 127, this

svn commit: r248348 - stable/9

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 20:26:51 2013 New Revision: 248348 URL: http://svnweb.freebsd.org/changeset/base/248348 Log: MFC r241311: Change 32-bit library builds by removing use of make -E and passing AS, CC, CXX and LD on the commandline of the sub-make instead of in the environme

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

2013-03-15 Thread Adrian Chadd
Author: adrian Date: Fri Mar 15 20:22:20 2013 New Revision: 248347 URL: http://svnweb.freebsd.org/changeset/base/248347 Log: Why'd I keep this here? remove it entirely now. Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c =

svn commit: r248342 - in head/bin: cp ls mkdir mv ps rm rmdir

2013-03-15 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Mar 15 20:12:54 2013 New Revision: 248342 URL: http://svnweb.freebsd.org/changeset/base/248342 Log: Add a few examples. Obtained from:OpenBSD Modified: head/bin/cp/cp.1 head/bin/ls/ls.1 head/bin/mkdir/mkdir.1 head/bin/mv/mv.1 head/bi

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

2013-03-15 Thread Adrian Chadd
Author: adrian Date: Fri Mar 15 20:00:08 2013 New Revision: 248341 URL: http://svnweb.freebsd.org/changeset/base/248341 Log: Fix two bugs: * when pulling frames off of the TID queue, the ATH_TID_REMOVE() macro decrements the axq_depth field. So don't do it twice. * in ath_tx_comp_

svn commit: r248340 - head/sys/dev/puc

2013-03-15 Thread Ryan Stone
Author: rstone Date: Fri Mar 15 19:58:44 2013 New Revision: 248340 URL: http://svnweb.freebsd.org/changeset/base/248340 Log: Add support for Exar XR17V358 8-port serial device to puc(4) Reviewed by: marius Sponsored by: Sandvine Inc. MFC after:1 week Modified: head/sys/dev/puc/p

svn commit: r248339 - in stable/9: . etc/mtree share/mk usr.bin/man

2013-03-15 Thread Brooks Davis
) @@ -38,6 +38,13 @@ # xargs -n1 | sort | uniq -d; # done +# 20130315: removed long unused directories for .1aout section manpages +OLD_FILES+=usr/share/man/en.ISO8859-1/man1aout +OLD_FILES+=usr/share/man/en.UTF-8/man1aout +OLD_DIRS+=usr/share/man/man1aout +OLD_DIRS+=usr/share/man/cat1aout +OLD_DIRS

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

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 19:32:37 2013 New Revision: 248338 URL: http://svnweb.freebsd.org/changeset/base/248338 Log: Bump __FreeBSD_version for install -l, -M, -N and related flags as well as cat -l. This is a notional MFC of r245313,246084. Modified: stable/9/sys/sys/param.h D

svn commit: r248337 - stable/9/bin/cat

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 19:27:27 2013 New Revision: 248337 URL: http://svnweb.freebsd.org/changeset/base/248337 Log: MFC all features as of r248336: The user visable feature is from r246083: Add -l option to cat(1). This option causes cat(1) to use fcntl(2) to set an exclusiv

svn commit: r248336 - in stable/9: . share/zoneinfo

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 19:16:35 2013 New Revision: 248336 URL: http://svnweb.freebsd.org/changeset/base/248336 Log: MFC r245265,245271,245309: Rather than using zic to both compile and install zoneinfo files, generate the files during the build and install them with install(1).

Re: svn commit: r248335 - in stable/9: . etc

2013-03-15 Thread Brooks Davis
On Fri, Mar 15, 2013 at 06:49:39PM +, Brooks Davis wrote: > Author: brooks > Date: Fri Mar 15 18:49:39 2013 > New Revision: 248335 > URL: http://svnweb.freebsd.org/changeset/base/248335 > > Log: > MFC: > > r241684,245316,245318,245440,245563,245565,245622,245754,246092,246096,246602 The

svn commit: r248335 - in stable/9: . etc

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 18:49:39 2013 New Revision: 248335 URL: http://svnweb.freebsd.org/changeset/base/248335 Log: MFC: r241684,245316,245318,245440,245563,245565,245622,245754,246092,246096,246602 r241684: Allow LOCAL_DIRS to install files in directories not found in the sy

svn commit: r248334 - stable/9/crypto/openssl/crypto

2013-03-15 Thread Xin LI
Author: delphij Date: Fri Mar 15 18:10:38 2013 New Revision: 248334 URL: http://svnweb.freebsd.org/changeset/base/248334 Log: Redo r241528: MFC r240339: openssl: change SHLIB_VERSION_NUMBER to reflect the reality. Modified: stable/9/crypto/openssl/crypto/opensslv.h Modified: stable/9/cr

svn commit: r248333 - stable/9

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 15:34:09 2013 New Revision: 248333 URL: http://svnweb.freebsd.org/changeset/base/248333 Log: MFC the second half of r246784: - Fix libmd dependency. It is needed in the bootstrap library list because usr.bin/xinstall depends on it. Modified: stable/9/

svn commit: r248332 - stable/9/tools

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 15:21:34 2013 New Revision: 248332 URL: http://svnweb.freebsd.org/changeset/base/248332 Log: MFC r245751,245893: r245751: Implement the -l option using ln(1) to facilitate boostrapping. Ignore the new options -D, -h, -T, and -U. Adjust -M support to i

svn commit: r248331 - in stable/9: . usr.bin/xinstall

2013-03-15 Thread Brooks Davis
:29 2013(r248330) +++ stable/9/UPDATING Fri Mar 15 15:19:33 2013(r248331) @@ -11,6 +11,15 @@ handbook: Items affecting the ports and packages system can be found in /usr/ports/UPDATING. Please read that file before running portupgrade. +20130315: + The install(1) option -M

svn commit: r248330 - stable/9/tools/build

2013-03-15 Thread Brooks Davis
Author: brooks Date: Fri Mar 15 14:53:29 2013 New Revision: 248330 URL: http://svnweb.freebsd.org/changeset/base/248330 Log: MFC r245311: Add pwcache(3) and vis(3) to libegacy as install(1) is about to grow a dependency on them. Sponsored by: DARPA, AFRL Modified: stable/9/tools/b

svn commit: r248329 - head/sys/kern

2013-03-15 Thread Konstantin Belousov
Author: kib Date: Fri Mar 15 14:01:37 2013 New Revision: 248329 URL: http://svnweb.freebsd.org/changeset/base/248329 Log: Separate the copyright lines and the informational block by a blank line. Requested by: joel MFC after:2 weeks Modified: head/sys/kern/vfs_vnops.c Modified: he

Re: svn commit: r248323 - head/sys/netinet

2013-03-15 Thread Andre Oppermann
On 15.03.2013 14:46, Gleb Smirnoff wrote: On Fri, Mar 15, 2013 at 02:00:57PM +0100, Andre Oppermann wrote: A> On 15.03.2013 13:53, Gleb Smirnoff wrote: A> > Author: glebius A> > Date: Fri Mar 15 12:53:53 2013 A> > New Revision: 248323 A> > URL: http://svnweb.freebsd.org/changeset/base/248323 A> >

svn commit: r248328 - head/sys/netinet6

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 13:48:53 2013 New Revision: 248328 URL: http://svnweb.freebsd.org/changeset/base/248328 Log: - Use m_getcl() instead of hand allocating. - Do not calculate constant length values at run time, CTASSERT() their sanity. - Remove superfluous cleaning of mbuf

Re: svn commit: r248323 - head/sys/netinet

2013-03-15 Thread Gleb Smirnoff
On Fri, Mar 15, 2013 at 02:00:57PM +0100, Andre Oppermann wrote: A> On 15.03.2013 13:53, Gleb Smirnoff wrote: A> > Author: glebius A> > Date: Fri Mar 15 12:53:53 2013 A> > New Revision: 248323 A> > URL: http://svnweb.freebsd.org/changeset/base/248323 A> > A> > Log: A> >- Use m_getcl() instead o

svn commit: r248326 - head/sys/netinet

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 13:10:06 2013 New Revision: 248326 URL: http://svnweb.freebsd.org/changeset/base/248326 Log: We can, and should use M_WAITOK here. Sponsored by: Nginx, Inc. Modified: head/sys/netinet/igmp.c Modified: head/sys/netinet/igmp.c =

Re: svn commit: r248323 - head/sys/netinet

2013-03-15 Thread Andre Oppermann
On 15.03.2013 13:53, Gleb Smirnoff wrote: Author: glebius Date: Fri Mar 15 12:53:53 2013 New Revision: 248323 URL: http://svnweb.freebsd.org/changeset/base/248323 Log: - Use m_getcl() instead of hand allocating. Sponsored by:Nginx, Inc. Modified: head/sys/netinet/tcp_output.c

svn commit: r248325 - head/sys/kern

2013-03-15 Thread Konstantin Belousov
Author: kib Date: Fri Mar 15 12:57:30 2013 New Revision: 248325 URL: http://svnweb.freebsd.org/changeset/base/248325 Log: Add my copyright for the 2012 year work, in particular vn_io_fault() and f_offset locking. Add required Foundation notice for r248319. Sponsored by: The FreeBSD Found

svn commit: r248324 - in head/sys: compat/ndis net netinet netpfil/pf

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 12:55:30 2013 New Revision: 248324 URL: http://svnweb.freebsd.org/changeset/base/248324 Log: Use m_get/m_gethdr instead of compat macros. Sponsored by: Nginx, Inc. Modified: head/sys/compat/ndis/kern_ndis.c head/sys/net/bridgestp.c head/sys/net/if_gre

svn commit: r248323 - head/sys/netinet

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 12:53:53 2013 New Revision: 248323 URL: http://svnweb.freebsd.org/changeset/base/248323 Log: - Use m_getcl() instead of hand allocating. Sponsored by: Nginx, Inc. Modified: head/sys/netinet/tcp_output.c Modified: head/sys/netinet/tcp_output.c ===

svn commit: r248322 - head/sys/net

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 12:52:59 2013 New Revision: 248322 URL: http://svnweb.freebsd.org/changeset/base/248322 Log: - Use m_getcl() instead of hand allocating. - Convert panic() to KASSERT. - Remove superfluous cleaning of mbuf fields after allocation. - Add comment on possible u

svn commit: r248321 - head/sys/netinet6

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 12:50:29 2013 New Revision: 248321 URL: http://svnweb.freebsd.org/changeset/base/248321 Log: - Use m_getcl() instead of hand allocating. - Use m_get()/m_gethdr() instead of macros. - Remove superfluous cleaning of mbuf fields after allocation. Sponsored

svn commit: r248320 - head/sys/netinet6

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 12:33:23 2013 New Revision: 248320 URL: http://svnweb.freebsd.org/changeset/base/248320 Log: Use m_getcl() instead of hand made allocation. Sponsored by: Nginx, Inc. Modified: head/sys/netinet6/ip6_input.c Modified: head/sys/netinet6/ip6_input.c

svn commit: r248319 - in head/sys: kern sys

2013-03-15 Thread Konstantin Belousov
Author: kib Date: Fri Mar 15 11:16:12 2013 New Revision: 248319 URL: http://svnweb.freebsd.org/changeset/base/248319 Log: Implement the helper function vn_io_fault_pgmove(), intended to use by the filesystem VOP_READ() and VOP_WRITE() implementations in the same way as vn_io_fault_uiomove()

svn commit: r248318 - in head/sys: kern nfs xdr

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 10:21:18 2013 New Revision: 248318 URL: http://svnweb.freebsd.org/changeset/base/248318 Log: Use m_get() and m_getcl() instead of compat macros. Modified: head/sys/kern/uipc_sockbuf.c head/sys/nfs/nfs_common.c head/sys/xdr/xdr_mbuf.c Modified: head/sys/ke

svn commit: r248317 - head/sys/netipsec

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 10:20:15 2013 New Revision: 248317 URL: http://svnweb.freebsd.org/changeset/base/248317 Log: Use m_get2() + m_align() instead of hand made key_alloc_mbuf(). Code examination shows, that although key_alloc_mbuf() could return chains, the callers never use chai

svn commit: r248316 - head/sys/kern

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 10:17:24 2013 New Revision: 248316 URL: http://svnweb.freebsd.org/changeset/base/248316 Log: - Use m_get2() instead of hand allocating. - No need for u_int cast here. Sponsored by: Nginx, Inc. Modified: head/sys/kern/uipc_syscalls.c Modified: head/sys/

svn commit: r248315 - head/sys/kern

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 10:15:07 2013 New Revision: 248315 URL: http://svnweb.freebsd.org/changeset/base/248315 Log: Make m_get2() never use clusters that are bigger than PAGE_SIZE. Requested by: andre, jhb Sponsored by: Nginx, Inc. Modified: head/sys/kern/uipc_mbuf.c Modifie

svn commit: r248314 - head/lib/libipsec

2013-03-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 15 09:19:19 2013 New Revision: 248314 URL: http://svnweb.freebsd.org/changeset/base/248314 Log: Make this more compilable. Modified: head/lib/libipsec/test-policy.c Modified: head/lib/libipsec/test-policy.c ===