OpenBSD cvs log

created 2018-11-29T18:09:57Z
begin 2018-05-31T00:00:00Z
end 2018-06-01T00:00:00Z
path src/sys
commits 13

date 2018-05-31T02:16:22Z
author guenther
files src/sys/dev/pci/drm/i915/i915_gem.c log diff annotate
src/sys/kern/kern_synch.c log diff annotate
src/sys/sys/systm.h log diff annotate
message Add sleep_finish_all(), which provides the common combo of sleep_finish(),
sleep_finish_timeout(), and sleep_finish_signal() with error preferencing,
and then use it in five places.

ok mpi@

date 2018-05-31T07:39:19Z
author tb
files src/sys/netinet/in.c log diff annotate
message Some more code shuffling to get rid of one switch in each, in_ioctl()
and in_ioctl_change_ifaddr(). This way there is one case per ioctl
starting with a privilege check before any global data is modified.
The code paths are now straightforward. Some code duplication between
SIOCSIFADDR and SIOCAIFADDR, but that can be addressed later.

tested by hrvoje
ok visa

date 2018-05-31T09:12:59Z
author kettenis
files src/sys/arch/armv7/armv7/armv7_machdep.c log diff annotate
src/sys/arch/armv7/dev/Attic/com_fdt.c log diff annotate
src/sys/arch/armv7/dev/Attic/pluart.c log diff annotate
src/sys/dev/fdt/imxuart.c log diff annotate
message Remove comcnspeed and comcnmode. They serve no purpose anymore. Configuring
the serial port speed can be done through the device tree and these days
everybody uses 8N1 for the mode.

ok patrick@, visa@, jsg@

date 2018-05-31T10:30:10Z
author kettenis
files src/sys/arch/armv7/exynos/exuart.c log diff annotate
message Remove comcnspeed and comcnmode. They serve no purpose anymore. Configuring
the serial port speed can be done through the device tree and these days
everybody uses 8N1 for the mode.

ok patrick@, visa@, jsg@

date 2018-05-31T11:38:15Z
author mpi
files src/sys/kern/kern_descrip.c log diff annotate
message Use IPL_MPFLOOR for mutexes that can be taken w/ and w/o the KERNEL_LOCK().

From Mathieu , ok visa@, tb@

date 2018-05-31T11:49:26Z
author tb
files src/sys/netinet/in.c log diff annotate
message Back out previous. The handling of SIOCSIFADDR is now wrong.

date 2018-05-31T14:52:26Z
author visa
files src/sys/kern/subr_witness.c log diff annotate
message Make witness(4) watch locks and print error stack traces by default.

Requested by deraadt@

date 2018-05-31T16:34:40Z
author tb
files src/sys/netinet/in.c log diff annotate
message Re-commit the correct half of revision 1.154:
Some more code shuffling to get rid of one switch in in_ioctl().
This way there is one case for each of SIOCSIFBRDADDR, SIOCSIFDSTADDR
and SIOCSIFNETMASK, starting with a privilege check before any global
data is modified.

ok visa

date 2018-05-31T17:17:01Z
author tb
files src/sys/netinet/in.c log diff annotate
message zap trailing whitespace

date 2018-05-31T19:31:54Z
author fcambus
files src/sys/arch/loongson/conf/GENERIC log diff annotate
message Enable bwfm(4) on Loongson for USB devices.

Tested on a Lemote Yeeloong 8101B.

OK visa@

date 2018-05-31T19:40:58Z
author fcambus
files src/sys/crypto/cryptosoft.c log diff annotate
message Add sizes for free().

OK visa@

date 2018-05-31T20:03:18Z
author kettenis
files src/sys/arch/arm64/conf/files.arm64 log diff annotate
src/sys/arch/arm64/dev/Attic/com_fdt.c log diff annotate
src/sys/arch/armv7/conf/files.armv7 log diff annotate
src/sys/arch/armv7/dev/Attic/com_fdt.c log diff annotate
src/sys/dev/fdt/com_fdt.c log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
message Move com_fdt.c to dev/fdt since we can share it between armv7 and arm64 now.

ok patrick@

date 2018-05-31T20:19:05Z
author fcambus
files src/sys/arch/amd64/amd64/via.c log diff annotate
src/sys/arch/i386/i386/via.c log diff annotate
message Return error values directly where appropriate, instead of using the err
variable.

While there, remove TODO about bitching. We haven't felt the need to bitch
since the driver was commited, and we do not bitch in aesni_setup() either.

OK visa@