CVS commit: src/sys/kern

2012-08-18 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Aug 18 08:54:07 UTC 2012

Modified Files:
src/sys/kern: kern_synch.c

Log Message:
PR/46811: Tetsua Isaki: Don't handle cpu limits when runtime is negative.


To generate a diff of this commit:
cvs rdiff -u -r1.302 -r1.303 src/sys/kern/kern_synch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sparc/miniroot

2012-08-18 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Aug 18 09:33:31 UTC 2012

Modified Files:
src/distrib/sparc/miniroot: Makefile.inc

Log Message:
add ipty to the list of MAKEDEVTARGETS.  should fix PR#46812.
certainly makes the qemu/sparc install work for me with netbsd-6.

XXX: pullup.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/distrib/sparc/miniroot/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2012-08-18 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Aug 18 10:27:58 UTC 2012

Modified Files:
src/doc: 3RDPARTY

Log Message:
gdb-7.5 out.


To generate a diff of this commit:
cvs rdiff -u -r1.958 -r1.959 src/doc/3RDPARTY

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/uvm

2012-08-18 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Sat Aug 18 14:28:05 UTC 2012

Modified Files:
src/sys/uvm: uvm_map.c

Log Message:
avoid leaking a uvm_object reference when merging a new map entry
with the entries on both sides.  fixes PR 46807.


To generate a diff of this commit:
cvs rdiff -u -r1.318 -r1.319 src/sys/uvm/uvm_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/gen

2012-08-18 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Sat Aug 18 14:42:46 UTC 2012

Modified Files:
src/lib/libc/gen: arc4random.c

Log Message:
Use an inline function to check for initialisation, and an non-inlined
  one to do the actual initialise.
Fixes lib/46751 by removing all the replicated tests in each function.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/gen/arc4random.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/gen

2012-08-18 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Sat Aug 18 15:04:53 UTC 2012

Modified Files:
src/lib/libc/gen: arc4random.c

Log Message:
Change the logic used for thread locking to make the code more readable.
The effect on the object code is to replace a function call with a
  branch that will predict correctly in the non-threaded case.
Minor optimise of some other paths.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/gen/arc4random.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/netbsd32

2012-08-18 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Aug 18 15:25:15 UTC 2012

Modified Files:
src/sys/compat/netbsd32: netbsd32_socket.c

Log Message:
Do not use a userland pointer, but the copied-in kernel version instead.
While there, reorder loop end condition for efficency.
Fixes net/fdpass tests on all archs with separate kernel/userland VA.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/compat/netbsd32/netbsd32_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libc/gen

2012-08-18 Thread David Laight
Module Name:src
Committed By:   dsl
Date:   Sat Aug 18 15:55:07 UTC 2012

Modified Files:
src/lib/libc/gen: arc4random.c

Log Message:
cache rs.i and rs.j in arc4random_buf() since the compiler can't be
  told that buf[] dosn't alias them.
Reduces the number of instructions inside the loop.
All the other functions are ok.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/gen/arc4random.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/compat/netbsd32

2012-08-18 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat Aug 18 22:01:41 UTC 2012

Modified Files:
src/sys/compat/netbsd32 [netbsd-6]: netbsd32_socket.c

Log Message:
Pull up following revision(s) (requested by martin in ticket #510):
sys/compat/netbsd32/netbsd32_socket.c: revision 1.41
Do not use a userland pointer, but the copied-in kernel version instead.
While there, reorder loop end condition for efficency.
Fixes net/fdpass tests on all archs with separate kernel/userland VA.


To generate a diff of this commit:
cvs rdiff -u -r1.39.2.1 -r1.39.2.2 src/sys/compat/netbsd32/netbsd32_socket.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/uvm

2012-08-18 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat Aug 18 22:03:24 UTC 2012

Modified Files:
src/sys/uvm [netbsd-6]: uvm_map.c

Log Message:
Pull up following revision(s) (requested by chs in ticket #508):
sys/uvm/uvm_map.c: revision 1.319
avoid leaking a uvm_object reference when merging a new map entry
with the entries on both sides.  fixes PR 46807.


To generate a diff of this commit:
cvs rdiff -u -r1.313.2.2 -r1.313.2.3 src/sys/uvm/uvm_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src

2012-08-18 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat Aug 18 22:11:45 UTC 2012

Modified Files:
src/distrib/sparc/miniroot [netbsd-6]: Makefile.inc
src/etc/etc.vax [netbsd-6]: MAKEDEV.conf

Log Message:
Pull up following revision(s) (requested by martin in ticket #512):
distrib/sparc/miniroot/Makefile.inc: revision 1.19
etc/etc.vax/MAKEDEV.conf: revision 1.17
Seems like all the trendy ramdisks are using "makedev ipty" rather than
"makedev pty0" now. Update vax to match so install media doesn't fail
with
.../MAKEDEV: pty0: creating BSD style tty nodes with ptyfs is a security issue
add ipty to the list of MAKEDEVTARGETS.  should fix PR#46812.
certainly makes the qemu/sparc install work for me with netbsd-6.
XXX: pullup.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.18.8.1 src/distrib/sparc/miniroot/Makefile.inc
cvs rdiff -u -r1.13.4.2 -r1.13.4.3 src/etc/etc.vax/MAKEDEV.conf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/doc

2012-08-18 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Sat Aug 18 22:15:05 UTC 2012

Modified Files:
src/doc [netbsd-6]: CHANGES-6.0

Log Message:
Tickets 508, 510, 512 - and move the netbsd-6-0-RC1 tag to include
these changes.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.193 -r1.1.2.194 src/doc/CHANGES-6.0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/broadcom

2012-08-18 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat Aug 18 22:28:23 UTC 2012

Modified Files:
src/sys/arch/arm/broadcom: bcm2835_intr.c

Log Message:
Fix two copypasteos that resulted in interrupt strings being wrong for
(among other interrutps) the plcom(4) and the sdhc(4).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/broadcom/bcm2835_intr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.