OpenBSD cvs log

created 2020-10-25T07:30:28Z
begin 2020-10-19T00:00:00Z
end 2020-10-20T00:00:00Z
path src/sys
commits 8

date 2020-10-19T08:19:46Z
author mpi
files src/sys/kern/kern_sysctl.c log diff annotate
src/sys/kern/sys_process.c log diff annotate
src/sys/uvm/uvm_extern.h log diff annotate
src/sys/uvm/uvm_map.c log diff annotate
src/sys/uvm/uvm_unix.c log diff annotate
message Serialize accesses to "struct vmspace" and document its refcounting.

The underlying vm_space lock is used as a substitute to the KERNEL_LOCK()
in uvm_grow() to make sure `vm_ssize' is not corrupted.

ok anton@, kettenis@

date 2020-10-19T08:21:02Z
author kettenis
files src/sys/arch/arm/arm/fault.c log diff annotate
message Set %r0 to EFAULT instead of the return value from uvm_fault() when it
fails and we're doing a copyin/copyout.

Fixes a buf where systems calls would return EACCESS instead of EFAULT
when accessing userland memory that can't be accessed.

ok patrick@

date 2020-10-19T17:57:40Z
author naddy
files src/sys/arch/arm/arm/sigcode.S log diff annotate
src/sys/arch/arm64/arm64/locore.S log diff annotate
message replace ad-hoc illegal instruction with the architecturally defined one
("permanently undefined")
ok deraadt@ kettenis@

date 2020-10-19T17:57:43Z
author kettenis
files src/sys/uvm/uvm_glue.c log diff annotate
message Clear vmspace pointer in struct process before calling uvmspace_free(9).

ok patrick@, mpi@

date 2020-10-19T18:17:38Z
author deraadt
files src/sys/arch/amd64/amd64/trap.c log diff annotate
message deliver SIGSEGV rather than SIGBUS for T_PROTFLT,T_SEGNPFLT,T_STKFLT.
This is a similar translation as i386, and matches the idea that SIGBUS
signals refer to problems with the underlying object rather than the
mapping.
ok kettenis

date 2020-10-19T18:18:15Z
author deraadt
files src/sys/arch/amd64/amd64/trap.c log diff annotate
message the userland pagefault handler can drop the kernel lock before going
into trapsignal()
discussed with kettenis

date 2020-10-19T18:54:58Z
author kettenis
files src/sys/arch/powerpc64/include/opal.h log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Only use OPAL_CONSOLE_FLUSH if the firmware implements it. Should help
on POWER8 machines with older versions of OPAL.

date 2020-10-19T22:01:32Z
author naddy
files src/sys/arch/arm64/arm64/disasm.c log diff annotate
message Decode the UDF ("permanently undefined") instruction in ddb(4)'s arm64
disassembler. The particular immediate16 format appears to be unique to
this instruction.

ok kettenis@ deraadt@