OpenBSD cvs log

created 2022-12-25T08:53:38Z
begin 2022-12-17T00:00:00Z
end 2022-12-18T00:00:00Z
path src/sys
commits 4

date 2022-12-17T11:54:32Z
author kettenis
files src/sys/dev/ofw/ofw_misc.c log diff annotate
message Make nvmem_read_cell() and nvmem_write_cell() work for hardware that
requires word-sized access.

ok patrick@

date 2022-12-17T11:56:44Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/files.arm64 log diff annotate
src/sys/arch/arm64/dev/aplefuse.c log diff annotate
message Add aplefuse(4), a driver for the eFuses on Apple Silicon SoCs.

ok patrick@

date 2022-12-17T13:42:59Z
author kn
files src/sys/kern/syscalls.master log diff annotate
message Unlock minherit(2)

struct uvm_map's .addr is protected by the map's lock and .{min,max}_offset
are immutable.

uvm_map_inherit() locks the VM map upon entry, sets the desired inheritance
mode for the given address range (validated outside the lock) and unlocks
the map itself.

fork(2), i.e. uvm_mapent_forkcopy(), first locks both old and new maps and
then copies entries over as per the inheritance type.

futex(2), another user of struct vm_map_entry's .inheritance member, also
locks the map accordingly.

OK mpi

date 2022-12-17T13:45:00Z
author kn
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 after minherit(2) unlock