OpenBSD cvs log

created 2021-03-28T04:05:27Z
begin 2021-03-21T00:00:00Z
end 2021-03-22T00:00:00Z
path src/sys
commits 5

date 2021-03-21T10:24:36Z
author mpi
files src/sys/kern/kern_sig.c log diff annotate
message Use uppercases for defines.

No functional change.

ok semarie@

date 2021-03-21T11:29:38Z
author semarie
files src/sys/kern/exec_conf.c log diff annotate
src/sys/sys/exec.h log diff annotate
message makes `struct execsw' to:

- use C99-style initialization (grep works better with that)
- use const as execsw is not modified during runtime

ok mpi@

date 2021-03-21T14:18:37Z
author visa
files src/sys/arch/sgi/xbow/xbridge.c log diff annotate
message Disambiguate expressions.

date 2021-03-21T16:20:49Z
author bru
files src/sys/dev/wscons/wsmouse.c log diff annotate
src/sys/dev/wscons/wsmouseinput.h log diff annotate
src/sys/dev/wscons/wstpad.c log diff annotate
message Include wstpad allocations when cleaning up wsmouse resources.

ok gnezdo@

date 2021-03-21T18:13:59Z
author sthen
files src/sys/net/wg_noise.c log diff annotate
message wg(4): fix race between tx/rx handshakes, from Matt Dunwoodie, ok mpi@

"There is a race between sending/receiving handshake packets. This
occurs if we consume an initiation, then send an initiation prior to
replying to the consumed initiation.

In particular, when consuming an initiation, we don't generate the
index until creating the response (which is incorrect). If we attempt
to create an initiation between these processes, we drop any
outstanding handshake which in this case has index 0 as set when
consuming the initiation.

The fix attached is to generate the index when consuming the initiation
so that any spurious initiation creation can drop a valid index. The
patch also consolidates setting fields on the handshake."