OpenBSD cvs log

created 2020-08-09T08:02:35Z
begin 2020-08-01T00:00:00Z
end 2020-08-02T00:00:00Z
path src/sys
commits 4

date 2020-08-01T08:40:20Z
author anton
files src/sys/dev/kcov.c log diff annotate
src/sys/kern/kern_task.c log diff annotate
src/sys/kern/kern_timeout.c log diff annotate
src/sys/sys/kcov.h log diff annotate
src/sys/sys/task.h log diff annotate
src/sys/sys/timeout.h log diff annotate
message Add support for remote coverage to kcov. Remote coverage is collected
from threads other than the one currently having kcov enabled. A thread
with kcov enabled occasionally delegates work to another thread,
collecting coverage from such threads improves the ability of syzkaller
to correlate side effects in the kernel caused by issuing a syscall.

Remote coverage is divided into subsystems. The only supported subsystem
right now collects coverage from scheduled tasks and timeouts on behalf
of a kcov enabled thread. In order to make this work `struct task' and
`struct timeout' must be extended with a new field keeping track of the
process that scheduled the task/timeout. Both aforementioned structures
have therefore increased with the size of a pointer on all
architectures.

The kernel API is documented in a new kcov_remote_register(9) manual.

Remote coverage is also supported by kcov on NetBSD and Linux.

ok mpi@

date 2020-08-01T16:14:05Z
author stsp
files src/sys/dev/pci/if_iwx.c log diff annotate
src/sys/dev/pci/if_iwxreg.h log diff annotate
src/sys/dev/pci/if_iwxvar.h log diff annotate
message Add support for AX201 devices to iwx(4).

Matching firmware can be installed with fw_update(1).

Align our device initialization sequence more closely to how Linux does it.
We still use a different MSI-X configuration but register values written
up to that point are now identical.

patrick@ provided help with debugging several issues along way, thanks!

date 2020-08-01T23:41:55Z
author gnezdo
files src/sys/kern/kern_sysctl.c log diff annotate
src/sys/netinet/igmp.c log diff annotate
src/sys/netinet/ip_divert.c log diff annotate
src/sys/netinet/ip_icmp.c log diff annotate
src/sys/netinet/ip_input.c log diff annotate
src/sys/netinet/ipsec_input.c log diff annotate
src/sys/netinet/tcp_usrreq.c log diff annotate
message Move range check inside sysctl_int_arr

Range violations are now consistently reported as EOPNOTSUPP.
Previously they were mixed with ENOPROTOOPT.

OK kn@

date 2020-08-01T23:41:56Z
author gnezdo
files src/sys/netinet/udp_usrreq.c log diff annotate
src/sys/netinet6/icmp6.c log diff annotate
src/sys/netinet6/ip6_divert.c log diff annotate
src/sys/netinet6/ip6_input.c log diff annotate
src/sys/netmpls/mpls_raw.c log diff annotate
src/sys/sys/sysctl.h log diff annotate
message Move range check inside sysctl_int_arr

Range violations are now consistently reported as EOPNOTSUPP.
Previously they were mixed with ENOPROTOOPT.

OK kn@