OpenBSD cvs log

created 2020-12-27T22:28:28Z
begin 2020-12-23T00:00:00Z
end 2020-12-24T00:00:00Z
path src/sys
commits 7

date 2020-12-23T10:47:10Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/trap.c log diff annotate
message Handle a few more userland traps that would lead to a kernel panic.

date 2020-12-23T11:58:36Z
author kettenis
files src/sys/dev/ofw/ofw_regulator.c log diff annotate
message Fix regulators that use "active-low" polarity. Our implementation now
ignores the presence "enable-active-high" property and relies on the
encode polarity of the GPIO in the flags in the device tree instead.
This might not be the case for older device trees; such device trees
should be fixed.

ok patrick@

date 2020-12-23T13:53:44Z
author visa
files src/sys/kern/kern_event.c log diff annotate
message Clear error before each iteration in kqueue_scan()

This fixes a regression where kqueue_scan() may incorrectly return
EWOULDBLOCK after a timeout.

OK mpi@

date 2020-12-23T13:59:09Z
author visa
files src/sys/kern/kern_event.c log diff annotate
message Ensure that filt_dead() takes effect

Invoke dead_filtops' f_event callback in klist_invalidate() to ensure
that filt_dead() modifies every invalidated knote. If a knote has
EV_ONESHOT set in its event flags, kqueue_scan() will not call f_event.

OK mpi@

date 2020-12-23T17:54:04Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/pmap.c log diff annotate
message Use IPL_VM for the pmap pool like we do on amd64.

date 2020-12-23T20:45:02Z
author cheloha
files src/sys/kern/kern_time.c log diff annotate
message nanosleep(2): shorten wmesg from "nanosleep" to "nanoslp"

We only see 8 characters of wmesg in e.g. top(1), so shorten the
string to fit.

Indirectly prompted by kettenis@.

date 2020-12-23T20:48:06Z
author cheloha
files src/sys/kern/kern_sig.c log diff annotate
message sigsuspend(2): change wmesg from "pause" to "sigsusp"

Make it obvious where the thread is blocked. "pause" is ambiguous.

Tweaked by kettenis@.

Probably ok kettenis@.