OpenBSD cvs log

created 2024-09-03T22:11:39Z
begin 2024-08-02T00:00:00Z
end 2024-08-03T00:00:00Z
path src/sys
commits 5

date 2024-08-02T01:53:21Z
author guenther
files src/sys/dev/rnd.c log diff annotate
src/sys/sys/syslimits.h log diff annotate
message getentropy(2) is in POSIX-2024, so adjust the #include visibility,
change the "too much" error to EINVAL, add GETENTROPY_MAX to
<limits.h> (via sys/syslimits.h), and update the manpage.

ok deraadt@

date 2024-08-02T09:28:35Z
author kettenis
files src/sys/dev/acpi/acpipwrres.c log diff annotate
message Switch off unreferenced power resources in DVACT_POWERDOWN instead of
DVACT_SUSPEND. Fixes an issue with (un)hibernate where we don't attach
xhci(4) controllers, which would make is turn the xhci(4) off inadvertedly
because its power resource wasn't referenced.

ok mlarkin@

date 2024-08-02T14:34:45Z
author mvs
files src/sys/kern/kern_sysctl.c log diff annotate
src/sys/kern/syscalls.master log diff annotate
src/sys/sys/sysctl.h log diff annotate
message Push kernel lock down to sysctl(2).

Unlock few obvious immutable or read-only variables from "kern.*" and
"hw.*" paths. Keep the rest variables locked as before, include pages
wiring. Use new sysctl_vs{,un}lock() functions introduced for thar
purpose.

In kern.* path:

- KERN_OSTYPE, KERN_OSRELEASE, KERN_OSVERSION, KERN_VERSION -
immutable;
- KERN_NUMVNODES - read-only access to integer;
- KERN_MBSTAT - read-only access to per-CPU counters;

In hw.* path:

- HW_MACHINE, HW_MODEL, HW_NCPUONLINE, HW_PHYSMEM, HW_VENDOR,
HW_PRODUCT, HW_VERSION, HW_SERIALNO, HW_UUID, HW_PHYSMEM64 -
immutable;
- HW_USERMEM and HW_USERMEM64 - `physmem' is immutable, uvmexp.wired
is mutable but integer; read-only access to localy stored difference
between `physmem' and uvmexp.wired;
- `hw_vars' - read-only access to integers; some of them like
HW_BYTEORDER and HW_PAGESIZE are immutable;

ok bluhm kettenis

date 2024-08-02T14:35:56Z
author mvs
files src/sys/kern/init_sysent.c log diff annotate
src/sys/kern/syscalls.c log diff annotate
src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message regen

date 2024-08-02T22:24:51Z
author guenther
files src/sys/arch/amd64/amd64/locore.S log diff annotate
message Code patch out the retpoline in the signal trampoline just
like the others.

Nudged, test, and ok deraadt@