svn commit: r216835 - head/sys/dev/mwl

2010-12-31 Thread Bernhard Schmidt
Author: bschmidt Date: Fri Dec 31 09:50:15 2010 New Revision: 216835 URL: http://svn.freebsd.org/changeset/base/216835 Log: The mwl's HAL manages an array of MWL_MBSS_MAX VAPs where the first 8 are supposed to be APs and the later 24 are pre-configured as STAs. A wrong condition during

svn commit: r216836 - head/share/misc

2010-12-31 Thread Gavin Atkinson
Author: gavin Date: Fri Dec 31 11:55:39 2010 New Revision: 216836 URL: http://svn.freebsd.org/changeset/base/216836 Log: For committers listed as alumni, add the date that their commit bit was returned where this information is missing and easy to determine. Move adrian@ back to the Active

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Pawel Jakub Dawidek
On Fri, Dec 31, 2010 at 01:27:04AM +, Alexander Best wrote: On Thu Dec 30 10, Pawel Jakub Dawidek wrote: Author: pjd Date: Thu Dec 30 18:06:31 2010 New Revision: 216823 URL: http://svn.freebsd.org/changeset/base/216823 Log: For compatibility with Linux and Solaris add

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Jilles Tjoelker
On Thu, Dec 30, 2010 at 06:06:31PM +, Pawel Jakub Dawidek wrote: Author: pjd Date: Thu Dec 30 18:06:31 2010 New Revision: 216823 URL: http://svn.freebsd.org/changeset/base/216823 Log: For compatibility with Linux and Solaris add poweroff(8). It is implemented as a hard link to

Re: svn commit: r216836 - head/share/misc

2010-12-31 Thread Gary Jennejohn
On Fri, 31 Dec 2010 11:55:39 + (UTC) Gavin Atkinson ga...@freebsd.org wrote: Author: gavin Date: Fri Dec 31 11:55:39 2010 New Revision: 216836 URL: http://svn.freebsd.org/changeset/base/216836 Log: For committers listed as alumni, add the date that their commit bit was returned

Re: svn commit: r216836 - head/share/misc

2010-12-31 Thread Bjoern A. Zeeb
On Fri, 31 Dec 2010, Gary Jennejohn wrote: On Fri, 31 Dec 2010 11:55:39 + (UTC) Gavin Atkinson ga...@freebsd.org wrote: Author: gavin Date: Fri Dec 31 11:55:39 2010 New Revision: 216836 URL: http://svn.freebsd.org/changeset/base/216836 Log: For committers listed as alumni, add the date

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Erik Trulsson
On Fri, Dec 31, 2010 at 03:43:08PM +0100, Jilles Tjoelker wrote: On Thu, Dec 30, 2010 at 06:06:31PM +, Pawel Jakub Dawidek wrote: Author: pjd Date: Thu Dec 30 18:06:31 2010 New Revision: 216823 URL: http://svn.freebsd.org/changeset/base/216823 Log: For compatibility with Linux

svn commit: r216843 - head/sys/i386/xen

2010-12-31 Thread Colin Percival
Author: cperciva Date: Fri Dec 31 17:39:31 2010 New Revision: 216843 URL: http://svn.freebsd.org/changeset/base/216843 Log: Make i386_set_ldt work on i386/XEN, step 1/5. Lock the vm page queue mutex around calls to pte_store. As with many other uses of the vm page queue mutex in

svn commit: r216844 - head/sys/i386/include

2010-12-31 Thread Colin Percival
Author: cperciva Date: Fri Dec 31 17:39:58 2010 New Revision: 216844 URL: http://svn.freebsd.org/changeset/base/216844 Log: Make i386_set_ldt work on i386/XEN, step 2/5. Don't map physical to machine page numbers in pte_load_store, since it uses PT_SET_VA (which takes a physical page

svn commit: r216845 - head/sys/i386/i386

2010-12-31 Thread Colin Percival
Author: cperciva Date: Fri Dec 31 17:40:30 2010 New Revision: 216845 URL: http://svn.freebsd.org/changeset/base/216845 Log: Make i386_set_ldt work on i386/XEN, step 3/5. Synchronize reality with comment: The user_ldt_alloc function is supposed to return with dt_lock held. Due to broken

svn commit: r216846 - head/sys/i386/i386

2010-12-31 Thread Colin Percival
Author: cperciva Date: Fri Dec 31 17:41:14 2010 New Revision: 216846 URL: http://svn.freebsd.org/changeset/base/216846 Log: Make i386_set_ldt work on i386/XEN, step 4/5. Use xen_update_descriptor to update the LDT rather than bcopy. Under Xen, pages used for holding LDTs must be

svn commit: r216847 - in head/sys/i386: i386 include

2010-12-31 Thread Colin Percival
Author: cperciva Date: Fri Dec 31 17:42:25 2010 New Revision: 216847 URL: http://svn.freebsd.org/changeset/base/216847 Log: Make i386_set_ldt work on i386/XEN, step 5/5. When cleaning up a thread, reset its LDT to the default LDT. Note: Casting the LDT pointer to an int and storing it

svn commit: r216848 - in head: . sys/sys

2010-12-31 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 31 18:07:16 2010 New Revision: 216848 URL: http://svn.freebsd.org/changeset/base/216848 Log: Happy New Year 2011. Approved by: core (kib) Modified: head/COPYRIGHT head/sys/sys/copyright.h Modified: head/COPYRIGHT

svn commit: r216851 - in head: bin/sh tools/regression/bin/sh/errors

2010-12-31 Thread Jilles Tjoelker
Author: jilles Date: Fri Dec 31 18:20:17 2010 New Revision: 216851 URL: http://svn.freebsd.org/changeset/base/216851 Log: sh: Check if dup2 for redirection from/to a file succeeds. A failure (e.g. caused by ulimit -n being set very low) is a redirection error. Example: ulimit -n

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Alexander Best
On Fri Dec 31 10, Erik Trulsson wrote: On Fri, Dec 31, 2010 at 03:43:08PM +0100, Jilles Tjoelker wrote: On Thu, Dec 30, 2010 at 06:06:31PM +, Pawel Jakub Dawidek wrote: Author: pjd Date: Thu Dec 30 18:06:31 2010 New Revision: 216823 URL:

svn commit: r216855 - head/sys/net

2010-12-31 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 31 21:06:52 2010 New Revision: 216855 URL: http://svn.freebsd.org/changeset/base/216855 Log: Move the increment operation under the lock and split the condition variable into two so that we can see on which one we are waiting. This might also more properly propagate

svn commit: r216856 - head/sys/net

2010-12-31 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 31 21:20:32 2010 New Revision: 216856 URL: http://svn.freebsd.org/changeset/base/216856 Log: Print the vnet pointer under DDB when iterating over flowtables of each virtual network stack instance. Sponsored by: ISPsystem [1] Reviewed by: julian [1] MFC

svn commit: r216857 - head/sys/netinet

2010-12-31 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 31 21:47:11 2010 New Revision: 216857 URL: http://svn.freebsd.org/changeset/base/216857 Log: Try to catch a possible divide-by-zero as early as possible if mtu is 0 (also test for negative MTUs if checking it anyway). An MTU of 0 is arguably a bug elsewhere, but

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

2010-12-31 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 31 21:52:51 2010 New Revision: 216858 URL: http://svn.freebsd.org/changeset/base/216858 Log: Remove duplicated perfect Pointed out by: pluknet Modified: head/share/man/man4/vte.4 Modified: head/share/man/man4/vte.4

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Warner Losh
On 12/31/2010 07:43, Jilles Tjoelker wrote: On Thu, Dec 30, 2010 at 06:06:31PM +, Pawel Jakub Dawidek wrote: Author: pjd Date: Thu Dec 30 18:06:31 2010 New Revision: 216823 URL: http://svn.freebsd.org/changeset/base/216823 Log: For compatibility with Linux and Solaris add poweroff(8).

svn commit: r216860 - head/sys/dev/msk

2010-12-31 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 31 22:18:41 2010 New Revision: 216860 URL: http://svn.freebsd.org/changeset/base/216860 Log: Fix endianness bug introduced in r205091. After controller updates control word in a RX LE, driver converts it to host byte order. The checksum value in the control

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Erik Trulsson
On Fri, Dec 31, 2010 at 07:00:58PM +, Alexander Best wrote: [snip] another thought: running 'reboot' instead of 'shutdown -r now' *can* cause harm to the system, because an important rc.shutdown script wasn't executed. however running 'shutdown -r now' in single-user mode e.g. will cause

svn commit: r216861 - head/sys/kern

2010-12-31 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 31 22:49:13 2010 New Revision: 216861 URL: http://svn.freebsd.org/changeset/base/216861 Log: Mfp4 CH177924: Add and export constants of array sizes of jail parameters as compiled into the kernel. This is the least intrusive way to allow kvm to read the (sparse)

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Alexander Best
On Fri Dec 31 10, Erik Trulsson wrote: On Fri, Dec 31, 2010 at 07:00:58PM +, Alexander Best wrote: [snip] another thought: running 'reboot' instead of 'shutdown -r now' *can* cause harm to the system, because an important rc.shutdown script wasn't executed. however running

svn commit: r216862 - head/sys/mips/mips

2010-12-31 Thread Juli Mallett
Author: jmallett Date: Sat Jan 1 00:20:14 2011 New Revision: 216862 URL: http://svn.freebsd.org/changeset/base/216862 Log: o) When trying to determine whether the pcpu pointer is a managed address, check not just that it is greater than the minimal kernel virtual address, but also

Re: svn commit: r216823 - head/sbin/shutdown

2010-12-31 Thread Jilles Tjoelker
On Fri, Dec 31, 2010 at 11:31:14PM +0100, Erik Trulsson wrote: On Fri, Dec 31, 2010 at 07:00:58PM +, Alexander Best wrote: another thought: running 'reboot' instead of 'shutdown -r now' *can* cause harm to the system, because an important rc.shutdown script wasn't executed. however