svn commit: r245783 - head/sys/netinet

2013-01-22 Thread Lawrence Stewart
Author: lstewart Date: Tue Jan 22 09:44:21 2013 New Revision: 245783 URL: http://svnweb.freebsd.org/changeset/base/245783 Log: Simplify and fix a bug in cc_ack_received()'s "are we congestion window limited" logic (refer to [1] for associated discussion). snd_cwnd and snd_wnd are unsigned l

svn commit: r245792 - head/usr.sbin/bsdinstall

2013-01-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jan 22 15:26:19 2013 New Revision: 245792 URL: http://svnweb.freebsd.org/changeset/base/245792 Log: Improve documentation of BSDINSTALL_DISTSITE and mdoc. Modified: head/usr.sbin/bsdinstall/bsdinstall.8 Modified: head/usr.sbin/bsdinstall/bsdinstall.8

svn commit: r245793 - head/usr.bin/xinstall

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 16:23:08 2013 New Revision: 245793 URL: http://svnweb.freebsd.org/changeset/base/245793 Log: Make "install -l s[ar]" act like "ln -sfh" as intended. This fixes installation of symbolic links where the target is a link is to an existing directory. Modified:

svn commit: r245796 - head/usr.sbin/bsdinstall/partedit

2013-01-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jan 22 17:06:28 2013 New Revision: 245796 URL: http://svnweb.freebsd.org/changeset/base/245796 Log: Improve error handling and remove an unnecessary check on geom provider type. GEOM provider names can't duplicate (or shouldn't -- devfs will either break or only

Re: svn commit: r245536 - head/tools/tools/notescheck

2013-01-22 Thread John Baldwin
On Wednesday, January 16, 2013 11:20:54 pm Eitan Adler wrote: > Author: eadler > Date: Thu Jan 17 04:20:53 2013 > New Revision: 245536 > URL: http://svnweb.freebsd.org/changeset/base/245536 > > Log: > Convert to Python 3 > > Approved by:cperciva Do we really want to do this? The p

svn commit: r245803 - in head: . gnu/usr.bin share/man/man5 share/mk usr.bin/dtc

2013-01-22 Thread David Chisnall
Author: theraven Date: Tue Jan 22 17:49:51 2013 New Revision: 245803 URL: http://svnweb.freebsd.org/changeset/base/245803 Log: Import new (BSDL) device tree compiler. Now built by default, so that it can't be used on the host system (and not installed on the device, if required). The GPL

Re: svn commit: r245752 - in head: etc share/mk

2013-01-22 Thread Chris Rees
On 21 January 2013 22:40, Brooks Davis wrote: > Author: brooks > Date: Mon Jan 21 22:40:39 2013 > New Revision: 245752 > URL: http://svnweb.freebsd.org/changeset/base/245752 > > Log: > Replace all known uses of ln in the build process with appropriate > install -l invocations via new INSTALL_L

Re: svn commit: r245751 - head/tools

2013-01-22 Thread Pawel Jakub Dawidek
On Mon, Jan 21, 2013 at 10:32:00PM +, Brooks Davis wrote: > Author: brooks > Date: Mon Jan 21 22:32:00 2013 > New Revision: 245751 > URL: http://svnweb.freebsd.org/changeset/base/245751 > > Log: > Implement the -l option using ln(1) to facilitate boostrapping. > > Ignore the new options

svn commit: r245804 - head/tools/tools/notescheck

2013-01-22 Thread Ed Maste
Author: emaste Date: Tue Jan 22 18:02:48 2013 New Revision: 245804 URL: http://svnweb.freebsd.org/changeset/base/245804 Log: Restore Python 2.6+ compatibility SVN r245536 ported this to Python 3. The major change was the use of the print function. Unfortunately this is incompatible with

svn commit: r245805 - head/bin/sh

2013-01-22 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jan 22 18:02:58 2013 New Revision: 245805 URL: http://svnweb.freebsd.org/changeset/base/245805 Log: Add FILES section. Discussed with: jilles Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1 ==

Re: svn commit: r245751 - head/tools

2013-01-22 Thread Pawel Jakub Dawidek
On Tue, Jan 22, 2013 at 07:00:05PM +0100, Pawel Jakub Dawidek wrote: > On Mon, Jan 21, 2013 at 10:32:00PM +, Brooks Davis wrote: > > Author: brooks > > Date: Mon Jan 21 22:32:00 2013 > > New Revision: 245751 > > URL: http://svnweb.freebsd.org/changeset/base/245751 > > > > Log: > > Implement

Re: svn commit: r245536 - head/tools/tools/notescheck

2013-01-22 Thread Ed Maste
On 22 January 2013 10:50, John Baldwin wrote: > On Wednesday, January 16, 2013 11:20:54 pm Eitan Adler wrote: >> Author: eadler >> Date: Thu Jan 17 04:20:53 2013 >> New Revision: 245536 >> URL: http://svnweb.freebsd.org/changeset/base/245536 >> >> Log: >> Convert to Python 3 >> >> Approved by:

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

2013-01-22 Thread Gleb Smirnoff
Author: glebius Date: Tue Jan 22 18:07:59 2013 New Revision: 245806 URL: http://svnweb.freebsd.org/changeset/base/245806 Log: Use pluralies() for "entry"/"entries". Modified: head/usr.bin/netstat/inet.c Modified: head/usr.bin/netstat/inet.c ===

svn commit: r245807 - head/usr.bin/dtc

2013-01-22 Thread David Chisnall
Author: theraven Date: Tue Jan 22 18:12:31 2013 New Revision: 245807 URL: http://svnweb.freebsd.org/changeset/base/245807 Log: Fix logic error in explicitly specified dtb versions spotted by gavin. Modified: head/usr.bin/dtc/dtc.cc Modified: head/usr.bin/dtc/dtc.cc ==

Re: svn commit: r245752 - in head: etc share/mk

2013-01-22 Thread Brooks Davis
On Tue, Jan 22, 2013 at 05:55:31PM +, Chris Rees wrote: > On 21 January 2013 22:40, Brooks Davis wrote: > > Author: brooks > > Date: Mon Jan 21 22:40:39 2013 > > New Revision: 245752 > > URL: http://svnweb.freebsd.org/changeset/base/245752 > > > > Log: > > Replace all known uses of ln in the

svn commit: r245809 - head/usr.bin/dtc

2013-01-22 Thread David Chisnall
Author: theraven Date: Tue Jan 22 18:15:43 2013 New Revision: 245809 URL: http://svnweb.freebsd.org/changeset/base/245809 Log: Fix the missing sentence that ended in the middle in the man page for dtc (also spotted by gavin). Modified: head/usr.bin/dtc/dtc.1 Modified: head/usr.bin/dtc/dtc

svn commit: r245813 - head/share/misc

2013-01-22 Thread Dru Lavigne
Author: dru (doc committer) Date: Tue Jan 22 18:27:19 2013 New Revision: 245813 URL: http://svnweb.freebsd.org/changeset/base/245813 Log: add myself to committers-doc.dot Approved by: bcr (mentor) Modified: head/share/misc/committers-doc.dot Modified: head/share/misc/committers-doc.dot

svn commit: r245815 - head/usr.bin/dtc

2013-01-22 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jan 22 18:33:31 2013 New Revision: 245815 URL: http://svnweb.freebsd.org/changeset/base/245815 Log: Minor mdoc fixes. Modified: head/usr.bin/dtc/dtc.1 Modified: head/usr.bin/dtc/dtc.1 =

Re: svn commit: r245752 - in head: etc share/mk

2013-01-22 Thread Chris Rees
On 22 January 2013 18:13, Brooks Davis wrote: > On Tue, Jan 22, 2013 at 05:55:31PM +, Chris Rees wrote: >> On 21 January 2013 22:40, Brooks Davis wrote: >> > Author: brooks >> > Date: Mon Jan 21 22:40:39 2013 >> > New Revision: 245752 >> > URL: http://svnweb.freebsd.org/changeset/base/245752

svn commit: r245816 - head/usr.bin/dtc

2013-01-22 Thread Joel Dahl
Author: joel (doc committer) Date: Tue Jan 22 18:35:42 2013 New Revision: 245816 URL: http://svnweb.freebsd.org/changeset/base/245816 Log: Remove EOL whitespace. Modified: head/usr.bin/dtc/dtc.1 Modified: head/usr.bin/dtc/dtc.1

svn commit: r245817 - head/sys/fs/ext2fs

2013-01-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 22 18:36:31 2013 New Revision: 245817 URL: http://svnweb.freebsd.org/changeset/base/245817 Log: ext2fs: temporarily disable the reallocation code. Testing with fsx has revealed problems and in order to hunt the bugs properly we need reduce the complexity. Th

Re: svn commit: r245536 - head/tools/tools/notescheck

2013-01-22 Thread Eitan Adler
On 22 January 2013 10:50, John Baldwin wrote: > On Wednesday, January 16, 2013 11:20:54 pm Eitan Adler wrote: >> Author: eadler >> Date: Thu Jan 17 04:20:53 2013 >> New Revision: 245536 >> URL: http://svnweb.freebsd.org/changeset/base/245536 >> >> Log: >> Convert to Python 3 >> >> Approved by:

Re: svn commit: r245803 - in head: . gnu/usr.bin share/man/man5 share/mk usr.bin/dtc

2013-01-22 Thread John Baldwin
On Tuesday, January 22, 2013 12:49:51 pm David Chisnall wrote: > Author: theraven > Date: Tue Jan 22 17:49:51 2013 > New Revision: 245803 > URL: http://svnweb.freebsd.org/changeset/base/245803 > > Log: > Import new (BSDL) device tree compiler. Now built by default, so that it > can't > be us

svn commit: r245818 - head/sys/dev/altera/sdcard

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 18:48:45 2013 New Revision: 245818 URL: http://svnweb.freebsd.org/changeset/base/245818 Log: MFP4 change 219819 Remove a duplicate computation of C_SIZE_MULT. Once is sufficient. Sponsored by: DARPA, AFRL Modified: head/sys/dev/altera/sdcard/altera_s

svn commit: r245819 - head/sys/dev/altera/sdcard

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 18:51:14 2013 New Revision: 245819 URL: http://svnweb.freebsd.org/changeset/base/245819 Log: MFP4 change 219820 Add a missing 0 to the mask for byte0 of C_SIZE. The previous mask (0xc) worked except that the last 0-1536K of the disk could not be access

svn commit: r245820 - head/sys/fs/ext2fs

2013-01-22 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jan 22 18:54:03 2013 New Revision: 245820 URL: http://svnweb.freebsd.org/changeset/base/245820 Log: ext2fs: make some inode fields match the ext2 spec. Ext2fs uses unsigned fields in its dinode struct. FreeBSD can have negative values in some of those fields and th

svn commit: r245821 - head/usr.bin/xinstall

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 18:57:51 2013 New Revision: 245821 URL: http://svnweb.freebsd.org/changeset/base/245821 Log: Remove documentation of the old -M option. Sponsored by: DARPA, AFRL Modified: head/usr.bin/xinstall/install.1 Modified: head/usr.bin/xinstall/install.1 =

svn commit: r245822 - head

2013-01-22 Thread David Chisnall
Author: theraven Date: Tue Jan 22 19:40:26 2013 New Revision: 245822 URL: http://svnweb.freebsd.org/changeset/base/245822 Log: Fix spurious leading / on dtc path in Makefile.inc1. Spotted by jhb. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 =

svn commit: r245823 - head/sys/netinet

2013-01-22 Thread John Baldwin
Author: jhb Date: Tue Jan 22 19:45:04 2013 New Revision: 245823 URL: http://svnweb.freebsd.org/changeset/base/245823 Log: Use decimal values for UDP and TCP socket options rather than hex to avoid implying that these constants should be treated as bit masks. Reviewed by: net MFC after:

svn commit: r245824 - head/sys/sys

2013-01-22 Thread John Baldwin
Author: jhb Date: Tue Jan 22 20:37:31 2013 New Revision: 245824 URL: http://svnweb.freebsd.org/changeset/base/245824 Log: Similar to r245823, use decimal constants for UNIX domain socket options. MFC after:1 week Modified: head/sys/sys/un.h Modified: head/sys/sys/un.h ==

svn commit: r245825 - in head: . etc

2013-01-22 Thread Brooks Davis
Author: brooks Date: Tue Jan 22 21:10:03 2013 New Revision: 245825 URL: http://svnweb.freebsd.org/changeset/base/245825 Log: Introduce a new option -DNO_ROOT that allows install and distribution targets to be run without root privilege. Information about ownership, group, flags, and suid

svn commit: r245828 - head/usr.sbin/pkg_install/lib

2013-01-22 Thread Baptiste Daroussin
:41:12 2013 (r245828) @@ -99,7 +99,7 @@ * Version of the package tools - increase whenever you make a change * in the code that is not cosmetic only. */ -#define PKG_INSTALL_VERSION20121109 +#define PKG_INSTALL_VERSION20130122 #define PKG_WRAPCONF_FNAME "/v

svn commit: r245832 - head/bin/cp

2013-01-22 Thread David E. O'Brien
Author: obrien Date: Wed Jan 23 02:06:20 2013 New Revision: 245832 URL: http://svnweb.freebsd.org/changeset/base/245832 Log: Return "failure" as we do for 'cp -i' and a "n" answer. Otherwise with '-v' we print out the file name as if it was copied: /tmp/2gb-card/M0132.CTG not overwritt

svn commit: r245834 - head/sys/net

2013-01-22 Thread Luigi Rizzo
Author: luigi Date: Wed Jan 23 03:49:48 2013 New Revision: 245834 URL: http://svnweb.freebsd.org/changeset/base/245834 Log: leftover from r245579... flags for semi transparent mode and direct forwarding through a VALE switch Modified: head/sys/net/netmap.h Modified: head/sys/net/netmap.h =

svn commit: r245835 - head/sys/dev/netmap

2013-01-22 Thread Luigi Rizzo
Author: luigi Date: Wed Jan 23 03:51:47 2013 New Revision: 245835 URL: http://svnweb.freebsd.org/changeset/base/245835 Log: control some debugging messages with dev.netmap.verbose add infrastracture to adapt to changes in number of queues and buffers at runtime Modified: head/sys/dev/n

svn commit: r245836 - head/sys/dev/netmap

2013-01-22 Thread Luigi Rizzo
Author: luigi Date: Wed Jan 23 05:37:45 2013 New Revision: 245836 URL: http://svnweb.freebsd.org/changeset/base/245836 Log: Add support for transparent mode while in netmap. By setting dev.netmap.fwd=1 (or enabling the feature with a per-ring flag), packets are forwarded between the NIC a

svn commit: r245837 - head/usr.sbin/pkg_install/lib

2013-01-22 Thread Jason Evans
Author: jasone Date: Wed Jan 23 07:22:33 2013 New Revision: 245837 URL: http://svnweb.freebsd.org/changeset/base/245837 Log: Fix compilation errors. Modified: head/usr.sbin/pkg_install/lib/pkgng.c Modified: head/usr.sbin/pkg_install/lib/pkgng.c ===

svn commit: r245838 - head/sys/conf

2013-01-22 Thread Andrew Turner
Author: andrew Date: Wed Jan 23 07:27:38 2013 New Revision: 245838 URL: http://svnweb.freebsd.org/changeset/base/245838 Log: Don't build the kernel with Thumb interworking as we don't support Thumb. Modified: head/sys/conf/Makefile.arm Modified: head/sys/conf/Makefile.arm ===