CVS commit: src/sys/arch/xen

2016-01-06 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Wed Jan  6 15:28:40 UTC 2016

Modified Files:
src/sys/arch/xen/include/xen-public/io: ring.h
src/sys/arch/xen/xen: pciback.c xbdback_xenbus.c xennetback_xenbus.c

Log Message:
Apply patch from xsa155: make sure that the backend won't read parts of the
request again (possibly because of compiler optimisations), by using
copies and barrier.
>From XSA155:
The compiler can emit optimizations in the PV backend drivers which
can lead to double fetch vulnerabilities. Specifically the shared
memory between the frontend and backend can be fetched twice (during
which time the frontend can alter the contents) possibly leading to
arbitrary code execution in backend.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/xen/include/xen-public/io/ring.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/xen/xen/pciback.c
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/xen/xen/xbdback_xenbus.c
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/xen/xen/xennetback_xenbus.c

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



CVS commit: src/tests/dev/usb

2016-01-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  6 15:34:54 UTC 2016

Modified Files:
src/tests/dev/usb: Makefile

Log Message:
Unbreak the sun2 build: Don't use program-specific LDADD options because
those come after the general LDADD options and break static linking.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/dev/usb/Makefile

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



CVS commit: src/sys/dev/raidframe

2016-01-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  6 17:40:50 UTC 2016

Modified Files:
src/sys/dev/raidframe: raidframeio.h rf_netbsdkintf.c

Log Message:
Add a SET_LAST_UNIT ioctl.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/raidframe/raidframeio.h
cvs rdiff -u -r1.340 -r1.341 src/sys/dev/raidframe/rf_netbsdkintf.c

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



CVS commit: src/sbin/raidctl

2016-01-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  6 17:41:36 UTC 2016

Modified Files:
src/sbin/raidctl: raidctl.8 raidctl.c

Log Message:
Access to the SET_LAST_UNIT ioctl.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sbin/raidctl/raidctl.8
cvs rdiff -u -r1.63 -r1.64 src/sbin/raidctl/raidctl.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-01-06 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  6 18:06:38 UTC 2016

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

Log Message:
Simplify and fix the unload to destroy the mutex. To reproduce, configure
a kernel with LOCKDEBUG make clockctl a module:

/etc/rc.d/ntpd stop
modunload clockctl
/etc/rc.d/ntpd start
boom.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/clockctl.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-01-06 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Jan  6 22:12:49 UTC 2016

Modified Files:
src/sys/dev/usb: usb.c usb_subr.c usbdivar.h xhci.c

Log Message:
Get the iManufacturer, iProduct, and iSerialNumber strings before probing
for drivers and cache them for later use.  This reduces bus transactions
and fixes attachment for at least two of my umass(4)s.


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.206 -r1.207 src/sys/dev/usb/usb_subr.c
cvs rdiff -u -r1.110 -r1.111 src/sys/dev/usb/usbdivar.h
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/usb/xhci.c

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



CVS commit: src/sbin/raidctl

2016-01-06 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jan  6 22:57:44 UTC 2016

Modified Files:
src/sbin/raidctl: raidctl.8 raidctl.c

Log Message:
Use standard sort order for options.

Add -U to usage.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sbin/raidctl/raidctl.8
cvs rdiff -u -r1.64 -r1.65 src/sbin/raidctl/raidctl.c

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



CVS commit: src/sbin/dkctl

2016-01-06 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jan  6 23:01:11 UTC 2016

Modified Files:
src/sbin/dkctl: dkctl.8

Log Message:
Sort commands so I can find stuff.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sbin/dkctl/dkctl.8

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



CVS commit: src/sbin/dkctl

2016-01-06 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jan  6 23:03:14 UTC 2016

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

Log Message:
Sort command list in usage.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sbin/dkctl/dkctl.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

2016-01-06 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Jan  7 04:26:44 UTC 2016

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

Log Message:
FDT interrupts - bug fixing

Fix a pair of memory leaks
Add some descriptive messaging in fail cases.
Fix that _by_index wasn't walking the tree upward to find the interrupt-parent.
Fix a pair of messages so they include the function in the text.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/fdt/fdt_intr.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/samsung

2016-01-06 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Jan  7 04:41:46 UTC 2016

Modified Files:
src/sys/arch/arm/samsung: exynos_wdt.c

Log Message:
Exynos WDT - change the compatible string to match the current dts


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/samsung/exynos_wdt.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/samsung

2016-01-06 Thread Marty Fouts
Module Name:src
Committed By:   marty
Date:   Thu Jan  7 04:45:10 UTC 2016

Modified Files:
src/sys/arch/arm/samsung: mct.c

Log Message:
exynos mct -- snapshot

This code is still a mess, but at least it uses an interrupt-map so I can
use it to test whether interrupt-map handling in fdt_intr_ is working
properly.

Need to get some real documentation and redo this so it works. :(


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/samsung/mct.c

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



CVS commit: src/lib/libcurses

2016-01-06 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Thu Jan  7 07:36:35 UTC 2016

Modified Files:
src/lib/libcurses: add_wch.c

Log Message:
Add missing new line in debug print.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libcurses/add_wch.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-01-06 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jan  7 07:59:09 UTC 2016

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

Log Message:
Need sys/kmem.h


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

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