OpenBSD cvs log

created 2022-10-22T00:21:45Z
begin 2022-10-15T00:00:00Z
end 2022-10-16T00:00:00Z
path src/sys
commits 8

date 2022-10-15T03:23:50Z
author deraadt
files src/sys/kern/kern_sig.c log diff annotate
src/sys/uvm/uvm_map.c log diff annotate
src/sys/uvm/uvm_map.h log diff annotate
message During the MAP_STACK introduction in 2018, sigaltstack() became a
problem because haphazard use could shoot holes in the address space
(changing permissions, providing opportunities for pivoting, etc). I
tried to write a diff to convert the address space correctly but did
not understand enough about map entries, so instead we mapped new
memory over top of the existing object. Placing a new mapping becomes
unfeasible with the upcoming mimmutable model, so here is code that
adds MAP_STACK to the region. It will only do so for a contigiously
mapped region that is non-syscall with permission RW, otherwise it
returns an error.
Food for thought: If we know the object isn't service by an object,
we should consider zero'ing the region, to block pre-pivot placement?
ok kettenis

date 2022-10-15T05:56:01Z
author deraadt
files src/sys/uvm/uvm_map.c log diff annotate
message remove one of the debug messages

date 2022-10-15T08:04:02Z
author jsg
files src/sys/arch/arm/arm/db_interface.c log diff annotate
src/sys/arch/arm64/arm64/db_interface.c log diff annotate
src/sys/arch/powerpc/ddb/db_memrw.c log diff annotate
message ansi

date 2022-10-15T08:41:18Z
author jsg
files src/sys/arch/macppc/dev/i2s.c log diff annotate
src/sys/arch/macppc/dev/if_wi_obio.c log diff annotate
src/sys/arch/macppc/dev/mediabay.c log diff annotate
message ansi

date 2022-10-15T10:12:12Z
author jsg
files src/sys/arch/alpha/alpha/conf.c log diff annotate
message ansi

date 2022-10-15T10:12:13Z
author jsg
files src/sys/arch/hppa/hppa/conf.c log diff annotate
src/sys/arch/landisk/landisk/conf.c log diff annotate
src/sys/arch/loongson/loongson/conf.c log diff annotate
src/sys/arch/luna88k/luna88k/conf.c log diff annotate
src/sys/arch/octeon/octeon/conf.c log diff annotate
src/sys/arch/sparc64/sparc64/conf.c log diff annotate
message ansi

date 2022-10-15T14:58:54Z
author jsg
files src/sys/arch/loongson/dev/mcclock.c log diff annotate
src/sys/arch/loongson/dev/mcclock_isa.c log diff annotate
message ansi

date 2022-10-15T18:22:53Z
author kettenis
files src/sys/dev/i2c/abx80x.c log diff annotate
src/sys/dev/i2c/ds1307.c log diff annotate
src/sys/dev/i2c/ds3231.c log diff annotate
src/sys/dev/i2c/isl1208.c log diff annotate
src/sys/dev/i2c/mcp794xx.c log diff annotate
message Convert remaining I2C RTC drivers to use todr_attach().
These all get a quality of 1000 since these are supposed to be battery
backed and almost certainly what the hardware designers want us to use.

ok mglocker@, jsg@