CVS: cvs.openbsd.org: www

2023-02-09 Thread Jonathan Gray
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2023/02/10 00:09:34

Modified files:
.  : romp.html 

Log message:
mention more history
with and ok miod@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/02/10 00:00:12

Modified files:
sys/kern   : subr_disk.c 

Log message:
Remove explicit rejection of zero duid in disk_map() added in 1.262.
Spoofed labels have zero duid and there is no reason not to allow them to
work with duid notation.

ok kn@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/02/09 23:41:53

Modified files:
usr.bin/ssh: ssh-keyscan.1 ssh-keyscan.c 

Log message:
space between macro and punctuation;
sort usage();



CVS: cvs.openbsd.org: src

2023-02-09 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/02/09 23:40:48

Modified files:
usr.bin/ssh: ssh-keygen.1 

Log message:
space between macro and punctuation;



CVS: cvs.openbsd.org: src

2023-02-09 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/02/09 23:39:27

Modified files:
usr.bin/ssh: sshd.8 

Log message:
sort SYNOPSIS;



CVS: cvs.openbsd.org: src

2023-02-09 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2023/02/09 22:06:03

Modified files:
regress/usr.bin/ssh: keygen-sshfp.sh 

Log message:
test -Ohashalg=... and that the default output contains both
specified hash algorithms; prompted by dtucker@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2023/02/09 21:56:30

Modified files:
usr.bin/ssh: dns.c dns.h ssh-keygen.1 ssh-keygen.c 
 ssh-keyscan.1 ssh-keyscan.c 

Log message:
let ssh-keygen and ssh-keyscan accept -Ohashalg=sha1|sha256 when
outputting SSHFP fingerprints to allow algorithm selection.
bz3493 ok dtucker@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2023/02/09 21:47:19

Modified files:
usr.bin/ssh: sshd.8 sshd.c 

Log message:
add a `sshd -G` option that parses and prints the effective
configuration without attempting to load private keys and perform
other checks. This allows usage of the option before keys have been
generated.

bz3460 feedback/ok dtucker@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2023/02/09 21:40:28

Modified files:
usr.bin/ssh: ssh.c 

Log message:
make `ssh -Q CASignatureAlgorithms` work as the manpage says it should
bz3532



CVS: cvs.openbsd.org: src

2023-02-09 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2023/02/09 16:35:06

Modified files:
sys/arch/arm64/arm64: cpu.c 

Log message:
correct values for M2 Max
ok kettenis@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/02/09 15:50:07

Modified files:
usr.sbin/rpki-client: x509.c 

Log message:
Use GEN_OTHERNAME instead of hardcoding 0

discussed with job



CVS: cvs.openbsd.org: src

2023-02-09 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2023/02/09 14:21:27

Modified files:
sys/dev/pci: if_em.c if_igc.c 

Log message:
consolidate mbuf header parsing on device driver layer

em(4) ok jan@, bluhm@
igc(4) tested by weerd@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/02/09 14:02:24

Modified files:
sys/arch/arm64/arm64: cpu.c 

Log message:
Recognize the cores on Apple's M2 Pro/Max SoCs.

ok patrick@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/02/09 10:19:25

Modified files:
sys/dev/pci/drm: drm_gem_ttm_helper.c 

Log message:
Unstub drm_gem_ttm_vmap/vunmap.

ok jsg@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/02/09 10:18:21

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_drv.c 

Log message:
Pin the default framebuffer.  The Linux drm code no longer does this since
they switched to using a shadow framebuffer and only pin the hardware
framebuffer when flushing the shadow framebuffer.  But our wdisplay(4)
and rasops(9) code expects the hardware framebuffer to be always
accessible at the same address.

Fixes the regression introduced by amdgpu_object.c rev 1.12.

ok jsg@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2023/02/09 06:43:23

Modified files:
usr.sbin/bgpd  : bgpd.h control.c rde.c rde.h rde_peer.c 
 rde_rib.c rde_update.c session.c session.h 

Log message:
Instead of relaying struct peer from the SE to the RDE to fill out 10
stat numbers, just send the peerid and have the RDE response with the
stats. The control code will then merge these counters into the real
peer struct and send that to bgpctl. This reduces the number of bytes
sent around a fair bit.
OK tb@



CVS: cvs.openbsd.org: www

2023-02-09 Thread Stefan Sperling
CVSROOT:/cvs
Module name:www
Changes by: s...@cvs.openbsd.org2023/02/09 06:03:47

Modified files:
.  : events.html 
Added files:
papers : fosdem2023-gotd.pdf 

Log message:
Add slides and video link for a talk I gave at fosdem 2023, titled
"How much I suck at writing privsep daemons".



CVS: cvs.openbsd.org: src

2023-02-09 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2023/02/09 04:35:17

Modified files:
share/man/man4 : softraid.4 

Log message:
use newer, much easier disklabel template strings



CVS: cvs.openbsd.org: www

2023-02-09 Thread Klemens Nanni
CVSROOT:/cvs
Module name:www
Changes by: k...@cvs.openbsd.org2023/02/09 04:27:49

Modified files:
faq: faq14.html 

Log message:
Crank EFI system partition size to new installer default;  OK tj



CVS: cvs.openbsd.org: src

2023-02-09 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2023/02/09 03:38:41

Modified files:
distrib/miniroot: install.sub 

Log message:
Do not ask to initialize disks with softraid chunks

Skip chunk devices in the 'Which disk do you wish to initialize?' question.
Touching sd0, e.g. after a root on softraid sd1 install on sd0, will fail.

get_dkdevs_uninitialized() is used once, in interactive installs, right
after root disk setup, iff multiple disks exist.

Tested as part of a bigger diff by a few
OK cheloha



CVS: cvs.openbsd.org: src

2023-02-09 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/02/09 02:58:53

Modified files:
lib/libcrypto/bn: bn_sqr.c 

Log message:
Pull in bn_internal.h for the generic version of bn_umul_hilo()



CVS: cvs.openbsd.org: src

2023-02-09 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2023/02/09 02:55:33

Modified files:
regress/usr.bin/ssh: knownhosts.sh 

Log message:
Test adding terminating newline to known_hosts.



CVS: cvs.openbsd.org: src

2023-02-09 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2023/02/09 02:54:11

Modified files:
usr.bin/ssh: hostfile.c 

Log message:
Ensure that there is a terminating newline when adding a new entry
to known_hosts.  bz#3529, with git+openssh at limpsquid.nl,
ok deraadt@ markus@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2023/02/09 02:16:26

Modified files:
lib/libcrypto/bn: bn_local.h bn_sqr.c 

Log message:
Clean up bn_sqr_words()

Currently there are two versions of bn_sqr_words(), which call the sqr or
sqr64 macro. Replace this with a single version that calls bn_umul_hilo()
and remove the various implementations of the sqr macro. The only slight
downside is that sqr64 does three multiplications instead of four, given
that the second and third terms are identical. However, this is a minimal
gain for the amount of duplication and entanglement it introduces.

ok tb@



CVS: cvs.openbsd.org: src

2023-02-09 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2023/02/09 01:00:31

Modified files:
sys/kern   : kern_ktrace.c 

Log message:
Delay setting the timestamp in the ktrace header until we've grabbed
the vnode, to eliminate misordering of ktrace records.

problem noted by jrick@
ok deraadt@