OpenBSD cvs log

created 2019-11-16T14:51:51Z
begin 2019-11-12T00:00:00Z
end 2019-11-13T00:00:00Z
path src/sys
commits 7

date 2019-11-12T01:00:58Z
author dlg
files src/sys/net/if.c log diff annotate
message SIOCDVNETID mutates state, so should only be run by root.

found by Ilja Van Sprundel
ok deraadt@ mpi@ bluhm@

date 2019-11-12T04:20:21Z
author visa
files src/sys/kern/kern_synch.c log diff annotate
src/sys/sys/proc.h log diff annotate
message Check sleep timeout state only if the sleep has a timeout. Otherwise,
the timeout cancellation in sleep_finish_timeout() would acquire the
kernel lock every time in the no-timeout case, as noticed by mpi@.

This also reduces the contention of timeout_mutex.

OK mpi@, feedback guenther@

date 2019-11-12T07:24:22Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwmreg.h log diff annotate
src/sys/dev/pci/if_iwmvar.h log diff annotate
message Fix support for 3168 iwm(4) devices, and load new firmware for them.
Based on FreeBSD r345002 and Linux 44fd09dad5d2b78efbabbbbf623774e561e36cca.
Tested for regressions by phessler@ (8260), kevlo@ (3165), and myself (7265)
ok kevlo@

date 2019-11-12T07:34:43Z
author mpi
files src/sys/ddb/db_ctf.c log diff annotate
message Default to 0 arguments if no symbol has been found in the CTF section.

Symbols not present in the CTF data are generally assembly routines which
have either no argument or do not follow the ABI that the various MD stack
unwinders understand.

This makes ddb(4) trace simpler to understand.

ok jasper@

date 2019-11-12T07:47:30Z
author mpi
files src/sys/dev/usb/if_athn_usb.c log diff annotate
src/sys/dev/usb/if_otus.c log diff annotate
src/sys/dev/usb/if_uath.c log diff annotate
src/sys/dev/usb/if_wi_usb.c log diff annotate
src/sys/dev/usb/ucom.c log diff annotate
src/sys/dev/usb/utrh.c log diff annotate
src/sys/dev/usb/uvscom.c log diff annotate
message Convert tsleep(9) that wait for a multiple of `hz' to tsleep_nsec(9).

ok cheloha@

date 2019-11-12T07:51:46Z
author mpi
files src/sys/kern/kern_rwlock.c log diff annotate
message Only check if the current thread has the lock in rw_assert_unlocked(9).

With this semantic change it is now possible to use a similar assert for
both mutexes and rwlocks as required by the vm_map_assert_lock() diff.

ok sashan@

date 2019-11-12T23:27:15Z
author dlg
files src/sys/net/if.c log diff annotate
message check for privileged bridges ioctls next to the other privileged ioctls.

there's now a bunch of drivers that implement the bridge ioctls,
but they're inconsistent at checking privilege. doing it up front
once means less code duplication, and more consistent application
of the checks.

ok bluhm@ deraadt@