CVS commit: src/usr.bin/netstat

2016-12-17 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sat Dec 17 09:12:22 UTC 2016

Modified Files:
src/usr.bin/netstat: inet6.c

Log Message:
Print previously missing fields from a TCP6 PCB.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/usr.bin/netstat/inet6.c

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



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-12-17 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Dec 17 10:08:30 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: ohci.c

Log Message:
Tweak a couple of comments


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

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



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-12-17 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Dec 17 10:10:34 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: ohci.c

Log Message:
Wrap a long line.


To generate a diff of this commit:
cvs rdiff -u -r1.254.2.80 -r1.254.2.81 src/sys/dev/usb/ohci.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

2016-12-17 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Dec 17 10:25:49 UTC 2016

Modified Files:
src/lib/libc/gen: scandir.3

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/gen/scandir.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/arm/nvidia

2016-12-17 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Dec 17 12:11:38 UTC 2016

Modified Files:
src/sys/arch/arm/nvidia: tegra_drm.h tegra_drm_fb.c tegra_fb.c

Log Message:
Fix regression introduced by myself with the addition of da_fb_linebytes

tegra_fb was not adjusted so da_fb_linebytes was used uninitialized

add tfa_fb_linebytes and match radeonfb/nouveaufb code in how we set it
switch to using an initializer to hopefully avoid future errors

this change doesn't need to be pulled up, as tegra_fb.c is absent
in netbsd-7


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/nvidia/tegra_drm.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/nvidia/tegra_drm_fb.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/nvidia/tegra_fb.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/x86/x86

2016-12-17 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Dec 17 13:43:33 UTC 2016

Modified Files:
src/sys/arch/x86/x86: pmap.c

Log Message:
Use pmap_bootstrap_valloc and simplify. By the way, I think the cache
stuff is wrong, since the pte is not necessarily aligned to 64 bytes, so
nothing guarantees there is no false sharing.


To generate a diff of this commit:
cvs rdiff -u -r1.232 -r1.233 src/sys/arch/x86/x86/pmap.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/amd64/amd64

2016-12-17 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Dec 17 13:49:05 UTC 2016

Modified Files:
src/sys/arch/amd64/amd64: locore.S

Log Message:
Fix the name of the labels. I think I got confused by jne, so while here
replace it by jnz, which is more explicit.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/arch/amd64/amd64/locore.S

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



CVS commit: src/sys/arch/i386/i386

2016-12-17 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Dec 17 14:27:53 UTC 2016

Modified Files:
src/sys/arch/i386/i386: gdt.c machdep.c

Log Message:
Put a limit in the percpu segment, so we can detect overflows on %fs.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/i386/i386/gdt.c
cvs rdiff -u -r1.768 -r1.769 src/sys/arch/i386/i386/machdep.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

2016-12-17 Thread Felix Deichmann
Module Name:src
Committed By:   flxd
Date:   Sat Dec 17 14:36:30 UTC 2016

Modified Files:
src/sys/arch/alpha/include: cpu.h
src/sys/arch/amiga/include: cpu.h
src/sys/arch/arm/arm32: pmap.c
src/sys/arch/cesfic/include: cpu.h
src/sys/arch/evbcf/include: cpu.h
src/sys/arch/hp300/include: cpu.h
src/sys/arch/luna68k/include: cpu.h
src/sys/arch/mac68k/include: cpu.h
src/sys/arch/mvme68k/include: cpu.h
src/sys/arch/news68k/include: cpu.h
src/sys/arch/next68k/include: cpu.h
src/sys/arch/x68k/include: cpu.h

Log Message:
Fix typo "one the" and architecture where appropriate.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/alpha/include/cpu.h
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/amiga/include/cpu.h
cvs rdiff -u -r1.340 -r1.341 src/sys/arch/arm/arm32/pmap.c
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/cesfic/include/cpu.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbcf/include/cpu.h
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/hp300/include/cpu.h
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/luna68k/include/cpu.h
cvs rdiff -u -r1.98 -r1.99 src/sys/arch/mac68k/include/cpu.h
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/mvme68k/include/cpu.h
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/news68k/include/cpu.h
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/next68k/include/cpu.h
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/x68k/include/cpu.h

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



CVS commit: src/sys/arch

2016-12-17 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Dec 17 14:49:26 UTC 2016

Modified Files:
src/sys/arch/amd64/conf: XEN3_DOM0 XEN3_DOMU
src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU

Log Message:
Add MODULAR in Xen kernels.


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/amd64/conf/XEN3_DOMU
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/i386/conf/XEN3_DOMU

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



CVS commit: src/sys/dev

2016-12-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 17 15:18:28 UTC 2016

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

Log Message:
fix broken, audio_{g,s}et_port logic.


To generate a diff of this commit:
cvs rdiff -u -r1.282 -r1.283 src/sys/dev/audio.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/x86/x86

2016-12-17 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Dec 17 15:23:08 UTC 2016

Modified Files:
src/sys/arch/x86/x86: identcpu.c

Log Message:
Remove a wrong comment - the FPU save size should never be percpu -, and
be more explicit about Xen.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/x86/x86/identcpu.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/arm

2016-12-17 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Dec 17 15:24:35 UTC 2016

Modified Files:
src/sys/arch/arm/broadcom: bcm2835_rng.c
src/sys/arch/arm/nvidia: tegra124_car.c
src/sys/arch/arm/omap: am335x_trng.c

Log Message:
Simplify bcm2835, tegra, and am335x hardware RNG drivers.

Tested by nick@.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/broadcom/bcm2835_rng.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/nvidia/tegra124_car.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/omap/am335x_trng.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

2016-12-17 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Dec 17 15:27:26 UTC 2016

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

Log Message:
Call {mutex,cv}_destroy on all mutexes/condvars


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

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



CVS commit: [nick-nhusb] src/sys/dev/usb

2016-12-17 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Dec 17 15:30:34 UTC 2016

Modified Files:
src/sys/dev/usb [nick-nhusb]: if_athn_usb.c

Log Message:
Call {mutex,cv}_destroy on all mutexes/condvars


To generate a diff of this commit:
cvs rdiff -u -r1.6.8.14 -r1.6.8.15 src/sys/dev/usb/if_athn_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

2016-12-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 17 16:08:29 UTC 2016

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

Log Message:
factor out duplicated code.


To generate a diff of this commit:
cvs rdiff -u -r1.283 -r1.284 src/sys/dev/audio.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

2016-12-17 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Dec 17 17:04:04 UTC 2016

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

Log Message:
audio: don't use an uninitialized variable.

PR kern/51717: audioattach erroneously fails due to uninitialized variable
from flxd.

while here, switch to use aprint_error_dev.


To generate a diff of this commit:
cvs rdiff -u -r1.284 -r1.285 src/sys/dev/audio.c

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



CVS commit: src/usr.sbin/makemandb

2016-12-17 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sat Dec 17 17:04:38 UTC 2016

Modified Files:
src/usr.sbin/makemandb: makemandb.c

Log Message:
Don't ignore symlinks.
There can be symlinks which are pointing to man pages not installed in
one of the _default locations mentioned in man.conf or MANPATH. For example
there are man pages in /usr/pkg/man which are symlinked to pages in
/usr/pkg/lib/perl5/man. If we ignore symlinks, we would not be able to
index such pages installed outside the default set of directories.

(Also, the symlink test was incorecct, so we never noticed this issue)

Ok christos@, wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/makemandb/makemandb.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/ia64/stand/ia64/ski

2016-12-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 17 18:41:13 UTC 2016

Modified Files:
src/sys/arch/ia64/stand/ia64/ski: Makefile

Log Message:
XXX: Can't do PIE yet because of gp relocation in start.S


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/ia64/stand/ia64/ski/Makefile

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



CVS commit: src/sbin/ping

2016-12-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Dec 18 00:21:33 UTC 2016

Modified Files:
src/sbin/ping: ping.c

Log Message:
PR bin/36997 Zafer Aydogan: ping doesn't validate numeric inputs enough.

Check for values between INT_MAX and LONG_MAX (if they're different)
when using strtol to get an int. This applies to the -c and -l options;
the other uses were already checked.

Also limit the inter-packet interval given with -i to values that
don't cause integer overflow calling poll() with milliseconds.

Really large intervals (the number is read as floating point) can
produce positive poll() values but negative integers when converted to
struct timespec; this produces behavior akin to using -l at first and
could be construed as a local DoS vulnerability.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sbin/ping/ping.c

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



CVS commit: src/sbin/ping

2016-12-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Dec 18 01:19:34 UTC 2016

Modified Files:
src/sbin/ping: ping.c

Log Message:
PR bin/36997 Zafer Aydogan: ping doesn't validate numeric inputs enough.

Reject packet intervals < 1 ns as they lead to infinite loops adding
zero timespecs.

Fix the behind-schedule behavior so it doesn't spend all its time in
that loop adding very small timespecs. Try ping -c 500 -i 0.1
to see this in action with the old ping.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/sbin/ping/ping.c

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



CVS commit: src/sbin/ping6

2016-12-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Dec 18 01:30:54 UTC 2016

Modified Files:
src/sbin/ping6: ping6.c

Log Message:
Merge the PR 36997 fixes into ping6. It already didn't accept too
small or wildly too large intervals, but it did allow intervals that
failed at poll(). Since that's signed integer overflow and thus UB,
better not to.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sbin/ping6/ping6.c

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



CVS commit: src

2016-12-17 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sun Dec 18 02:18:29 UTC 2016

Modified Files:
src/distrib/sets/lists/base: mi
src/external/intel-fw-public: Makefile
src/external/intel-fw-public/iwl7260: Makefile
src/external/intel-fw-public/iwl7265: Makefile
src/sys/dev/pci: if_iwm.c if_iwmreg.h if_iwmvar.h
Added Files:
src/external/intel-fw-public/iwl7260/dist: iwlwifi-7260-16.ucode
src/external/intel-fw-public/iwl7265/dist: iwlwifi-7265-16.ucode
iwlwifi-7265D-16.ucode
src/external/intel-fw-public/iwl8000: Makefile
src/external/intel-fw-public/iwl8000/dist: LICENSE.iwlwifi-8000-ucode
README.iwlwifi-8000-ucode iwlwifi-8000C-16.ucode

Log Message:
iwm(4): Sync with OpenBSD.

7265 works fine.
7260 and 3160 maybe work.
7265D, 3165 and 8260 not work yet.

if_iwm.c: r1.147.
if_iwmreg.h: r1.19 without r1.16.
if_iwmvar.h: r1.24.

firmware is taken from https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
- iwlwifi-7260-ucode-16.242414.0.tgz
- iwlwifi-3160-ucode-16.242414.0.tgz
- iwlwifi-7265-ucode-16.242414.0.tgz
- iwlwifi-8000-ucode-16.242414.0.tgz


To generate a diff of this commit:
cvs rdiff -u -r1.1141 -r1.1142 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.9 -r1.10 src/external/intel-fw-public/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl7260/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/intel-fw-public/iwl7260/dist/iwlwifi-7260-16.ucode
cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl7265/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/intel-fw-public/iwl7265/dist/iwlwifi-7265-16.ucode \
src/external/intel-fw-public/iwl7265/dist/iwlwifi-7265D-16.ucode
cvs rdiff -u -r0 -r1.1 src/external/intel-fw-public/iwl8000/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/intel-fw-public/iwl8000/dist/LICENSE.iwlwifi-8000-ucode \
src/external/intel-fw-public/iwl8000/dist/README.iwlwifi-8000-ucode \
src/external/intel-fw-public/iwl8000/dist/iwlwifi-8000C-16.ucode
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/pci/if_iwm.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/if_iwmreg.h
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/if_iwmvar.h

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



CVS commit: src/sys/arch/ia64

2016-12-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Dec 18 02:26:12 UTC 2016

Modified Files:
src/sys/arch/ia64: Makefile

Log Message:
Descend into compile


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/ia64/Makefile

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



CVS commit: src

2016-12-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Dec 18 02:20:30 UTC 2016

Modified Files:
src: build.sh

Log Message:
Add -P for reproducible builds based on the latest cvs timestamp.


To generate a diff of this commit:
cvs rdiff -u -r1.311 -r1.312 src/build.sh

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

2016-12-17 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun Dec 18 03:00:58 UTC 2016

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/rs6000: rs6000.c

Log Message:
PR port-powerpc/51366 kernel for powerpc/ibm4xx miscompiled by gcc >= 4.8.5
backport fix from upstream:

URL: https://gcc.gnu.org/viewcvs?rev=238789&root=gcc&view=rev
Log:
rs6000: Fix logic for when to emit .machine (PR71216)

The current logic determining whether to use .machine in the generated
asm code puts it there if the compiler is not configured with a default
target cpu, _or_ no -mcpu= was given on the command line.  It should
be "and" instead.

PR target/71216
* config/rs6000/rs6000.c (rs6000_file_start): Fix condition for
when to emit a ".machine" pseudo-op.

Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/rs6000/rs6000.c


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 \
src/external/gpl3/gcc/dist/gcc/config/rs6000/rs6000.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/amd64/conf

2016-12-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Dec 18 04:35:26 UTC 2016

Modified Files:
src/sys/arch/amd64/conf: ALL GENERIC GENERIC_USERMODE INSTALL MODULAR
XEN3_DOM0 XEN3_DOMU

Log Message:
Whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/amd64/conf/ALL
cvs rdiff -u -r1.447 -r1.448 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/amd64/conf/GENERIC_USERMODE
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/amd64/conf/INSTALL
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/amd64/conf/MODULAR
cvs rdiff -u -r1.124 -r1.125 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/amd64/conf/XEN3_DOMU

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



CVS commit: src/sys/kern

2016-12-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Dec 18 05:43:20 UTC 2016

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

Log Message:
typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 src/sys/kern/vfs_bio.c

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



CVS commit: [netbsd-7] src/common/lib/libc/stdlib

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 06:23:23 UTC 2016

Modified Files:
src/common/lib/libc/stdlib [netbsd-7]: _strtoul.h

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1310):
common/lib/libc/stdlib/_strtoul.h: revision 1.10
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.7 -r1.7.6.1 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: [netbsd-7] src/lib/libc/stdlib

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 06:31:01 UTC 2016

Modified Files:
src/lib/libc/stdlib [netbsd-7]: strtod.3 strtol.3 strtoul.3

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1311):
lib/libc/stdlib/strtod.3: revisions 1.21-1.29
lib/libc/stdlib/strtol.3: revision 1.36-1.38
lib/libc/stdlib/strtoul.3: revision 1.36
strtod yields ERANGE for below-subnormal magnitudes, not underflow.
For a floating-point computation, in the language of IEEE 754,
`underflow' means the output was rounded and is too small to be
represented *normally*.
There are many nonzero floating-point numbers to which the exact
output may have been rounded -- namely subnormals.  The condition
under which strtod returns ERANGE for small magnitudes is when the
magnitude of the exact result is so small it is rounded to zero, not
even to a subnormal.
While here, use parallel language about large magnitudes instead of
the (albeit correct) word `overflow', to avoid temptation to treat
`underflow' as the opposite notion with zero instead of infinity.
--
Bump date for previous.
--
Fix description of ERANGE cases again.
Do use the technical terms `overflow' and `underflow', because strtod
sets ERANGE precisely to indicate either of these two conditions, and
they are the right keywords that one might be looking for.
Note that strtod may set ERANGE even if it returns noninfinity and
nonzero -- specifically, if the result is subnormal.  This part was
wrong before I `fixed' it and remained wrong after I `fixed' it
earlier this year.
--
Add example for strtod.
This illustrates all the cases you might be interested in and asserts
theorems in those cases.
--
Fix infinity detection with isinf(d), not d == HUGE_VAL.
Negative infinity counts as overflow too.
Simplify.
--
EXIT_FAILURE police
--
Distinguish altogether invalid syntax from trailing garbage.
--
Distinguish invalid syntax from trailing garbage cases.  Clarify.
--
Simplify error condition case.
Add assertions to reflect its implications.
--
Tidy up the second example too.
--
Update strtoul(3) example to reflect clarifications in strtol(3).
--
Fix phrasing about `out-of-band' and `sentinel value'.
Either an out-of-band channel, or an in-band sentinel value, could
indicate an error, but an out-of-band sentinel value is a silly
proposition.
Noted by uwe@.
--
Use the keywords `underflow' and `overflow' in ERANGE summary.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.20.50.1 src/lib/libc/stdlib/strtod.3
cvs rdiff -u -r1.26.24.2 -r1.26.24.3 src/lib/libc/stdlib/strtol.3
cvs rdiff -u -r1.25.24.2 -r1.25.24.3 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: [netbsd-7] src/external/bsd/nvi

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 06:37:30 UTC 2016

Modified Files:
src/external/bsd/nvi [netbsd-7]: Makefile.inc
src/external/bsd/nvi/dist/cl [netbsd-7]: cl.h cl_main.c cl_screen.c
cl_term.c
src/external/bsd/nvi/dist/common [netbsd-7]: key.h vi_db1.c
src/external/bsd/nvi/dist/docs/vi.man [netbsd-7]: vi.1
src/external/bsd/nvi/dist/ex [netbsd-7]: ex_map.c ex_script.c
src/external/bsd/nvi/usr.bin/nvi [netbsd-7]: Makefile

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1312):
external/bsd/nvi/Makefile.inc: revisions 1.2-1.4
external/bsd/nvi/dist/cl/cl.h: revision 1.3
external/bsd/nvi/dist/cl/cl_main.c: revision 1.5
external/bsd/nvi/dist/cl/cl_screen.c: revision 1.5
external/bsd/nvi/dist/cl/cl_term.c: revision 1.5
external/bsd/nvi/dist/common/key.h: revision 1.3
external/bsd/nvi/dist/common/vi_db1.c: revision 1.8
external/bsd/nvi/dist/docs/vi.man/vi.1: revisions 1.3, 1.4
external/bsd/nvi/dist/ex/ex_map.c: revision 1.4
external/bsd/nvi/dist/ex/ex_script.c: revisions 1.5, 1.6
external/bsd/nvi/usr.bin/nvi/Makefile: revision 1.7
PR/50092: Rin Okuyama: Fix memory leaks in vi when resizing.
--
PR/50484: Rin Okuyama: fix the script command of vi(1)
--
Fix > 1024 char lines in script. (Rin Okuyama)
--
remove CONST; it is unused from Brad Harder
--
add default: to appease gcc.
--
Restore the first line of the copyright header, which accidentally got
zapped in -r1.2.
--
PR 51446 Brad Harder: fix synopsis for :tagprev


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.1.6.1 src/external/bsd/nvi/Makefile.inc
cvs rdiff -u -r1.2 -r1.2.6.1 src/external/bsd/nvi/dist/cl/cl.h
cvs rdiff -u -r1.4 -r1.4.6.1 src/external/bsd/nvi/dist/cl/cl_main.c \
src/external/bsd/nvi/dist/cl/cl_screen.c \
src/external/bsd/nvi/dist/cl/cl_term.c
cvs rdiff -u -r1.2 -r1.2.6.1 src/external/bsd/nvi/dist/common/key.h
cvs rdiff -u -r1.7 -r1.7.6.1 src/external/bsd/nvi/dist/common/vi_db1.c
cvs rdiff -u -r1.2 -r1.2.6.1 src/external/bsd/nvi/dist/docs/vi.man/vi.1
cvs rdiff -u -r1.3 -r1.3.6.1 src/external/bsd/nvi/dist/ex/ex_map.c
cvs rdiff -u -r1.4 -r1.4.6.1 src/external/bsd/nvi/dist/ex/ex_script.c
cvs rdiff -u -r1.5 -r1.5.2.1 src/external/bsd/nvi/usr.bin/nvi/Makefile

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



CVS commit: [netbsd-7] src/usr.sbin/paxctl

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 06:41:33 UTC 2016

Modified Files:
src/usr.sbin/paxctl [netbsd-7]: paxctl.8

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1313):
usr.sbin/paxctl/paxctl.8: revision 1.15
Merge changes from David H. Gutteridge in PR misc/51612
Thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.4.1 src/usr.sbin/paxctl/paxctl.8

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



CVS commit: [netbsd-7] src/share/man/man9

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 06:43:24 UTC 2016

Modified Files:
src/share/man/man9 [netbsd-7]: fileassoc.9

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1314):
share/man/man9/fileassoc.9: revision 1.28
Merge changes from David H. Gutteridge in PR misc/51611
Thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.27.4.1 src/share/man/man9/fileassoc.9

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



CVS commit: [netbsd-7] src/share/man/man3

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 06:52:03 UTC 2016

Modified Files:
src/share/man/man3 [netbsd-7]: bits.3

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1315):
share/man/man3/bits.3: revision 1.17
These have been able to handle uintmax-width masks since creation.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.4.1 src/share/man/man3/bits.3

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



CVS commit: src/external/intel-fw-public/iwl3160

2016-12-17 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sun Dec 18 06:56:43 UTC 2016

Modified Files:
src/external/intel-fw-public/iwl3160: Makefile
Added Files:
src/external/intel-fw-public/iwl3160/dist: iwlwifi-3160-16.ucode

Log Message:
iwm(4): Add new 3160 firmware...


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/intel-fw-public/iwl3160/Makefile
cvs rdiff -u -r0 -r1.1 \
src/external/intel-fw-public/iwl3160/dist/iwlwifi-3160-16.ucode

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



CVS commit: [netbsd-7] src/sys/arch/x86

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 07:01:57 UTC 2016

Modified Files:
src/sys/arch/x86/include [netbsd-7]: pmap.h
src/sys/arch/x86/x86 [netbsd-7]: pmap.c vm_machdep.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1316):
sys/arch/x86/x86/pmap.c: revision 1.223
sys/arch/x86/x86/vm_machdep.c: revision 1.26
sys/arch/x86/include/pmap.h: revision 1.61
PR/49691: KAMADA Ken'ichi: free deferred ptp mappings if present.
XXX: pullup-7


To generate a diff of this commit:
cvs rdiff -u -r1.55.4.1 -r1.55.4.2 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.183.2.4 -r1.183.2.5 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.25 -r1.25.4.1 src/sys/arch/x86/x86/vm_machdep.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/sys/arch/x86

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 07:02:59 UTC 2016

Modified Files:
src/sys/arch/x86/include [netbsd-7-0]: pmap.h
src/sys/arch/x86/x86 [netbsd-7-0]: pmap.c vm_machdep.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1316):
sys/arch/x86/x86/pmap.c: revision 1.223
sys/arch/x86/x86/vm_machdep.c: revision 1.26
sys/arch/x86/include/pmap.h: revision 1.61
PR/49691: KAMADA Ken'ichi: free deferred ptp mappings if present.
XXX: pullup-7


To generate a diff of this commit:
cvs rdiff -u -r1.55.4.1 -r1.55.4.1.2.1 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.183.2.2.2.1 -r1.183.2.2.2.2 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.25 -r1.25.8.1 src/sys/arch/x86/x86/vm_machdep.c

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



CVS commit: [netbsd-7] src/share/misc

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 07:12:06 UTC 2016

Modified Files:
src/share/misc [netbsd-7]: bsd-family-tree

Log Message:
Pull up following revision(s) (requested by nakayama in ticket #1317):
share/misc/bsd-family-tree: revisions 1.57, 1.58
Sync with FreeBSD r305215
--
Add NetBSD rcs tag which was lost with r1.13.
Add NetBSD 7.0.1
heads up by wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.56.2.1 src/share/misc/bsd-family-tree

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



CVS commit: [netbsd-7] src/sys

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 07:40:50 UTC 2016

Modified Files:
src/sys/modules/npf [netbsd-7]: Makefile
src/sys/net/npf [netbsd-7]: files.npf npf_impl.h npf_tableset.c
src/sys/rump/net/lib/libnpf [netbsd-7]: Makefile
Added Files:
src/sys/net/npf [netbsd-7]: lpm.c lpm.h
Removed Files:
src/sys/net/npf [netbsd-7]: npf_tableset_ptree.c

Log Message:
Pull up following revision(s) (requested by rmind in ticket #1319):
sys/modules/npf/Makefile: revision 1.19
sys/net/npf/files.npf: revision 1.18
sys/net/npf/lpm.c: revision 1.1
sys/net/npf/lpm.h: revision 1.1
sys/net/npf/npf_impl.h: revision 1.62
sys/net/npf/npf_tableset.c: revision 1.24
sys/net/npf/npf_tableset_ptree.c: file removal
sys/rump/net/lib/libnpf/Makefile: revision 1.18
This patches ditches the ptree(3) library, because it is broken (you
can get missing entries!).  Instead, as a temporary solution, we switch
to a simple linear scan of the hash tables for the longest-prefix-match
(lpm.c lpm.h) algorithm. In fact, with few unique prefixes in the set,
on modern hardware this simple algorithm is pretty fast anyway!
--
ditch ptree and use lpm
--
remove ptree add lpm


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.17.2.1 src/sys/modules/npf/Makefile
cvs rdiff -u -r1.17 -r1.17.2.1 src/sys/net/npf/files.npf
cvs rdiff -u -r0 -r1.1.2.2 src/sys/net/npf/lpm.c src/sys/net/npf/lpm.h
cvs rdiff -u -r1.58.2.3 -r1.58.2.4 src/sys/net/npf/npf_impl.h
cvs rdiff -u -r1.22 -r1.22.2.1 src/sys/net/npf/npf_tableset.c
cvs rdiff -u -r1.1 -r0 src/sys/net/npf/npf_tableset_ptree.c
cvs rdiff -u -r1.14 -r1.14.2.1 src/sys/rump/net/lib/libnpf/Makefile

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



CVS commit: [netbsd-7] src/usr.bin/calendar/calendars

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 07:47:22 UTC 2016

Modified Files:
src/usr.bin/calendar/calendars [netbsd-7]: calendar.birthday
calendar.christian calendar.history calendar.holiday
calendar.judaic calendar.netbsd calendar.usholiday

Log Message:
Pull up following revision(s) (requested by jnemeth in ticket #1325):
usr.bin/calendar/calendars/calendar.birthday: revision 1.26
usr.bin/calendar/calendars/calendar.christian: revision 1.6
usr.bin/calendar/calendars/calendar.history: revisions 1.33, 1.34
usr.bin/calendar/calendars/calendar.holiday: revisions 1.26, 1.27
usr.bin/calendar/calendars/calendar.judaic: revision 1.6
usr.bin/calendar/calendars/calendar.netbsd: revisions 1.36, 1.37
usr.bin/calendar/calendars/calendar.usholiday: revision 1.7
note the release of NetBSD 7.0
--
Fix typo - Bahamas starts with a 'B' not with a 'G'
--
typo
--
allexander the greeeat, his name struck fear into hearts of men!
...but let's conquer that fear and give ol' alex a consistent and
correct date of death.
(he died of fever in baabylooo)
--
update floating holidays for 2017 in preparation for pullup for 7.1 release


To generate a diff of this commit:
cvs rdiff -u -r1.24.6.1 -r1.24.6.2 \
src/usr.bin/calendar/calendars/calendar.birthday
cvs rdiff -u -r1.4.10.1 -r1.4.10.2 \
src/usr.bin/calendar/calendars/calendar.christian \
src/usr.bin/calendar/calendars/calendar.judaic
cvs rdiff -u -r1.30.4.1 -r1.30.4.2 \
src/usr.bin/calendar/calendars/calendar.history
cvs rdiff -u -r1.23.2.1 -r1.23.2.2 \
src/usr.bin/calendar/calendars/calendar.holiday
cvs rdiff -u -r1.32.2.1 -r1.32.2.2 \
src/usr.bin/calendar/calendars/calendar.netbsd
cvs rdiff -u -r1.4.10.2 -r1.4.10.3 \
src/usr.bin/calendar/calendars/calendar.usholiday

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



CVS commit: [netbsd-7] src/sys/arch/xen/conf

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 07:50:37 UTC 2016

Modified Files:
src/sys/arch/xen/conf [netbsd-7]: files.xen

Log Message:
Pull up following revision(s) (requested by jnemeth in ticket #1326):
sys/arch/xen/conf/files.xen: revision 1.141
make CPU microcode loading dependent on both DOM0OPS AND CPU_UCODE


To generate a diff of this commit:
cvs rdiff -u -r1.133.4.1 -r1.133.4.2 src/sys/arch/xen/conf/files.xen

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



CVS commit: [netbsd-7] src/sys/dev/pci

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 07:53:09 UTC 2016

Modified Files:
src/sys/dev/pci [netbsd-7]: if_wm.c if_wmreg.h

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #1327):
sys/dev/pci/if_wm.c: revision 1.457
sys/dev/pci/if_wmreg.h: revision 1.94
- Change to use 2500Base-KX correctly on C2000(I354). It worked, but the
output of ifconfig and if_baudrate was not good. Tested by nils@:
   - The STATUS_TBIMODE bit in the STATUS register is deleted since 82575,
 so check for 82575 and newer first and then check for old devices.
   - Check the 2P5_SKU and 2P5_SKU_OVER bit for KX.
   - Set IFM_2500_SX instead of IFM_1000_SX for 2.5G.
- Check SERDES's speed directly from the PCS layer (PCS_LSTS register) for old
   devices.
- Style fix.


To generate a diff of this commit:
cvs rdiff -u -r1.289.2.11 -r1.289.2.12 src/sys/dev/pci/if_wm.c
cvs rdiff -u -r1.60.2.6 -r1.60.2.7 src/sys/dev/pci/if_wmreg.h

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



CVS commit: [netbsd-7] src/external/bsd/blacklist/bin

2016-12-17 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Dec 18 07:58:52 UTC 2016

Modified Files:
src/external/bsd/blacklist/bin [netbsd-7]: blacklistctl.c

Log Message:
Pull up following revision(s) (requested by jnemeth in ticket #1330):
external/bsd/blacklist/bin/blacklistctl.c: revision 1.21
Correct misplaced break; from FreeBSD.
Approved By: christos


To generate a diff of this commit:
cvs rdiff -u -r1.17.2.3 -r1.17.2.4 \
src/external/bsd/blacklist/bin/blacklistctl.c

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