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

2016-11-05 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Nov  5 14:26:23 UTC 2016

Modified Files:
src/sys/arch/arm/arm32: bus_dma.c

Log Message:
Also return early from _bus_dmamap_sync if we're not bouncing and there
are no {pre,post} ops

Now the KASSERT doesn't fire on cats


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/arm/arm32/bus_dma.c

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



CVS commit: src/tests/kernel

2016-11-05 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Nov  5 15:52:35 UTC 2016

Modified Files:
src/tests/kernel: t_ptrace.c

Log Message:
attach1 in t_ptrace no longer fails

Christos Zoulas fixed the issue that a parent sees termination of its child
before a tracer observing it for its tracee.

Many thanks to Christs for his help, he makes progress with tests so quick.

Closes PR kern/51600

Sponsored by .


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tests/kernel/t_ptrace.c

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



CVS commit: [netbsd-7-0] src

2016-11-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Nov  5 17:47:33 UTC 2016

Modified Files:
src/doc [netbsd-7-0]: 3RDPARTY
src/external/bsd/bind [netbsd-7-0]: Makefile.inc
src/external/bsd/bind/bin/delv [netbsd-7-0]: Makefile
src/external/bsd/bind/bin/dig [netbsd-7-0]: Makefile
src/external/bsd/bind/bin/dnssec [netbsd-7-0]: Makefile.inc
src/external/bsd/bind/bin/host [netbsd-7-0]: Makefile
src/external/bsd/bind/bin/named [netbsd-7-0]: Makefile
src/external/bsd/bind/bin/nslookup [netbsd-7-0]: Makefile
src/external/bsd/bind/bin/nsupdate [netbsd-7-0]: Makefile
src/external/bsd/bind/bin/rndc [netbsd-7-0]: Makefile
src/external/bsd/bind/bin/tools [netbsd-7-0]: Makefile.inc
src/external/bsd/bind/dist [netbsd-7-0]: CHANGES README srcid version
src/external/bsd/bind/dist/doc/arm [netbsd-7-0]: Bv9ARM.ch01.html
Bv9ARM.ch02.html Bv9ARM.ch03.html Bv9ARM.ch04.html Bv9ARM.ch05.html
Bv9ARM.ch06.html Bv9ARM.ch07.html Bv9ARM.ch08.html Bv9ARM.ch09.html
Bv9ARM.ch10.html Bv9ARM.ch11.html Bv9ARM.ch12.html Bv9ARM.ch13.html
Bv9ARM.html Bv9ARM.pdf man.arpaname.html man.ddns-confgen.html
man.delv.html man.dig.html man.dnssec-checkds.html
man.dnssec-coverage.html man.dnssec-dsfromkey.html
man.dnssec-importkey.html man.dnssec-keyfromlabel.html
man.dnssec-keygen.html man.dnssec-revoke.html
man.dnssec-settime.html man.dnssec-signzone.html
man.dnssec-verify.html man.genrandom.html man.host.html
man.isc-hmac-fixup.html man.lwresd.html man.named-checkconf.html
man.named-checkzone.html man.named-journalprint.html
man.named-rrchecker.html man.named.conf.html man.named.html
man.nsec3hash.html man.nsupdate.html man.rndc-confgen.html
man.rndc.conf.html man.rndc.html notes.html notes.pdf notes.xml
src/external/bsd/bind/dist/lib/dns [netbsd-7-0]: api resolver.c
src/external/bsd/bind/lib/libbind9 [netbsd-7-0]: Makefile

Log Message:
Pull up following revision(s) (requested by snj in ticket #1271):
doc/3RDPARTY: 1.1374 via patch
external/bsd/bind/Makefile.inc: up to 1.24 via patch
external/bsd/bind/bin/delv/Makefile: up to 1.3
external/bsd/bind/bin/dig/Makefile: up to 1.2
external/bsd/bind/bin/dnssec/Makefile.inc: up to 1.2
external/bsd/bind/bin/host/Makefile: up to 1.2
external/bsd/bind/bin/named/Makefile: up to 1.10
external/bsd/bind/bin/nslookup/Makefile: up to 1.3
external/bsd/bind/bin/nsupdate/Makefile: up to 1.3
external/bsd/bind/bin/rndc/Makefile: up to 1.2
external/bsd/bind/bin/tools/Makefile.inc: up to 1.2
external/bsd/bind/dist/CHANGES: up to 1.23
external/bsd/bind/dist/README: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch01.html: up to 1.1.1.21
external/bsd/bind/dist/doc/arm/Bv9ARM.ch02.html: up to 1.1.1.18
external/bsd/bind/dist/doc/arm/Bv9ARM.ch03.html: up to 1.1.1.23
external/bsd/bind/dist/doc/arm/Bv9ARM.ch04.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch05.html: up to 1.1.1.24
external/bsd/bind/dist/doc/arm/Bv9ARM.ch06.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch07.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch08.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch09.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch10.html: up to 1.1.1.20
external/bsd/bind/dist/doc/arm/Bv9ARM.ch11.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.ch12.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.ch13.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.pdf: up to 1.17
external/bsd/bind/dist/doc/arm/man.arpaname.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.ddns-confgen.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.delv.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dig.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-checkds.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-coverage.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-dsfromkey.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-importkey.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-keyfromlabel.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-keygen.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-revoke.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-settime.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-signzone.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-verify.html: up to 1.11
exte

CVS commit: [netbsd-7-0] src/doc

2016-11-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Nov  5 17:48:24 UTC 2016

Modified Files:
src/doc [netbsd-7-0]: CHANGES-7.0.3

Log Message:
Note #1271


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/doc/CHANGES-7.0.3

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



CVS commit: [netbsd-7] src

2016-11-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Nov  5 17:54:09 UTC 2016

Modified Files:
src/doc [netbsd-7]: 3RDPARTY
src/external/bsd/bind [netbsd-7]: Makefile.inc
src/external/bsd/bind/bin/delv [netbsd-7]: Makefile
src/external/bsd/bind/bin/dig [netbsd-7]: Makefile
src/external/bsd/bind/bin/dnssec [netbsd-7]: Makefile.inc
src/external/bsd/bind/bin/host [netbsd-7]: Makefile
src/external/bsd/bind/bin/named [netbsd-7]: Makefile
src/external/bsd/bind/bin/nslookup [netbsd-7]: Makefile
src/external/bsd/bind/bin/nsupdate [netbsd-7]: Makefile
src/external/bsd/bind/bin/rndc [netbsd-7]: Makefile
src/external/bsd/bind/bin/tools [netbsd-7]: Makefile.inc
src/external/bsd/bind/dist [netbsd-7]: CHANGES README srcid version
src/external/bsd/bind/dist/doc/arm [netbsd-7]: Bv9ARM.ch01.html
Bv9ARM.ch02.html Bv9ARM.ch03.html Bv9ARM.ch04.html Bv9ARM.ch05.html
Bv9ARM.ch06.html Bv9ARM.ch07.html Bv9ARM.ch08.html Bv9ARM.ch09.html
Bv9ARM.ch10.html Bv9ARM.ch11.html Bv9ARM.ch12.html Bv9ARM.ch13.html
Bv9ARM.html Bv9ARM.pdf man.arpaname.html man.ddns-confgen.html
man.delv.html man.dig.html man.dnssec-checkds.html
man.dnssec-coverage.html man.dnssec-dsfromkey.html
man.dnssec-importkey.html man.dnssec-keyfromlabel.html
man.dnssec-keygen.html man.dnssec-revoke.html
man.dnssec-settime.html man.dnssec-signzone.html
man.dnssec-verify.html man.genrandom.html man.host.html
man.isc-hmac-fixup.html man.lwresd.html man.named-checkconf.html
man.named-checkzone.html man.named-journalprint.html
man.named-rrchecker.html man.named.conf.html man.named.html
man.nsec3hash.html man.nsupdate.html man.rndc-confgen.html
man.rndc.conf.html man.rndc.html notes.html notes.pdf notes.xml
src/external/bsd/bind/dist/lib/dns [netbsd-7]: api resolver.c
src/external/bsd/bind/lib/libbind9 [netbsd-7]: Makefile

Log Message:
Pull up following revision(s) (requested by snj in ticket #1271):
doc/3RDPARTY: 1.1374 via patch
external/bsd/bind/Makefile.inc: up to 1.24 via patch
external/bsd/bind/bin/delv/Makefile: up to 1.3
external/bsd/bind/bin/dig/Makefile: up to 1.2
external/bsd/bind/bin/dnssec/Makefile.inc: up to 1.2
external/bsd/bind/bin/host/Makefile: up to 1.2
external/bsd/bind/bin/named/Makefile: up to 1.10
external/bsd/bind/bin/nslookup/Makefile: up to 1.3
external/bsd/bind/bin/nsupdate/Makefile: up to 1.3
external/bsd/bind/bin/rndc/Makefile: up to 1.2
external/bsd/bind/bin/tools/Makefile.inc: up to 1.2
external/bsd/bind/dist/CHANGES: up to 1.23
external/bsd/bind/dist/README: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch01.html: up to 1.1.1.21
external/bsd/bind/dist/doc/arm/Bv9ARM.ch02.html: up to 1.1.1.18
external/bsd/bind/dist/doc/arm/Bv9ARM.ch03.html: up to 1.1.1.23
external/bsd/bind/dist/doc/arm/Bv9ARM.ch04.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch05.html: up to 1.1.1.24
external/bsd/bind/dist/doc/arm/Bv9ARM.ch06.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch07.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch08.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch09.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch10.html: up to 1.1.1.20
external/bsd/bind/dist/doc/arm/Bv9ARM.ch11.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.ch12.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.ch13.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.pdf: up to 1.17
external/bsd/bind/dist/doc/arm/man.arpaname.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.ddns-confgen.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.delv.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dig.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-checkds.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-coverage.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-dsfromkey.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-importkey.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-keyfromlabel.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-keygen.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-revoke.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-settime.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-signzone.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-verify.html: up to 1.11
external/bsd/bind/dist/doc/arm/man

CVS commit: [netbsd-7] src/doc

2016-11-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Nov  5 17:55:56 UTC 2016

Modified Files:
src/doc [netbsd-7]: CHANGES-7.1

Log Message:
Note #1271


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.117 -r1.1.2.118 src/doc/CHANGES-7.1

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



CVS commit: src/sys/netinet

2016-11-05 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Nov  5 20:03:15 UTC 2016

Modified Files:
src/sys/netinet: if_arp.c

Log Message:
Don't handle ARP duplication for the unspecified address.


To generate a diff of this commit:
cvs rdiff -u -r1.231 -r1.232 src/sys/netinet/if_arp.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/stdlib

2016-11-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Nov  5 20:57:31 UTC 2016

Modified Files:
src/lib/libc/stdlib: strtoul.3

Log Message:
Update strtoul(3) example to reflect clarifications in strtol(3).


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/lib/libc/stdlib/strtoul.3

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

2016-11-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Nov  5 21:11:30 UTC 2016

Modified Files:
src/common/lib/libc/stdlib: _strtoul.h

Log Message:
Set *endptr in all paths out of strtoul and family.

XXX pullup-6
XXX pullup-7


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/common/lib/libc/stdlib/_strtoul.h

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



CVS commit: src/tests/lib/libc/sys

2016-11-05 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Nov  5 21:49:28 UTC 2016

Modified Files:
src/tests/lib/libc/sys: t_wait.c

Log Message:
Add new test wait6_stopgo_loop in t_wait

This test verifies that it is possible to emit multiple times SIGSTOP and
SIGCONT for a child.

Add checks that status does not return more than one valid state from the
following list: STOPPED, CONTINUED, EXITED and SIGNALED. This check fails
for WIFCONTINUED()==true as it currently and wrongly returns true for
WIFSTOPPED().

This verification is added to wait6_stopgo_loop and wait6_stop_and_go and
marked as expected failure and linked with PR standards/51603.

Remove trailing whitespace.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_wait.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/time

2016-11-05 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sat Nov  5 22:21:48 UTC 2016

Modified Files:
src/lib/libc/time: zic.c

Log Message:
Revert a couple of lines of code from tzcode2016i to their state in 2016h

SIZE_MAX is the max value of a size_t (and is unsigned) so when converted
to a ptrdiff_t  (int) becomes -1.   That's not what the code was attempting
to achieve.

This will be reported upstream to the tzcode maintainers, and we'll see
what variation appears in tzcode2016j ...

Until then, the older code always worked for us, so it will do for now.

This should fix the broken i386 build.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/lib/libc/time/zic.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/time

2016-11-05 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sat Nov  5 23:09:37 UTC 2016

Modified Files:
src/lib/libc/time: zic.c

Log Message:
Actually, this problem won't be reported upstream, their code is
just ...

ptrdiff_t nitems_max = PTRDIFF_MAX - WORK_AROUND_QTBUG_53071;
ptrdiff_t amax = nitems_max < SIZE_MAX ? nitems_max : SIZE_MAX;

which is just fine if you think about it a little,   Unfortunately,
in our zealous effort to never leave a ggc warning unused, and to
treat all of the warnings as fatal errors, that code falls foul of the
"you must not compare an unsigned value with a signed value" warning.

nitems_max is a (signed) largish positive integer (obviously, by
inspection).  If it is less than SIZE_MAX then amax is just nitems_max.
In the unlikely case that size_t has less bits than ptrdiff_t so
SIZE_MAX is smaller, amax is limited to SIZE_MAX (which in that case
is known to fit in the ptrdiff_t and to remain positive).

To pacify gcc (and the way the build system uses it), casts are
required.   Unfortunately the cast that was installed here was to
convert SIZE_MAX to a ptrdiff_t.  Unfortunately when ptrdiff_t has
the same number of bits (or less) as size_t (ie: the common case)
but is signed, (ptrdiff_t)SIZE_MAX is just a fancy way of writing -1.

Rearrange the casting in a way that keeps the original intent
of the code for us (it is actyaly now incorrect if size_t has less
bits than a ptrdiff_t) and keeps gcc happy, all at the same time.

What a mess.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/lib/libc/time/zic.c

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



CVS commit: src/sys

2016-11-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Nov  5 23:30:22 UTC 2016

Modified Files:
src/sys/compat/common: Makefile Makefile.sysio compat_mod.c if_43.c
src/sys/net: if.c
Added Files:
src/sys/compat/common: if_43.h

Log Message:
Move if_43.c back into the shared Makefile.sysio where it really
belongs.

Update the code to invoke the two routines compat_cvtcmd() and
compat_ifioctl() through indirect pointers.  Initialize those
pointers in sys/net/if.c and update them in the compat module's
initialization code.

Addresses the issue pointed out in PR kern/51598


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/compat/common/Makefile
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/common/Makefile.sysio
cvs rdiff -u -r1.23 -r1.24 src/sys/compat/common/compat_mod.c
cvs rdiff -u -r1.12 -r1.13 src/sys/compat/common/if_43.c
cvs rdiff -u -r0 -r1.1 src/sys/compat/common/if_43.h
cvs rdiff -u -r1.360 -r1.361 src/sys/net/if.c

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



CVS commit: src/sys/sys

2016-11-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Nov  5 23:49:59 UTC 2016

Modified Files:
src/sys/sys: wait.h

Log Message:
Since the stopped bits set is a subset of the continued bits set, check
that we are not continued in WIFSTOPPED.
Make WIFSIGNALED more obvious, it being the remaining state of not exited,
not stopped and not continued.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/sys/wait.h

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



CVS commit: src/share/man/man4

2016-11-05 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Sun Nov  6 02:27:34 UTC 2016

Modified Files:
src/share/man/man4: inphy.4

Log Message:
Add 82562 and wm(4).


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/inphy.4

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



CVS commit: src/tests/lib/libc/sys

2016-11-05 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun Nov  6 02:28:57 UTC 2016

Modified Files:
src/tests/lib/libc/sys: t_wait.c

Log Message:
All tests in t_wait now pass

Christos Zoulas committed fixes to src/sys/sys/wait.h r.1.32.

Closes PR standards/51603

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libc/sys/t_wait.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/pci

2016-11-05 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Sun Nov  6 02:38:25 UTC 2016

Modified Files:
src/sys/dev/pci: if_wm.c

Log Message:
Add "10/100" into non-gigabit devices' name.


To generate a diff of this commit:
cvs rdiff -u -r1.437 -r1.438 src/sys/dev/pci/if_wm.c

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