OpenBSD cvs log

created 2025-01-02T00:42:55Z
begin 2024-12-05T00:00:00Z
end 2024-12-06T00:00:00Z
path src/sys
commits 3

date 2024-12-05T09:55:50Z
author stsp
files src/sys/dev/pci/if_ice.c log diff annotate
message add missing vlan.h header to ice(4) and fix build; spotted by jsg@

tested with vlan(4) on top of ice(4) between openbsd and freebsd
ok jsg@

date 2024-12-05T14:53:55Z
author claudio
files src/sys/kern/kern_synch.c log diff annotate
message cursig() can return a normally ignored signal if the process is ptraced.
So make sure that sleep_signal_check() returns ERESTART in that case so
that the syscall is retried once ptrace intercepted the signal.

This should fix unexpected EINTR returns of waitpid for precesses that
left SIGCHLD ignored (default). Not the perfect fix but a good enough
bandaid to allow people to debug processes doing forks and waitpid calls.

Problem reported and fix tested by stsp@
OK kettenis@ stsp@

date 2024-12-05T21:35:39Z
author kettenis
files src/sys/dev/fdt/qcpon.c log diff annotate
message Query hardware for the button state such that we can detect the release
even if we miss the press event. Change the driver such that wakeup is
signalled when the button is pressed such that it matches what happens
when wakeup is handled by the PMIC.

ok patrick@