OpenBSD cvs log

created 2022-10-22T00:26:07Z
begin 2022-10-16T00:00:00Z
end 2022-10-17T00:00:00Z
path src/sys
commits 7

date 2022-10-16T01:22:39Z
author jsg
files src/sys/arch/sparc64/dev/auxio.c log diff annotate
src/sys/arch/sparc64/dev/beep.c log diff annotate
src/sys/arch/sparc64/dev/beeper.c log diff annotate
src/sys/arch/sparc64/dev/central.c log diff annotate
src/sys/arch/sparc64/dev/creator.c log diff annotate
src/sys/arch/sparc64/dev/fhc_central.c log diff annotate
src/sys/arch/sparc64/dev/fhc_mainbus.c log diff annotate
src/sys/arch/sparc64/dev/lpt_ebus.c log diff annotate
src/sys/arch/sparc64/dev/pci_machdep.c log diff annotate
src/sys/arch/sparc64/dev/pckbc_ebus.c log diff annotate
src/sys/arch/sparc64/dev/pcons.c log diff annotate
src/sys/arch/sparc64/dev/power.c log diff annotate
src/sys/arch/sparc64/dev/psycho.c log diff annotate
src/sys/arch/sparc64/dev/sab.c log diff annotate
src/sys/arch/sparc64/dev/stp_sbus.c log diff annotate
src/sys/arch/sparc64/dev/uperf.c log diff annotate
src/sys/arch/sparc64/dev/uperf_ebus.c log diff annotate
src/sys/arch/sparc64/fpu/fpu.c log diff annotate
src/sys/arch/sparc64/fpu/fpu_add.c log diff annotate
src/sys/arch/sparc64/fpu/fpu_div.c log diff annotate
src/sys/arch/sparc64/fpu/fpu_explode.c log diff annotate
src/sys/arch/sparc64/fpu/fpu_implode.c log diff annotate
src/sys/arch/sparc64/fpu/fpu_mul.c log diff annotate
src/sys/arch/sparc64/fpu/fpu_sqrt.c log diff annotate
src/sys/arch/sparc64/include/bus.h log diff annotate
src/sys/arch/sparc64/sparc64/cache.c log diff annotate
src/sys/arch/sparc64/sparc64/db_interface.c log diff annotate
src/sys/arch/sparc64/sparc64/machdep.c log diff annotate
src/sys/arch/sparc64/sparc64/ofw_machdep.c log diff annotate
src/sys/arch/sparc64/sparc64/openfirm.c log diff annotate
src/sys/arch/sparc64/sparc64/openprom.c log diff annotate
src/sys/arch/sparc64/sparc64/process_machdep.c log diff annotate
src/sys/arch/sparc64/sparc64/sys_machdep.c log diff annotate
src/sys/dev/ic/lsi64854.c log diff annotate
src/sys/dev/ic/mk48txx.c log diff annotate
message Change function definitions using the identifier-list form used in the
1st edition of Kernighan and Ritchie's The C Programming Language, to
that of the parameter-type-list form described in the ANSI X3.159-1989
standard.

In ISO/IEC 9899:2023 drafts, there is only one form of function definition.
"N2432 Remove support for function definitions with identifier lists".

ok kettenis@

date 2022-10-16T01:22:40Z
author jsg
files src/sys/dev/sbus/bwtwo.c log diff annotate
src/sys/dev/sbus/dma_sbus.c log diff annotate
src/sys/dev/sbus/qe.c log diff annotate
src/sys/dev/sbus/qec.c log diff annotate
message Change function definitions using the identifier-list form used in the
1st edition of Kernighan and Ritchie's The C Programming Language, to
that of the parameter-type-list form described in the ANSI X3.159-1989
standard.

In ISO/IEC 9899:2023 drafts, there is only one form of function definition.
"N2432 Remove support for function definitions with identifier lists".

ok kettenis@

date 2022-10-16T15:03:39Z
author kettenis
files src/sys/arch/amd64/amd64/bios.c log diff annotate
src/sys/arch/amd64/amd64/efi_machdep.c log diff annotate
src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/arch/amd64/amd64/pmap.c log diff annotate
src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/arch/amd64/conf/files.amd64 log diff annotate
src/sys/arch/amd64/include/pmap.h log diff annotate
src/sys/dev/efi/efi.h log diff annotate
message Add the guts for EFI runtime services support on amd64. This will be used
in the future to implement support for things like EFI variables.

ok krw@ (a few others ok'ed earlier incarnations of this diff)

date 2022-10-16T16:16:37Z
author deraadt
files src/sys/uvm/uvm_extern.h log diff annotate
src/sys/uvm/uvm_map.c log diff annotate
src/sys/uvm/uvm_map.h log diff annotate
message Rather than marking MAP_STACK on entries for sigaltstack() [2 days ago],
go back to the old approach: using a new anon mapping because it removes
any potential gadgetry pre-placed in the region (by making it zero). But
also bring in a few more validation checks beyond contigious mapping -- it
must not be a syscall region, and the protection must be precisely RW.
This does allow sigaltstack() to shoot zero'd MAP_STACK non-immutable regions
into the main stack area (which will soon be immutable). I am not sure we
can keep reinforce immutable on the region after we do stack (like maybe
determine this while doing the validation entry walk?)
Sadly, continued support for sigaltstack() does require selecting the guessed
best compromise.
ok kettenis

date 2022-10-16T16:27:02Z
author deraadt
files src/sys/kern/kern_sig.c log diff annotate
message Rather than marking MAP_STACK on entries for sigaltstack() [2 days ago],
go back to the old approach: using a new anon mapping because it removes
any potential gadgetry pre-placed in the region (by making it zero). But
also bring in a few more validation checks beyond contigious mapping -- it
must not be a syscall region, and the protection must be precisely RW.
This does allow sigaltstack() to shoot zero'd MAP_STACK non-immutable regions
into the main stack area (which will soon be immutable). I am not sure we
can keep reinforce immutable on the region after we do stack (like maybe
determine this while doing the validation entry walk?)
Sadly, continued support for sigaltstack() does require selecting the guessed
best compromise.
ok kettenis

date 2022-10-16T18:23:44Z
author bru
files src/sys/dev/wscons/wsmouse.c log diff annotate
message Fix a bug in the initialization mechanism of wsmouse.

The CONFIGURED flag, which indicates that first-time initialization
has been completed, must be set immediately after the first call to
wstpad_configure. Otherwise, passing touchpad parameters to the
initialization function has no effect for some of them.

date 2022-10-16T20:17:08Z
author bru
files src/sys/dev/hid/hidmt.c log diff annotate
message Improve the clickpad/touchpad detection in hidmt.

If the HID descriptors don't provide a HUD_BUTTON_TYPE property, hidmt
should treat all devices as clickpads if they report a "clickpad button",
or don't report to have both a left and right external button.