svn commit: r196531 - in head/sys/arm/mv: . discovery kirkwood orion

2009-08-25 Thread Rafal Jaworowski
Author: raj Date: Tue Aug 25 09:30:03 2009 New Revision: 196531 URL: http://svn.freebsd.org/changeset/base/196531 Log: Eliminate platform_pmap_init() to simplify Marvell bootstrap code. Modified: head/sys/arm/mv/discovery/db78xxx.c head/sys/arm/mv/kirkwood/db88f6xxx.c

svn commit: r196533 - head/sys/arm/mv/kirkwood

2009-08-25 Thread Rafal Jaworowski
Author: raj Date: Tue Aug 25 09:39:11 2009 New Revision: 196533 URL: http://svn.freebsd.org/changeset/base/196533 Log: Exclude common Kirkwood settings so they can be shared among various platforms based on this SOC. This is a preliminary step for SheevaPlug support. Submitted by: Michal

svn commit: r196534 - in head/sys: conf dev/mge

2009-08-25 Thread Rafal Jaworowski
Author: raj Date: Tue Aug 25 09:47:12 2009 New Revision: 196534 URL: http://svn.freebsd.org/changeset/base/196534 Log: Introduce MII_ADDR_BASE option on ARM, which allows to override the default per platform requirements. Notes: - Only used by mge(4) at the moment. - This is very

svn commit: r196535 - in head/sys: net netinet netinet6

2009-08-25 Thread Robert Watson
Author: rwatson Date: Tue Aug 25 09:52:38 2009 New Revision: 196535 URL: http://svn.freebsd.org/changeset/base/196535 Log: Use locks specific to the lltable code, rather than borrow the ifnet list/index locks, to protect link layer address tables. This avoids lock order issues during

svn commit: r196536 - in head/sys/arm: conf mv/kirkwood

2009-08-25 Thread Rafal Jaworowski
Author: raj Date: Tue Aug 25 10:09:25 2009 New Revision: 196536 URL: http://svn.freebsd.org/changeset/base/196536 Log: Introduce SheevaPlug support. - The device is based on Marvell 88F6281 system on chip. - More info about the platform at http://www.plugcomputer.org - To

svn commit: r196537 - in stable/7/sys: . contrib/pf netinet

2009-08-25 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 25 11:44:17 2009 New Revision: 196537 URL: http://svn.freebsd.org/changeset/base/196537 Log: MFC r182841: Add a second KASSERT checking for len = 0 in the tcp output path. This is different to the first one (as len gets updated between those two) and

svn commit: r196538 - in stable/7/sys: . contrib/pf kern

2009-08-25 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 25 12:32:16 2009 New Revision: 196538 URL: http://svn.freebsd.org/changeset/base/196538 Log: MFC r182842: Catch a possible NULL pointer deref in case the offsets got mangled somehow. As a consequence we may now get an unexpected result(*). Catch that

svn commit: r196539 - in stable/7/sys: . contrib/pf netinet6

2009-08-25 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 25 13:01:51 2009 New Revision: 196539 URL: http://svn.freebsd.org/changeset/base/196539 Log: MFC r191433: Compare protosw pointer with NULL. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/netinet6/ip6_input.c

svn commit: r196540 - in stable/7/sys: . contrib/pf sys

2009-08-25 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 25 13:04:13 2009 New Revision: 196540 URL: http://svn.freebsd.org/changeset/base/196540 Log: MFC r191529: Whitespace (use tabs like for all other lines). Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

svn commit: r196541 - stable/7/etc

2009-08-25 Thread Bruce M Simpson
Author: bms Date: Tue Aug 25 13:39:14 2009 New Revision: 196541 URL: http://svn.freebsd.org/changeset/base/196541 Log: MFC r179014: Add support for /conf/T/M/remount_optional. The rc.initdiskless functionality is used by NanoBSD to allow configuration files to live on a separate

svn commit: r196542 - stable/7/etc

2009-08-25 Thread Bruce M Simpson
Author: bms Date: Tue Aug 25 13:40:46 2009 New Revision: 196542 URL: http://svn.freebsd.org/changeset/base/196542 Log: MFC r182895: Add support to rc.initdiskless for /conf/T/M/remount_subdir. This allows the location of the configuration data to be relocated within the filesystem

svn commit: r196543 - head/sys/i386/isa

2009-08-25 Thread Gleb Smirnoff
Author: glebius Date: Tue Aug 25 14:08:33 2009 New Revision: 196543 URL: http://svn.freebsd.org/changeset/base/196543 Log: Fix build broken in r196524. Modified: head/sys/i386/isa/vesa.c Modified: head/sys/i386/isa/vesa.c

svn commit: r196544 - in stable/7: sys sys/contrib/pf sys/kern usr.bin/cpuset usr.sbin/jail

2009-08-25 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 25 15:54:52 2009 New Revision: 196544 URL: http://svn.freebsd.org/changeset/base/196544 Log: Backout r191596: Document an issue of jail(8) in conjunction with cpuset(1). MFC r191639: Prevent a superuser inside a jail from modifying the dedicated root

svn commit: r196545 - in stable/7/sys: . contrib/pf kern

2009-08-25 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 25 15:58:07 2009 New Revision: 196545 URL: http://svn.freebsd.org/changeset/base/196545 Log: MFC r191403: Correct a comment: the function name given had never existed in any (relevant) version of this file orany of my patches. Modified: stable/7/sys/ (props

svn commit: r196546 - in stable/7/sys: . contrib/pf netinet6

2009-08-25 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 25 16:56:33 2009 New Revision: 196546 URL: http://svn.freebsd.org/changeset/base/196546 Log: MFC r187939: Remove 4 entirely unsued ip6 variables. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

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

2009-08-25 Thread Andrew Thompson
Author: thompsa Date: Tue Aug 25 16:59:55 2009 New Revision: 196547 URL: http://svn.freebsd.org/changeset/base/196547 Log: It is possible for all the kthreads to exit (hci modules unloaded) which in turn ends our usb process. This means the proc pointer becomes invalid and will panic if a

svn commit: r196548 - in stable/7/sys: . contrib/pf netipsec

2009-08-25 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 25 17:00:24 2009 New Revision: 196548 URL: http://svn.freebsd.org/changeset/base/196548 Log: MFC r187936: Use NULL rather than 0 when comparing pointers. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

Re: svn commit: r196543 - head/sys/i386/isa

2009-08-25 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gleb Smirnoff wrote: Author: glebius Date: Tue Aug 25 14:08:33 2009 New Revision: 196543 URL: http://svn.freebsd.org/changeset/base/196543 Log: Fix build broken in r196524. Thanks and sorry for the breakage. I should never trusted

svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5

2009-08-25 Thread Xin LI
Author: delphij Date: Tue Aug 25 19:07:26 2009 New Revision: 196550 URL: http://svn.freebsd.org/changeset/base/196550 Log: Add a new rc.d script, static_arp, which enables the administrator to statically bind IPv4 - MAC address at boot time. In order to use this, the administrator needs

Re: svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5

2009-08-25 Thread Doug Barton
My sincere apologies for missing this the first N times I reviewed it, but both variables in functions should be declared local. Attached is a suggested patch. Doug -- This .signature sanitized for your protection Index: static_arp

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

2009-08-25 Thread Max Laier
Author: mlaier Date: Tue Aug 25 19:30:32 2009 New Revision: 196551 URL: http://svn.freebsd.org/changeset/base/196551 Log: Fix argument ordering to memcpy as well as the size of the copy in the (theoretical) case that pfi_buffer_cnt should be greater than ~_max. Submitted by: pjd

Re: svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5

2009-08-25 Thread Gleb Kurtsou
On (25/08/2009 19:07), Xin LI wrote: Author: delphij Date: Tue Aug 25 19:07:26 2009 New Revision: 196550 URL: http://svn.freebsd.org/changeset/base/196550 Log: Add a new rc.d script, static_arp, which enables the administrator to statically bind IPv4 - MAC address at boot time.

svn commit: r196555 - head/usr.sbin/acpi/acpidump

2009-08-25 Thread John Baldwin
Author: jhb Date: Tue Aug 25 20:35:57 2009 New Revision: 196555 URL: http://svn.freebsd.org/changeset/base/196555 Log: - Use the headers from ACPI-CA to define various constants and structures for table layouts, etc. rather than homerolling our own structures and constants in

svn commit: r196554 - head/tools/regression/poll

2009-08-25 Thread Jilles Tjoelker
Author: jilles Date: Tue Aug 25 20:33:37 2009 New Revision: 196554 URL: http://svn.freebsd.org/changeset/base/196554 Log: Add some tests for poll(2)/shutdown(2) interaction. Added: head/tools/regression/poll/sockpoll.c (contents, props changed) Modified:

Re: svn commit: r196460 - head/sys/kern

2009-08-25 Thread Jilles Tjoelker
On Tue, Aug 25, 2009 at 04:07:11AM +1000, Bruce Evans wrote: On Sun, 23 Aug 2009, Jilles Tjoelker wrote: I think poll on fifos should instead be fixed by closing the half-connection corresponding to writing from fi_readsock to fi_writesock. I have tried this out, see attached patch. With

svn commit: r196553 - head/sys/net

2009-08-25 Thread Robert Watson
Author: rwatson Date: Tue Aug 25 20:21:16 2009 New Revision: 196553 URL: http://svn.freebsd.org/changeset/base/196553 Log: Break out allocation of new ifindex values from if_alloc() and if_vmove(), and centralize in a single function ifindex_alloc(). Assert the IFNET_WLOCK, and add missing

svn commit: r196556 - in head/sys: fs/fifofs kern

2009-08-25 Thread Jilles Tjoelker
Author: jilles Date: Tue Aug 25 21:44:14 2009 New Revision: 196556 URL: http://svn.freebsd.org/changeset/base/196556 Log: Fix poll() on half-closed sockets, while retaining POLLHUP for fifos. This reverts part of r196460, so that sockets only return POLLHUP if both directions are

svn commit: r196557 - in stable/6/sys: . contrib/pf dev/cxgb net netinet netinet6

2009-08-25 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 25 21:51:47 2009 New Revision: 196557 URL: http://svn.freebsd.org/changeset/base/196557 Log: MFC r185713 (from csjp): in_rtalloc1(9) returns a locked route, so make sure that we use RTFREE_LOCKED() here. This macro makes sure the reference count on the

Re: svn commit: r196550 - in head: etc/defaults etc/rc.d share/man/man5

2009-08-25 Thread Doug Barton
Gleb Kurtsou wrote: Would you please add support for reading pairs from file It does read them from a file, the file is named rc.conf. :) Doug -- This .signature sanitized for your protection ___ svn-src-all@freebsd.org mailing list

svn commit: r196558 - head/usr.bin/look

2009-08-25 Thread Colin Percival
Author: cperciva Date: Wed Aug 26 03:30:06 2009 New Revision: 196558 URL: http://svn.freebsd.org/changeset/base/196558 Log: Don't try to mmap the contents of empty files. This behaviour was harmless prior to r195693, since historical behaviour of mmap(2) was to silently ignore length-zero