CVS commit: src/sys/arch

2017-07-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul  8 11:12:24 UTC 2017

Modified Files:
src/sys/arch/arm/sunxi: files.sunxi sunxi_gpio.c
src/sys/arch/evbarm/conf: SUNXI
Added Files:
src/sys/arch/arm/sunxi: sunxi_gates.c sunxi_resets.c

Log Message:
Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/sunxi/files.sunxi
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/sunxi/sunxi_gates.c \
src/sys/arch/arm/sunxi/sunxi_resets.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/sunxi/sunxi_gpio.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbarm/conf/SUNXI

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



CVS commit: src/sys/dev/fdt

2017-07-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul  8 12:36:51 UTC 2017

Modified Files:
src/sys/dev/fdt: fdt_subr.c fdtvar.h

Log Message:
Add fdtbus_get_string_index helper.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/fdt/fdt_subr.c
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/fdt/fdtvar.h

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



CVS commit: src/sys/dev/fdt

2017-07-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul  8 12:37:09 UTC 2017

Modified Files:
src/sys/dev/fdt: files.fdt
Added Files:
src/sys/dev/fdt: fixedfactorclock.c

Log Message:
Add driver for fixed-factor clocks.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/fdt/files.fdt
cvs rdiff -u -r0 -r1.1 src/sys/dev/fdt/fixedfactorclock.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

2017-07-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul  8 12:37:34 UTC 2017

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

Log Message:
Add ffclock


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbarm/conf/SUNXI

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

2017-07-08 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sat Jul  8 14:35:33 UTC 2017

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

Log Message:
PR/52266: use rdmsr_safe(9) instead of rdmsr(9) for old machine.

tested by simonb@


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/x86/x86/lapic.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/cats/conf

2017-07-08 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Jul  8 15:14:49 UTC 2017

Removed Files:
src/sys/arch/cats/conf: kern.ldscript

Log Message:
Remove unused script


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r0 src/sys/arch/cats/conf/kern.ldscript

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



CVS commit: src/sys/kern

2017-07-08 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul  8 15:15:43 UTC 2017

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

Log Message:
explain a bit


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/kern/sched_4bsd.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/usr.sbin/service

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:06:01 UTC 2017

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

Log Message:
Pull up following revision(s) (requested by sborrill in ticket #1427):
usr.sbin/service/service: revision 1.8
Only match first instance of name and rcvar in file.


To generate a diff of this commit:
cvs rdiff -u -r1.7.2.2 -r1.7.2.3 src/usr.sbin/service/service

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

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:07:34 UTC 2017

Modified Files:
src/sys/gdbscripts [netbsd-7]: cpus

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1428):
sys/gdbscripts/cpus: 1.2, 1.3
Make cpus MI
--
Typo in previous


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.1.76.1 src/sys/gdbscripts/cpus

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

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:12:44 UTC 2017

Modified Files:
src/sys/dev [netbsd-7-0]: cgd.c

Log Message:
Apply patch (requested by chs in ticket #1429):
Avoid crashes by checking if a cgd device has been configured before
processing most ioctls, and failing with ENXIO if the device is not
configured.


To generate a diff of this commit:
cvs rdiff -u -r1.90.4.1 -r1.90.4.2 src/sys/dev/cgd.c

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



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

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:13:55 UTC 2017

Modified Files:
src/sys/dev [netbsd-7-1]: cgd.c

Log Message:
Apply patch (requested by chs in ticket #1429):
Avoid crashes by checking if a cgd device has been configured before
processing most ioctls, and failing with ENXIO if the device is not
configured.


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

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:14:19 UTC 2017

Modified Files:
src/sys/dev [netbsd-7]: cgd.c

Log Message:
Apply patch (requested by chs in ticket #1429):
Avoid crashes by checking if a cgd device has been configured before
processing most ioctls, and failing with ENXIO if the device is not
configured.


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

2017-07-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul  8 16:19:20 UTC 2017

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

Log Message:
Remove the requirement for ehci to attach after companion devices.

"go for it" - skrll@


To generate a diff of this commit:
cvs rdiff -u -r1.254 -r1.255 src/sys/dev/usb/ehci.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/fdt

2017-07-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul  8 16:19:56 UTC 2017

Modified Files:
src/sys/dev/fdt: ehci_fdt.c

Log Message:
Remove the hack to find companion devices and just assume 1 companion if
ETTF flag is not set.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/fdt/ehci_fdt.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

2017-07-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul  8 16:20:21 UTC 2017

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

Log Message:
Remove pass numbers for ehci/ohci now that the attach order no longer matters


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbarm/conf/SUNXI

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/dhcp/dist/relay

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:32:48 UTC 2017

Modified Files:
src/external/bsd/dhcp/dist/relay [netbsd-7]: dhcrelay.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #1430):
external/bsd/dhcp/dist/relay/dhcrelay.c: revision 1.7
Fix buggy dhcrelay(8) requirement to stay in foreground
This version of dhcrelay(8) needed to stay inforeground with -d flag in
order to service requests. Running inbackground turned it deaf to DHCP
requests.
This was caused by wrong kqueue(2) usage, where kevent(2) was used with
a file descriptor obtained by a kqueue(2) call done before fork(2).
kqueue(2) man page says "The queue is not inherited by a child created
with fork(2)". As a result, kevent(2) calls always got EBADF.
The fix is to reorder function calls in dhcrelay(8) main() function.
dhcp_context_create(), which causes kqueue(2) to be invoked, is
moved with its dependencies after fork(2). This matches the code layout
of dhclient(8) and dhcpd(8), which do not have the bug.
The fix was not submitted upstream since latest ISC DHCP code was
refactored and does not have the bug anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.2.1 src/external/bsd/dhcp/dist/relay/dhcrelay.c

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



CVS commit: [netbsd-7-1] src/external/bsd/dhcp/dist/relay

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:32:28 UTC 2017

Modified Files:
src/external/bsd/dhcp/dist/relay [netbsd-7-1]: dhcrelay.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #1430):
external/bsd/dhcp/dist/relay/dhcrelay.c: revision 1.7
Fix buggy dhcrelay(8) requirement to stay in foreground
This version of dhcrelay(8) needed to stay inforeground with -d flag in
order to service requests. Running inbackground turned it deaf to DHCP
requests.
This was caused by wrong kqueue(2) usage, where kevent(2) was used with
a file descriptor obtained by a kqueue(2) call done before fork(2).
kqueue(2) man page says "The queue is not inherited by a child created
with fork(2)". As a result, kevent(2) calls always got EBADF.
The fix is to reorder function calls in dhcrelay(8) main() function.
dhcp_context_create(), which causes kqueue(2) to be invoked, is
moved with its dependencies after fork(2). This matches the code layout
of dhclient(8) and dhcpd(8), which do not have the bug.
The fix was not submitted upstream since latest ISC DHCP code was
refactored and does not have the bug anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.8.1 src/external/bsd/dhcp/dist/relay/dhcrelay.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/external/bsd/dhcp/dist/relay

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:32:05 UTC 2017

Modified Files:
src/external/bsd/dhcp/dist/relay [netbsd-7-0]: dhcrelay.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #1430):
external/bsd/dhcp/dist/relay/dhcrelay.c: revision 1.7
Fix buggy dhcrelay(8) requirement to stay in foreground
This version of dhcrelay(8) needed to stay inforeground with -d flag in
order to service requests. Running inbackground turned it deaf to DHCP
requests.
This was caused by wrong kqueue(2) usage, where kevent(2) was used with
a file descriptor obtained by a kqueue(2) call done before fork(2).
kqueue(2) man page says "The queue is not inherited by a child created
with fork(2)". As a result, kevent(2) calls always got EBADF.
The fix is to reorder function calls in dhcrelay(8) main() function.
dhcp_context_create(), which causes kqueue(2) to be invoked, is
moved with its dependencies after fork(2). This matches the code layout
of dhclient(8) and dhcpd(8), which do not have the bug.
The fix was not submitted upstream since latest ISC DHCP code was
refactored and does not have the bug anymore.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.4.1 src/external/bsd/dhcp/dist/relay/dhcrelay.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/sys/dev/pci

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:34:35 UTC 2017

Modified Files:
src/sys/dev/pci [netbsd-7]: ehci_pci.c

Log Message:
Pull up following revision(s) (requested by sborrill in ticket #1431):
sys/dev/pci/ehci_pci.c: revision 1.65
Deal with broken BIOSes that leave PCI interrupts disabled.
Thanks to nick@


To generate a diff of this commit:
cvs rdiff -u -r1.58.4.1 -r1.58.4.2 src/sys/dev/pci/ehci_pci.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/sys/dev

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:37:54 UTC 2017

Modified Files:
src/sys/dev [netbsd-7]: audio.c

Log Message:
Apply patch (requested by nat in ticket #1433):
Fix occasional stuttering that can be caused by ringbuffer overflow.


To generate a diff of this commit:
cvs rdiff -u -r1.263.2.1 -r1.263.2.2 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: [netbsd-7-0] src/sys

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:51:56 UTC 2017

Modified Files:
src/sys/kern [netbsd-7-0]: kern_event.c
src/sys/miscfs/genfs [netbsd-7-0]: genfs_vnops.c
src/sys/sys [netbsd-7-0]: event.h

Log Message:
Pull up following revision(s) (requested by christos in ticket #1442):
sys/kern/kern_event.c: revision 1.92 via patch
sys/miscfs/genfs/genfs_vnops.c: revision 1.198 via patch
sys/sys/event.h: revision 1.30 via patch
Provide EVFILT_WRITE; this is what FreeBSD does and go wants it.
Makes go unit tests pass.
--
fix file descriptor locking (from joerg).
fixes kernel crashes by running go


To generate a diff of this commit:
cvs rdiff -u -r1.80.2.1 -r1.80.2.1.2.1 src/sys/kern/kern_event.c
cvs rdiff -u -r1.192 -r1.192.8.1 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -u -r1.23 -r1.23.32.1 src/sys/sys/event.h

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



CVS commit: [netbsd-7-1] src/sys

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:52:27 UTC 2017

Modified Files:
src/sys/kern [netbsd-7-1]: kern_event.c
src/sys/miscfs/genfs [netbsd-7-1]: genfs_vnops.c
src/sys/sys [netbsd-7-1]: event.h

Log Message:
Pull up following revision(s) (requested by christos in ticket #1442):
sys/kern/kern_event.c: revision 1.92 via patch
sys/miscfs/genfs/genfs_vnops.c: revision 1.198 via patch
sys/sys/event.h: revision 1.30 via patch
Provide EVFILT_WRITE; this is what FreeBSD does and go wants it.
Makes go unit tests pass.
--
fix file descriptor locking (from joerg).
fixes kernel crashes by running go


To generate a diff of this commit:
cvs rdiff -u -r1.80.2.1 -r1.80.2.1.6.1 src/sys/kern/kern_event.c
cvs rdiff -u -r1.192 -r1.192.14.1 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -u -r1.23 -r1.23.36.1 src/sys/sys/event.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/sys

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:53:24 UTC 2017

Modified Files:
src/sys/kern [netbsd-7]: kern_event.c
src/sys/miscfs/genfs [netbsd-7]: genfs_vnops.c
src/sys/sys [netbsd-7]: event.h

Log Message:
Pull up following revision(s) (requested by christos in ticket #1442):
sys/kern/kern_event.c: revision 1.92 via patch
sys/miscfs/genfs/genfs_vnops.c: revision 1.198 via patch
sys/sys/event.h: revision 1.30 via patch
Provide EVFILT_WRITE; this is what FreeBSD does and go wants it.
Makes go unit tests pass.
--
fix file descriptor locking (from joerg).
fixes kernel crashes by running go


To generate a diff of this commit:
cvs rdiff -u -r1.80.2.1 -r1.80.2.2 src/sys/kern/kern_event.c
cvs rdiff -u -r1.192 -r1.192.4.1 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -u -r1.23 -r1.23.28.1 src/sys/sys/event.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/tcpdump/bin

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 16:57:35 UTC 2017

Modified Files:
src/external/bsd/tcpdump/bin [netbsd-7]: Makefile

Log Message:
Apply patch (requested by manu in ticket #1443):
netbsd-7 clang doesn't support -Wno-error=address-of-packed-member


To generate a diff of this commit:
cvs rdiff -u -r1.10.4.2 -r1.10.4.3 src/external/bsd/tcpdump/bin/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/sys/arch/arm/cortex

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 17:01:52 UTC 2017

Modified Files:
src/sys/arch/arm/cortex [netbsd-7]: a9_mpsubr.S

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1444):
sys/arch/arm/cortex/a9_mpsubr.S: revision 1.48
Make fp 0 on entry to idle_stack to ensure we mark that we're top of
stack


To generate a diff of this commit:
cvs rdiff -u -r1.18.2.4 -r1.18.2.5 src/sys/arch/arm/cortex/a9_mpsubr.S

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

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 17:04:22 UTC 2017

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

Log Message:
Pull up following revision(s) (requested by khorben in ticket #1445):
sys/arch/amd64/conf/XEN3_DOM0: revision 1.136
sys/arch/i386/conf/XEN3_DOM0: revision 1.113
sys/arch/xen/conf/files.xen: revision 1.148
Register support for SD card readers with Xen DOM0 kernels
Tested on a Lenovo ThinkPad T440s (amd64)


To generate a diff of this commit:
cvs rdiff -u -r1.103.2.8 -r1.103.2.9 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.85.2.8 -r1.85.2.9 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.133.4.2 -r1.133.4.3 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-0] xsrc

2017-07-08 Thread Soren Jacobsen
Module Name:xsrc
Committed By:   snj
Date:   Sat Jul  8 17:14:33 UTC 2017

Modified Files:
xsrc/external/mit/xorg-server/dist/Xi [netbsd-7-0]: sendexev.c
xsrc/external/mit/xorg-server/dist/dix [netbsd-7-0]: events.c swapreq.c
xsrc/xfree/xc/programs/Xserver/Xi [netbsd-7-0]: sendexev.c

Log Message:
Apply patch (requested by mrg in ticket #1446):
Fix CVE-2017-10971 and CVE-2017-10972.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3.10.1 -r1.1.1.3.10.1.2.1 \
xsrc/external/mit/xorg-server/dist/Xi/sendexev.c
cvs rdiff -u -r1.1.1.8 -r1.1.1.8.6.1 \
xsrc/external/mit/xorg-server/dist/dix/events.c
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.12.1 \
xsrc/external/mit/xorg-server/dist/dix/swapreq.c
cvs rdiff -u -r1.1.1.4.38.1 -r1.1.1.4.38.1.2.1 \
xsrc/xfree/xc/programs/Xserver/Xi/sendexev.c

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



CVS commit: [netbsd-7-1] xsrc

2017-07-08 Thread Soren Jacobsen
Module Name:xsrc
Committed By:   snj
Date:   Sat Jul  8 17:14:58 UTC 2017

Modified Files:
xsrc/external/mit/xorg-server/dist/Xi [netbsd-7-1]: sendexev.c
xsrc/external/mit/xorg-server/dist/dix [netbsd-7-1]: events.c swapreq.c
xsrc/xfree/xc/programs/Xserver/Xi [netbsd-7-1]: sendexev.c

Log Message:
Apply patch (requested by mrg in ticket #1446):
Fix CVE-2017-10971 and CVE-2017-10972.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3.10.1 -r1.1.1.3.10.1.4.1 \
xsrc/external/mit/xorg-server/dist/Xi/sendexev.c
cvs rdiff -u -r1.1.1.8 -r1.1.1.8.8.1 \
xsrc/external/mit/xorg-server/dist/dix/events.c
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.14.1 \
xsrc/external/mit/xorg-server/dist/dix/swapreq.c
cvs rdiff -u -r1.1.1.4.38.1 -r1.1.1.4.38.1.4.1 \
xsrc/xfree/xc/programs/Xserver/Xi/sendexev.c

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



CVS commit: [netbsd-7] xsrc

2017-07-08 Thread Soren Jacobsen
Module Name:xsrc
Committed By:   snj
Date:   Sat Jul  8 17:15:29 UTC 2017

Modified Files:
xsrc/external/mit/xorg-server/dist/Xi [netbsd-7]: sendexev.c
xsrc/external/mit/xorg-server/dist/dix [netbsd-7]: events.c swapreq.c
xsrc/xfree/xc/programs/Xserver/Xi [netbsd-7]: sendexev.c

Log Message:
Apply patch (requested by mrg in ticket #1446):
Fix CVE-2017-10971 and CVE-2017-10972.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3.10.1 -r1.1.1.3.10.2 \
xsrc/external/mit/xorg-server/dist/Xi/sendexev.c
cvs rdiff -u -r1.1.1.8 -r1.1.1.8.4.1 \
xsrc/external/mit/xorg-server/dist/dix/events.c
cvs rdiff -u -r1.1.1.2 -r1.1.1.2.10.1 \
xsrc/external/mit/xorg-server/dist/dix/swapreq.c
cvs rdiff -u -r1.1.1.4.38.1 -r1.1.1.4.38.2 \
xsrc/xfree/xc/programs/Xserver/Xi/sendexev.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/doc

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 17:17:41 UTC 2017

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

Log Message:
tickets 1429, 1430, 1442, 1446


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.45 -r1.1.2.46 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-1] src/doc

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 17:17:58 UTC 2017

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

Log Message:
1429, 1430, 1442, 1446


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.12 -r1.1.2.13 src/doc/CHANGES-7.1.1

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



CVS commit: [netbsd-7] src/doc

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jul  8 17:19:31 UTC 2017

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

Log Message:
tickets  1427-1431, 1433, 1442-1446


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.24 -r1.1.2.25 src/doc/CHANGES-7.2

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



CVS commit: src/sys/dev/sdmmc

2017-07-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul  8 18:38:57 UTC 2017

Modified Files:
src/sys/dev/sdmmc: ld_sdmmc.c

Log Message:
The config_* APIs are not MPSAFE, so make sure the deferred attach
thread holds KERNEL_LOCK.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/sdmmc/ld_sdmmc.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

2017-07-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul  8 19:25:37 UTC 2017

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

Log Message:
Use unsigned char for ctype functions, suggested by christos


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/led.c

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



CVS commit: src/sys/netinet

2017-07-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jul  8 22:56:15 UTC 2017

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

Log Message:
Reorder the controls to the ones that need an interface and the ones that
don't; process the ones that don't first. Add a DIAGNOSTIC if there is no
interface; really this should be a KASSERT/panic because it is a bug if the
interface is not set at this point.


To generate a diff of this commit:
cvs rdiff -u -r1.357 -r1.358 src/sys/netinet/ip_input.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/libexec/ld.elf_so

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul  9 04:35:00 UTC 2017

Modified Files:
src/libexec/ld.elf_so [netbsd-7]: reloc.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #1411):
libexec/ld.elf_so/reloc.c: revision 1.110
PR port-macppc/47464 - Old binutils generated bogus zero-sized COPY
relocations for _SDA_BASE_ and _SDA2_BASE_ that happened to work by
accident.  They no longer happen to work when old binaries are run on
newer systems.  Explicitly ignore these bogus relocations.


To generate a diff of this commit:
cvs rdiff -u -r1.106.18.1 -r1.106.18.2 src/libexec/ld.elf_so/reloc.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/doc

2017-07-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul  9 04:37:41 UTC 2017

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

Log Message:
1411


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.25 -r1.1.2.26 src/doc/CHANGES-7.2

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



CVS commit: src/usr.bin/make

2017-07-08 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Sun Jul  9 04:54:00 UTC 2017

Modified Files:
src/usr.bin/make: meta.c

Log Message:
Ensure that command output is always followed by newline,
even when filemon is not being used.

Tweak MAKE_META_IGNORE_PATTERNS matching to avoid using path name
with :L as it does not handle ':' in path names.

fgetLine: an extra check to avoid shrinking the buffer.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/usr.bin/make/meta.c

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



CVS commit: src/etc/etc.next68k

2017-07-08 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jul  9 05:58:13 UTC 2017

Modified Files:
src/etc/etc.next68k: MAKEDEV.conf

Log Message:
Revert the previous changes for PR/52377.

- the names "ttya" and "ttyb" in zs(4) man page were leftover of the orignal
  sparc/sun3 ports which used the same name for their native SunOS users
- symlinks ttya -> tty00 -> ttyZ0 (by "lndev tty00 ttya") are awful anyway
  (symlinks tty0? -> ttyZ? are handled in MI MAKEDEV.tmpl)

See details on discussion on source-changes-d@:
 http://mail-index.netbsd.org/source-changes-d/2017/07/thread1.html#009301


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/etc/etc.next68k/MAKEDEV.conf

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



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

2017-07-08 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jul  9 06:02:37 UTC 2017

Modified Files:
src/sys/arch/next68k/conf: GENERIC SLAB

Log Message:
Clarify serial port names.  Affects zs(4) man page mentioned in PR/52377.

Actual port connection is briefly checked by "NeXT cube internal schematics"
 
http://web.archive.org/web/20091015214305/http://www.lrz-muenchen.de/~heller/NeXT/NeXT.html


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/sys/arch/next68k/conf/GENERIC
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/next68k/conf/SLAB

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

2017-07-08 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jul  9 06:37:34 UTC 2017

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

Log Message:
Briefly sync device names in FILES section with reality.  PR/52377

Also add several ports which use zs(4)/zsc(4) and zstty(4) in SYNOPSIS.

XXX:
scc(4) man page for pmax (and alpha?) in SEE ALSO section should be
obsolete since they have been switched to using MI zs(4) in NetBSD 4.x.
(though scc(4) man page seems to contain some pmax/ioasic specific notes)


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man4/zstty.4

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