CVS commit: src

2015-05-29 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Fri May 29 07:37:32 UTC 2015

Modified Files:
src/include: limits.h
src/lib/libpthread: pthread.c pthread_int.h pthread_key_create.3
pthread_tsd.c
src/lib/libpthread_dbg: pthread_dbg.c

Log Message:
Make PTHREAD_KEYS_MAX dynamically adjustable

NetBSD's PTHREAD_KEYS_MAX is set to 256, which is low compared to
other systems like Linux (1024) or MacOS X (512). As a result some
setups tested on Linux will exhibit problems on NetBSD because of
pthread_keys usage beyond the limit. This happens for instance on
Apache with various module loaded, and in this case no particular
developper can be blamed for going beyond the limit, since several
modules from different sources contribute to the problem.

This patch makes the limit conigurable through the PTHREAD_KEYS_MAX
environement variable. If undefined, the default remains unchanged
(256). In any case, the value cannot be lowered below POSIX-mandated
_POSIX_THREAD_KEYS_MAX (128).

While there:
- use EXIT_FAILURE instead of 1 when calling err(3) in libpthread.
- Reset _POSIX_THREAD_KEYS_MAX to POSIX mandated 128, instead of 256.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/include/limits.h
cvs rdiff -u -r1.145 -r1.146 src/lib/libpthread/pthread.c
cvs rdiff -u -r1.90 -r1.91 src/lib/libpthread/pthread_int.h
cvs rdiff -u -r1.6 -r1.7 src/lib/libpthread/pthread_key_create.3
cvs rdiff -u -r1.11 -r1.12 src/lib/libpthread/pthread_tsd.c
cvs rdiff -u -r1.42 -r1.43 src/lib/libpthread_dbg/pthread_dbg.c

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



CVS commit: src/distrib/notes/common

2015-05-29 Thread Youri Mouton
Module Name:src
Committed By:   youri
Date:   Fri May 29 09:13:49 UTC 2015

Modified Files:
src/distrib/notes/common: main

Log Message:
Add myself.


To generate a diff of this commit:
cvs rdiff -u -r1.521 -r1.522 src/distrib/notes/common/main

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



CVS commit: src/tests/net/if_bridge

2015-05-29 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Fri May 29 10:08:52 UTC 2015

Modified Files:
src/tests/net/if_bridge: t_bridge.sh

Log Message:
Disable test_ping_failure which is conducted before setup_bridge

It randomly fails (esp, often on a slow or loaded machine) due to
PR kern/49219, so disable it for now.

I forgot why I didn't include the test when I committed the test
at first and wrongly added it at v1.4.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/net/if_bridge/t_bridge.sh

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



CVS commit: src/lib/libintl

2015-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 12:26:28 UTC 2015

Modified Files:
src/lib/libintl: gettext.c libintl.h textdomain.c

Log Message:
Patch from William Orr in tech-userlevel:

- Added most *p*gettext functions
- Added basic function to concat msgctxt and msgid
- Simplify free handling

Need to write tests.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libintl/gettext.c
cvs rdiff -u -r1.4 -r1.5 src/lib/libintl/libintl.h
cvs rdiff -u -r1.13 -r1.14 src/lib/libintl/textdomain.c

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



CVS commit: src/lib/libintl

2015-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 12:27:03 UTC 2015

Modified Files:
src/lib/libintl: shlib_version

Log Message:
bump for p functions


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libintl/shlib_version

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



CVS commit: src/distrib/sets/lists

2015-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 12:28:08 UTC 2015

Modified Files:
src/distrib/sets/lists/base: ad.aarch64 ad.arm ad.mips ad.powerpc
ad.riscv md.amd64 md.sparc64 shl.mi
src/distrib/sets/lists/debug: ad.aarch64 ad.arm ad.mips ad.powerpc
ad.riscv md.amd64 md.sparc64 shl.mi

Log Message:
bump libintl


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/distrib/sets/lists/base/ad.aarch64
cvs rdiff -u -r1.73 -r1.74 src/distrib/sets/lists/base/ad.arm
cvs rdiff -u -r1.68 -r1.69 src/distrib/sets/lists/base/ad.mips
cvs rdiff -u -r1.36 -r1.37 src/distrib/sets/lists/base/ad.powerpc
cvs rdiff -u -r1.18 -r1.19 src/distrib/sets/lists/base/ad.riscv
cvs rdiff -u -r1.263 -r1.264 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.251 -r1.252 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.736 -r1.737 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.21 -r1.22 src/distrib/sets/lists/debug/ad.aarch64
cvs rdiff -u -r1.62 -r1.63 src/distrib/sets/lists/debug/ad.arm
cvs rdiff -u -r1.57 -r1.58 src/distrib/sets/lists/debug/ad.mips
cvs rdiff -u -r1.37 -r1.38 src/distrib/sets/lists/debug/ad.powerpc
cvs rdiff -u -r1.18 -r1.19 src/distrib/sets/lists/debug/ad.riscv
cvs rdiff -u -r1.83 -r1.84 src/distrib/sets/lists/debug/md.amd64
cvs rdiff -u -r1.81 -r1.82 src/distrib/sets/lists/debug/md.sparc64
cvs rdiff -u -r1.97 -r1.98 src/distrib/sets/lists/debug/shl.mi

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



CVS commit: src/sys/rump/net

2015-05-29 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri May 29 12:32:23 UTC 2015

Modified Files:
src/sys/rump/net: Makefile.rumpnetcomp
Added Files:
src/sys/rump/net/lib/libtap: Makefile tap_component.c

Log Message:
Add a rump kernel component for the tap device.

from Wei Liu  via private email


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/rump/net/Makefile.rumpnetcomp
cvs rdiff -u -r0 -r1.1 src/sys/rump/net/lib/libtap/Makefile \
src/sys/rump/net/lib/libtap/tap_component.c

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



CVS commit: src/distrib/sets/lists

2015-05-29 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri May 29 12:38:18 UTC 2015

Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/comp: mi shl.mi
src/distrib/sets/lists/debug: mi shl.mi

Log Message:
game of setlists for rumpnet_tap


To generate a diff of this commit:
cvs rdiff -u -r1.737 -r1.738 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.1961 -r1.1962 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.273 -r1.274 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.115 -r1.116 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.98 -r1.99 src/distrib/sets/lists/debug/shl.mi

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/amlogic

2015-05-29 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri May 29 12:41:14 UTC 2015

Modified Files:
src/sys/arch/arm/amlogic: amlogic_crureg.h amlogic_gpio.c

Log Message:
Fix pin group mappings and non-DIAGNOSTIC kernel builds, from anon ymous.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/amlogic/amlogic_crureg.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/amlogic/amlogic_gpio.c

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



CVS commit: src/distrib/sets/lists/debug

2015-05-29 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri May 29 13:41:39 UTC 2015

Modified Files:
src/distrib/sets/lists/debug: ad.arm

Log Message:
Fix compat debug lists for ARM


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/distrib/sets/lists/debug/ad.arm

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



CVS commit: src/distrib/sets/lists/xdebug

2015-05-29 Thread Hisashi T Fujinaka
Module Name:src
Committed By:   htodd
Date:   Fri May 29 13:55:54 UTC 2015

Modified Files:
src/distrib/sets/lists/xdebug: md.i386

Log Message:
Fix debug build - something isn't right in the radeon build.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/distrib/sets/lists/xdebug/md.i386

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



CVS commit: src/share/mk

2015-05-29 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri May 29 14:15:14 UTC 2015

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Enable MKCOMPAT for earm*, now that it works. Ok: matt@


To generate a diff of this commit:
cvs rdiff -u -r1.851 -r1.852 src/share/mk/bsd.own.mk

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



CVS commit: src/lib/libpthread

2015-05-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 29 16:05:13 UTC 2015

Modified Files:
src/lib/libpthread: pthread.c pthread_int.h pthread_tsd.c

Log Message:
Fix previous: Can't use calloc/malloc before we complete initialization
of the thread library, because malloc uses pthread_foo_specific, and it will
end up initializing itself incorrectly.


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/lib/libpthread/pthread.c
cvs rdiff -u -r1.91 -r1.92 src/lib/libpthread/pthread_int.h
cvs rdiff -u -r1.12 -r1.13 src/lib/libpthread/pthread_tsd.c

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



CVS commit: src/sys/dev

2015-05-29 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri May 29 16:26:45 UTC 2015

Modified Files:
src/sys/dev: cons.c

Log Message:
for some reason the previous commit causes ARCS firmware on sgimips64 to
spew an endless stream of white ( or rather, blue ) spaces. So revert to
the old code for sgimips only until I can figure out why.
Now sgimips64 n32 kernels boot again.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/cons.c

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



CVS commit: src

2015-05-29 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 29 17:40:41 UTC 2015

Modified Files:
src/distrib/sets/lists/comp: mi
src/external/bsd/llvm/include: Makefile

Log Message:
Until we have a solution for stdatomic.h for GCC 4.8, install Clang's
version under /usr/include/clang-3.6 to match the C11 default.


To generate a diff of this commit:
cvs rdiff -u -r1.1962 -r1.1963 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.36 -r1.37 src/external/bsd/llvm/include/Makefile

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



CVS commit: src/external/bsd/llvm

2015-05-29 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 29 17:37:50 UTC 2015

Modified Files:
src/external/bsd/llvm: Makefile.inc
src/external/bsd/llvm/config/clang/Config: config.h
src/external/bsd/llvm/config/llvm/Config: config.h.in llvm-config.h.in

Log Message:
Update build glue for LLVM/Clang 3.6.1. This brings in a number of
bugfixes for various platforms and corrects the mcount symbol on
NetBSD/ARM.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/external/bsd/llvm/Makefile.inc
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/llvm/config/clang/Config/config.h
cvs rdiff -u -r1.15 -r1.16 \
src/external/bsd/llvm/config/llvm/Config/config.h.in
cvs rdiff -u -r1.8 -r1.9 \
src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in

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



CVS commit: [LLVM] src/external/bsd/llvm/dist/llvm/test/CodeGen

2015-05-29 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 29 17:32:05 UTC 2015

Removed Files:
src/external/bsd/llvm/dist/llvm/test/CodeGen/R600 [LLVM]: fdiv64.ll
llvm.SI.fs.interp.constant.ll
src/external/bsd/llvm/dist/llvm/test/CodeGen/X86 [LLVM]:
fastmath-optnone.ll

Log Message:
Mark files not present in llvm-237755 as dead.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r0 \
src/external/bsd/llvm/dist/llvm/test/CodeGen/R600/fdiv64.ll \

src/external/bsd/llvm/dist/llvm/test/CodeGen/R600/llvm.SI.fs.interp.constant.ll
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastmath-optnone.ll

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



CVS commit: src/lib/libpthread

2015-05-29 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri May 29 18:00:51 UTC 2015

Modified Files:
src/lib/libpthread: pthread_key_create.3

Log Message:
Bump date for previous.
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libpthread/pthread_key_create.3

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



CVS commit: src/sys/arch/mips/ingenic

2015-05-29 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri May 29 18:47:13 UTC 2015

Modified Files:
src/sys/arch/mips/ingenic: ingenic_regs.h

Log Message:
fix pasto


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/mips/ingenic/ingenic_regs.h

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



CVS commit: src/external/gpl3/gcc/dist/gcc/config/mips

2015-05-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri May 29 19:37:27 UTC 2015

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/mips: netbsd.h

Log Message:
Add the historical __OCTEON__ builtin_define along with __mips_popcount which
is defined if the platform has the dpop/pop instructions.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h

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



CVS commit: src/sys/lib/libkern

2015-05-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri May 29 19:38:59 UTC 2015

Modified Files:
src/sys/lib/libkern: libkern.h

Log Message:
If the platform support popcount as a __builtin, use that in preference
to the libc versions.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/sys/lib/libkern/libkern.h

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



CVS commit: src/common/lib/libc/string

2015-05-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri May 29 19:39:41 UTC 2015

Modified Files:
src/common/lib/libc/string: popcount32.c popcount64.c

Log Message:
Don't compile if there is a macro of the same name.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/string/popcount32.c
cvs rdiff -u -r1.7 -r1.8 src/common/lib/libc/string/popcount64.c

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



CVS commit: src/external/gpl3/binutils/dist/gas/config

2015-05-29 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri May 29 22:18:51 UTC 2015

Modified Files:
src/external/gpl3/binutils/dist/gas/config: tc-mips.c

Log Message:
Fix a bug where the octeon+ saa/saad instructions think they are using the AT
register when they actually aren't.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/binutils/dist/gas/config/tc-mips.c

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



CVS commit: src/sys/dev/gpio

2015-05-29 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri May 29 23:17:13 UTC 2015

Modified Files:
src/sys/dev/gpio: files.gpio
Added Files:
src/sys/dev/gpio: gpiorfkill.c

Log Message:
Simple driver for gpio control of rf enable/disable pins.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/gpio/files.gpio
cvs rdiff -u -r0 -r1.1 src/sys/dev/gpio/gpiorfkill.c

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



CVS commit: src/sys/arch/evbarm/conf

2015-05-29 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri May 29 23:18:30 UTC 2015

Modified Files:
src/sys/arch/evbarm/conf: JETSONTK1

Log Message:
Replace ath with athn, and attach gpiorfkill to GPIO X7


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/evbarm/conf/JETSONTK1

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



CVS commit: src/sys/dev/ic

2015-05-29 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 30 00:56:42 UTC 2015

Modified Files:
src/sys/dev/ic: arn5008.c

Log Message:
disable interrupts when we get an rfsilent event, and make sure to clear intr 
sync cause register


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/ic/arn5008.c

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



CVS commit: src/sys/dev/usb

2015-05-29 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat May 30 06:10:38 UTC 2015

Modified Files:
src/sys/dev/usb: usb.c

Log Message:
Add missing KERNHIST_LINK_STATIC(usbhist).  Pointed out by t-hash.


To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 src/sys/dev/usb/usb.c

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



CVS commit: src/sys/dev/usb

2015-05-29 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat May 30 06:41:08 UTC 2015

Modified Files:
src/sys/dev/usb: usb.c usbhist.h

Log Message:
Make the non-USBHIST case compile


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/usb/usbhist.h

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