OpenBSD cvs log

created 2020-03-14T19:31:22Z
begin 2020-03-09T00:00:00Z
end 2020-03-10T00:00:00Z
path src/sys
commits 5

date 2020-03-09T04:38:46Z
author yasuoka
files src/sys/dev/ic/com.c log diff annotate
message Update the console device always when attaching the real device
driver. The information by the driver is supposed more reliable than
the information which was set up earlier.

ok patrick

date 2020-03-09T04:51:24Z
author yasuoka
files src/sys/dev/ipmi.c log diff annotate
message Return error value when sending "sensor reading" is failed. This fixes
"ipmi0: sendcmd fails" errors when there is a sensor which is
enumurated but reading it is failed.

ok mpi

date 2020-03-09T06:16:56Z
author otto
files src/sys/arch/amd64/stand/biosboot/biosboot.S log diff annotate
src/sys/arch/i386/stand/biosboot/biosboot.S log diff annotate
message Recommit, now that we found out how to fix the BIOS related issues: go
back to a 4 byte add instruction.
We do not know *why* though, so if somebody likes a challenge...
Lots of help from semarie@ who has a few systems showing the issue.
ok deraadt@

date 2020-03-09T16:49:12Z
author millert
files src/sys/ufs/ffs/ffs_softdep.c log diff annotate
message Avoid a tight CPU loop when no unlocked worklist items can be processed.

If process_worklist_item() is unable to process locked vnodes,
num_on_worklist will still be non-zero, preventing the loop in
softdep_process_worklist() from exiting. This can result in a
kernel hang.

To fix this, process_worklist_item() now returns non-zero if it was
able to process a worklist item (regardless of whether it matched
the mountpoint) and takes a pointer to matchcnt as a function
argument. We now break out of the loop in softdep_process_worklist()
if process_worklist_item() is unable to make progress.

OK beck@ bluhm@

date 2020-03-09T19:59:53Z
author millert
files src/sys/kern/kern_sysctl.c log diff annotate
message Return EINVAL for KERN_PROC if the size parameter is 0.
Prevents a panic due to a NULL dereference; Coverity CID 1452899.
Based on a diff from mpi@, OK deraadt@ kettenis@