OpenBSD cvs log

created 2022-01-30T19:30:58Z
begin 2022-01-25T00:00:00Z
end 2022-01-26T00:00:00Z
path src/sys
commits 6

date 2022-01-25T04:04:40Z
author gnezdo
files src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/arch/i386/i386/machdep.c log diff annotate
src/sys/kern/kern_sysctl.c log diff annotate
src/sys/kern/vfs_subr.c log diff annotate
src/sys/netinet/ip_input.c log diff annotate
message Capture a repeated pattern into sysctl_securelevel_int function

A few variables in the kernel are only writeable before securelevel is
raised. It makes sense to handle them with less code.

OK sthen@ bluhm@

date 2022-01-25T04:04:41Z
author gnezdo
files src/sys/sys/sysctl.h log diff annotate
message Capture a repeated pattern into sysctl_securelevel_int function

A few variables in the kernel are only writeable before securelevel is
raised. It makes sense to handle them with less code.

OK sthen@ bluhm@

date 2022-01-25T07:08:43Z
author visa
files src/sys/arch/mips64/mips64/lcore_ddb.S log diff annotate
message Preserve pcb_onfault in kdbpeek() and kdbpoke()

This avoids misbehaviour if kdbpeek() or kdbpoke() is used in the middle
of a guarded copy operation.

date 2022-01-25T07:10:19Z
author visa
files src/sys/arch/mips64/mips64/trap.c log diff annotate
message Use unguarded loads in stack trace saving

The stack trace saver should see a system state that is not broken.
Therefore use unguarded memory accesses.

However, the unwinder is still haphazard. Terminate immediately if
the program counter or stack pointer look inconsistent.

date 2022-01-25T21:19:21Z
author jsg
files src/sys/dev/pci/drm/i915/gem/i915_gem_mman.c log diff annotate
message reduce diff to linux vm_fault_cpu()

adds change made in linux 9fa1f4785f2a54286ccb8a850cda5661f0a3aaf9
drm/i915: Add object locking to vm_fault_cpu

date 2022-01-25T21:31:26Z
author jsg
files src/sys/dev/pci/drm/i915/gt/shmem_utils.c log diff annotate
message reduce diff to linux shmem_create_from_object()

includes linux 988d4ff6e3c2220d13d8dde22a98945b64fd7977
drm/i915: Fix ww locking in shmem_create_from_object