OpenBSD cvs log

created 2021-12-25T22:27:31Z
begin 2021-12-21T00:00:00Z
end 2021-12-22T00:00:00Z
path src/sys
commits 11

date 2021-12-21T06:08:57Z
author anton
files src/sys/dev/kcov.c log diff annotate
message errno overhaul, getting rid of some ambiguity. In the hopes of tracking
down a rare but annoying problem related to remote coverage exposed by
syzkaller.

date 2021-12-21T06:09:47Z
author anton
files src/sys/dev/acpi/com_acpi.c log diff annotate
message Do not attach com at acpi when there's no address or irq present. Fixes
a regression caused by the recent change to start attaching com at acpi
as it turns out that Libreboot exposes console devices lacking crucial
data in their acpi tables. The same console attaches fine over isa,
therefore restore this behavior.

Problem reported by <cipher-hearts at riseup dot net> on bugs@

ok deraadt@ kettenis@

date 2021-12-21T06:10:29Z
author anton
files src/sys/dev/acpi/com_acpi.c log diff annotate
message Rename local variable intrfn to intr, matches what dev/fdt/com_fdt.c
already does.

date 2021-12-21T06:11:16Z
author anton
files src/sys/dev/vnd.c log diff annotate
message Ensure that the disk has been initialized after acquiring the lock and
not before as we might end up sleeping while acquiring the lock,
introducing a potential race.

Tested in snaps for a couple of days.

ok mpi@

Reported-by: [email protected]

date 2021-12-21T06:12:03Z
author anton
files src/sys/dev/vnd.c log diff annotate
message Fix another vnd race pointed out by mpi@ and make sure to not unlock the
vnode twice in the error path.

Tested in snaps for a couple of days.

date 2021-12-21T06:12:49Z
author anton
files src/sys/kern/sysv_shm.c log diff annotate
message Let malloc return an error as opposed of panicking when sysctl
kern.shminfo.shmseg is set to something ridiculously large.

ok kettenis@ millert@

Reported-by: [email protected]

date 2021-12-21T07:44:22Z
author jsg
files src/sys/dev/usb/uhidpp.c log diff annotate
message avoid returning uninitialised var in hidpp_send_report()
ok anton@

date 2021-12-21T09:35:08Z
author bluhm
files src/sys/dev/dt/dt_dev.c log diff annotate
message Do not print "dt: 451 probes" at boot in dmesg. Btrace device dt(4)
is enabled by default, this line does not provide much information.
requested by kettenis@ deraadt@; OK mpi@

date 2021-12-21T11:46:01Z
author anton
files src/sys/dev/usb/uhidpp.c log diff annotate
message knf nits

date 2021-12-21T20:53:46Z
author kettenis
files src/sys/dev/acpi/ahci_acpi.c log diff annotate
src/sys/dev/acpi/amdgpio.c log diff annotate
src/sys/dev/acpi/aplgpio.c log diff annotate
src/sys/dev/acpi/asmc.c log diff annotate
src/sys/dev/acpi/bytgpio.c log diff annotate
src/sys/dev/acpi/ccp_acpi.c log diff annotate
src/sys/dev/acpi/chvgpio.c log diff annotate
src/sys/dev/acpi/dwgpio.c log diff annotate
src/sys/dev/acpi/dwiic_acpi.c log diff annotate
src/sys/dev/acpi/glkgpio.c log diff annotate
src/sys/dev/acpi/if_bse_acpi.c log diff annotate
src/sys/dev/acpi/imxiic_acpi.c log diff annotate
src/sys/dev/acpi/pchgpio.c log diff annotate
src/sys/dev/acpi/pluart_acpi.c log diff annotate
src/sys/dev/acpi/sdhc_acpi.c log diff annotate
src/sys/dev/acpi/tpm.c log diff annotate
src/sys/dev/acpi/xhci_acpi.c log diff annotate
message Move checks on attach arguments from attach into match.

ok anton@, deraadt@

date 2021-12-21T22:21:32Z
author mpi
files src/sys/uvm/uvm_map.c log diff annotate
message Fix a typo in mlock(2) error path triggering a double-free.

Pass the correct entry to uvm_fault_unwire_locked().

Reported-by: [email protected]

ok kettenis@, deraadt@