CVS: cvs.openbsd.org: src

2023-10-10 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2023/10/11 00:40:54

Modified files:
usr.bin/ssh: ssh_config.5 

Log message:
mention "none" is a valid argument to IdentityFile; bz3080



CVS: cvs.openbsd.org: src

2023-10-10 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2023/10/11 00:30:10

Modified files:
usr.sbin/bgpd  : version.h 

Log message:
Bump version for -portable release



CVS: cvs.openbsd.org: src

2023-10-10 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/10/11 00:08:57

Modified files:
lib/libcrypto/man: X509_ALGOR_dup.3 

Log message:
Be more precise about X509_ALGOR_get0()



CVS: cvs.openbsd.org: src

2023-10-10 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2023/10/10 23:42:08

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

Log message:
in olde rcp/scp protocol mode, when rejecting a path from the server
as not matching the glob that the client sent, log (at debug level) the
received pathname as well as the list of possible expected paths expanded
from the glob. bz2966



CVS: cvs.openbsd.org: src

2023-10-10 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2023/10/10 22:46:30

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

Log message:
s/%.100s/%s/ in SSH- banner construction as there's no reason to
limit its size: the version string bring included is a compile time
constant going into an allocated banner string.



CVS: cvs.openbsd.org: www

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

Modified files:
.  : 74.html 

Log message:
add drm changes as requested by benno@



CVS: cvs.openbsd.org: src

2023-10-10 Thread Scott Soule Cheloha
CVSROOT:/cvs
Module name:src
Changes by: chel...@cvs.openbsd.org 2023/10/10 18:02:25

Modified files:
sys/kern   : kern_clockintr.c 

Log message:
clockintr_stagger: rename parameters: "n" -> "numer", "count" -> "denom"

Rename these parameters to align the code with the forthcoming
manpage.  No functional change.



CVS: cvs.openbsd.org: www

2023-10-10 Thread Jonathan Gray
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2023/10/10 17:24:13

Modified files:
.  : 74.html 

Log message:
fix repeated word



CVS: cvs.openbsd.org: www

2023-10-10 Thread Jonathan Gray
CVSROOT:/cvs
Module name:www
Changes by: j...@cvs.openbsd.org2023/10/10 17:19:35

Modified files:
.  : 74.html 

Log message:
spelling



CVS: cvs.openbsd.org: www

2023-10-10 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:www
Changes by: be...@cvs.openbsd.org   2023/10/10 16:35:56

Modified files:
.  : 74.html 

Log message:
next chunk of changes



CVS: cvs.openbsd.org: www

2023-10-10 Thread Darren Tucker
CVSROOT:/cvs
Module name:www
Changes by: dtuc...@cvs.openbsd.org 2023/10/10 16:14:54

Modified files:
.  : 74.html 

Log message:
Remove errant .



CVS: cvs.openbsd.org: www

2023-10-10 Thread Darren Tucker
CVSROOT:/cvs
Module name:www
Changes by: dtuc...@cvs.openbsd.org 2023/10/10 16:11:09

Modified files:
.  : 74.html 

Log message:
Add OpenSSH 9.4.  Remove mux timeout bugfix from list since it was
added then deleted between OpenBSD releases and wasn't in any OpenBSD
release.



CVS: cvs.openbsd.org: www

2023-10-10 Thread Darren Tucker
CVSROOT:/cvs
Module name:www
Changes by: dtuc...@cvs.openbsd.org 2023/10/10 15:40:23

Modified files:
.  : 74.html 

Log message:
Add OpenSSH 9.5 changes.



CVS: cvs.openbsd.org: www

2023-10-10 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:www
Changes by: be...@cvs.openbsd.org   2023/10/10 15:33:54

Modified files:
.  : 74.html 

Log message:
First chunk of 7.4 changes.



CVS: cvs.openbsd.org: src

2023-10-10 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2023/10/10 13:06:42

Modified files:
sys/dev/ic : dwqereg.h 

Log message:
Correctly define GMAC_VERSION.  Found by stsp@

ok stsp@



CVS: cvs.openbsd.org: src

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

Modified files:
sys/arch/armv7/vexpress: pciecam.c 

Log message:
Ignore PCI MEM64 ranges over 4GB, since this 32-bit kernel can't use them;
this prevents a DIAGNOSTIC panic when running in qemu without option
"-M virt,highmem=off".

Reported by and ok jsg@



CVS: cvs.openbsd.org: src

2023-10-10 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2023/10/10 12:18:05

Modified files:
regress/sys/kern/pipe: test-kqueue.c 

Log message:
Fix timing issue in which one thread could be left hanging in
pipe_read().



CVS: cvs.openbsd.org: src

2023-10-10 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2023/10/10 12:17:26

Modified files:
regress/sys/fileops: Makefile.inc 
regress/sys/fileops/ext2: Makefile 
regress/sys/fileops/ffs: Makefile 
regress/sys/fileops/msdos16: Makefile 
regress/sys/fileops/msdos32: Makefile 

Log message:
Make it possible to run fileops tests in parallel by making use of a
unique mount point and vnd device.



CVS: cvs.openbsd.org: src

2023-10-10 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2023/10/10 10:26:06

Modified files:
sys/net: pf.c 

Log message:
pf(4) must not pass packet if state cannot be created.

The behavior of the PFRULE_SRCTRACK and max_states check was
unintentionally changed by commit revision 1.964.  If the state was
not created due to some limit had been reached, pf still passed the
packet.  Restore the old logic by setting action to pass later,
after the checks.  In pf_test_rule() action is initialized to drop.

OK sashan@



CVS: cvs.openbsd.org: src

2023-10-10 Thread Tobias Heider
CVSROOT:/cvs
Module name:src
Changes by: to...@cvs.openbsd.org   2023/10/10 10:16:16

Modified files:
sbin/ipsecctl  : pfkdump.c 

Log message:
Print at most pkgsize - hdrsize bytes for pfkey tag and identity to
prevent out-of-bounds read in strlen().

ok tb@



CVS: cvs.openbsd.org: src

2023-10-10 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2023/10/10 10:09:53

Modified files:
sbin/dhcpleased: dhcpleased.c 

Log message:
Do not copy stack garbage, that's not going to be used.

Pointed out by gcc via tb.

rdns_count is validated by all callers of propose_rdns(), so we can
trust it here to be sensible.

While here fix a pasto in an error message.

OK tb



CVS: cvs.openbsd.org: src

2023-10-10 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2023/10/10 08:36:28

Modified files:
usr.sbin/bgpd  : rde_community.c 

Log message:
When rewriting community_writebuf() the handling of non-transitive
ext-communities was put into the wrong place in the loop finding
start, end and number of communities to dump. As a result the end
pointer for regular communities can point at an ext-community and
with that the COMMUNITY attribute written includes unexpected extra
bytes. This in turn causes the peer to send a NOTIFICATION error
and to terminate the session.

Fix for -portable issue #64 reported by Pier Carlo Chiodi (pierky)
OK tb@



CVS: cvs.openbsd.org: src

2023-10-10 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/10/10 07:59:47

Modified files:
lib/libcrypto/man: X509_ALGOR_dup.3 

Log message:
Improve X509_ALGOR_new(3) documentation

The previous wording was misleading since the result of X509_ALGOR_new()
is not actually an empty X509_ALGOR object. Rather, it contains the
undefined ASN1_OBJECT returned by OBJ_nid2obj(NID_undef). Therefore using
X509_ALGOR_get0(3) for error checking X509_ALGOR_set_md() is not trivial.

So: change the initial paragraph into a general intro referring to the
OpenSSL API needed to interface with X509_ALGOR and write a new paragraph
documenting X509_ALGOR_new(3) and drop the incorrect suggestion of an error
check. Notably there's now a reference to the OBJ_nid2obj() family without
which one cannot really use X509_ALGOR_* for anything at all.

With and ok schwarze



CVS: cvs.openbsd.org: src

2023-10-10 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2023/10/10 05:25:31

Modified files:
sys/net: pf.c pf_norm.c pf_osfp.c pfvar.h 

Log message:
Remove dead code in pf_pull_hdr().

pf_pull_hdr() allows to pass an action pointer parameter as output
value.  This is never used, all callers pass a NULL argument.  Remove
ACTION_SET() entirely.

The logic (fragoff >= len) in pf_pull_hdr() does not work since
revision 1.4.  Before it was used to drop short TCP or UDP fragments
that contained only part of the header.  Current code in pf_pull_hdr()
drops the packets anyway, so always set reason PFRES_FRAG.

OK kn@ sashan@



CVS: cvs.openbsd.org: src

2023-10-10 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/10/10 03:48:06

Modified files:
games/robots   : score.c 

Log message:
Fix format string warning in robots/score.c



CVS: cvs.openbsd.org: src

2023-10-10 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/10/10 03:43:52

Modified files:
games/phantasia: misc.c 

Log message:
Print a long with %ld instead of %d



CVS: cvs.openbsd.org: src

2023-10-10 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/10/10 03:42:56

Modified files:
games/mille: misc.c print.c 

Log message:
Use vw_printw() and fix a format print warning.



CVS: cvs.openbsd.org: src

2023-10-10 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/10/10 03:30:06

Modified files:
usr.bin/systat : engine.c 

Log message:
Drop GCC_PRINTFLIKE() at function definition

This makes gcc throw a fit and having the attributes for the prototypes in
engine.h is enough.

ok claudio sthen



CVS: cvs.openbsd.org: src

2023-10-10 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/10/10 03:27:04

Modified files:
usr.bin/systat : netstat.c 

Log message:
Fix a format warning about a non-literal string

ok claudio sthen



CVS: cvs.openbsd.org: src

2023-10-10 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2023/10/10 02:22:19

Modified files:
games/boggle/boggle: mach.c 

Log message:
Print non-literal string with "%s"

Caught by printf format attribute for printw(3) in newer curses.



CVS: cvs.openbsd.org: src

2023-10-10 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2023/10/10 01:11:50

Modified files:
sys/dev/fdt: if_dwqe_fdt.c 
sys/dev/ic : dwqe.c dwqevar.h 

Log message:
Fiv the value written to dwqe(4) MAC_1US_TIC_CTR register.

The calculation of this value is supposed to involve a clock frequency
but we were using a clock ID in the range 0-7 instead.

ok kettenis, patrick