CVS: cvs.openbsd.org: src

2024-02-03 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/02/04 00:43:27 Modified files: usr.sbin/rpki-client: cert.c Log message: Split X509_get_ext_count() out of for loop again The compiler can't know that the count doesn't change, so avoid evaluating X509

CVS: cvs.openbsd.org: src

2024-02-03 Thread Job Snijders
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/02/03 17:53:27 Modified files: usr.sbin/rpki-client: mft.c Log message: Use x509_get_time() to get the Manifest thisUpdate / nextUpdate >From the moment d2i_Manifest() was introduced, it was automatica

CVS: cvs.openbsd.org: src

2024-02-03 Thread Vitaliy Makkoveev
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2024/02/03 15:50:09 Modified files: sys/kern : uipc_socket.c uipc_socket2.c uipc_syscalls.c sys/miscfs/fifofs: fifo_vnops.c sys/netinet: ip_divert.c ip_divert.h ip_var.h raw_ip.c

CVS: cvs.openbsd.org: src

2024-02-03 Thread Dave Voutila
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2024/02/03 14:41:35 Modified files: usr.sbin/vmd : vionet.c Log message: Add tap(4) read events after rx virtqueue notification. The recent vmd(8) vionet refactor caused cpu spinning when the device would

CVS: cvs.openbsd.org: src

2024-02-03 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/02/03 13:46:57 Modified files: usr.sbin/smtpd : smtpd.conf.5 Log message: missing "s" after apostrophe;

CVS: cvs.openbsd.org: src

2024-02-03 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2024/02/03 13:07:19 Modified files: sys/dev/pci: if_qwx_pci.c sys/dev/ic : qwx.c qwxvar.h Log message: Try to fetch the board variant from the device tree on platforms that have one

CVS: cvs.openbsd.org: src

2024-02-03 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/02/03 12:57:14 Modified files: lib/libssl : tls13_handshake.c Log message: Rework the exit path of tls13_handshake_recv_action() If an error occurs in action->recv() for a handshake that needs to d

CVS: cvs.openbsd.org: src

2024-02-03 Thread Bob Beck
CVSROOT:/cvs Module name:src Changes by: b...@cvs.openbsd.org2024/02/03 11:51:59 Modified files: bin/ps : ps.1 sbin/dump : traverse.c sbin/dumpfs: dumpfs.c sbin/fsck_ffs : dir.c fsck.h main.c pass1.c pass2.c pass5.c

CVS: cvs.openbsd.org: src

2024-02-03 Thread Florian Obser
CVSROOT:/cvs Module name:src Changes by: flor...@cvs.openbsd.org 2024/02/03 11:30:17 Modified files: sbin/slaacd: engine.c Log message: Stop spamming syslog when the network does something silly. >From Stefan R. Filipek, thanks!

CVS: cvs.openbsd.org: src

2024-02-03 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/02/03 11:03:49 Modified files: lib/libssl : ssl_clnt.c Log message: Remove last peeking at TLS1_FLAGS_SKIP_CERT_VERIFY This was used for some GOST weirdness. The flag is unused in ports and there i

CVS: cvs.openbsd.org: src

2024-02-03 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/02/03 10:39:18 Modified files: lib/libssl : ssl_srvr.c Log message: Zap a trailing blank that snuck into ssl3_get_client_hello()

CVS: cvs.openbsd.org: src

2024-02-03 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2024/02/03 09:21:22 Modified files: distrib/special/sysctl: sysctl.c sys/arch/amd64/amd64: cpu.c machdep.c sys/arch/amd64/include: cpu.h Log message: Add new amd64-only sysctl machdep.retpo

CVS: cvs.openbsd.org: src

2024-02-03 Thread Bob Beck
CVSROOT:/cvs Module name:src Changes by: b...@cvs.openbsd.org2024/02/03 08:58:34 Modified files: lib/libssl : s3_lib.c ssl.h ssl3.h ssl_both.c ssl_cert.c ssl_ciph.c ssl_clnt.c ssl_err.c ssl_lib.c ssl_local.h ssl_si

CVS: cvs.openbsd.org: src

2024-02-03 Thread Omar Polo
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2024/02/03 08:50:00 Modified files: usr.sbin/smtpd : parse.y smtpd.c Log message: leave the command for mbox delivery unset The mbox delivery is handled apart from the other delivery methods. Since the mda

CVS: cvs.openbsd.org: src

2024-02-03 Thread Omar Polo
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2024/02/03 08:41:02 Modified files: usr.sbin/smtpd : smtpd.conf.5 Log message: document that when an alternate delivery user is provided in a dispatcher, no .forward file except that of the alternate deliver

CVS: cvs.openbsd.org: src

2024-02-03 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/02/03 07:43:15 Modified files: usr.sbin/rpki-client: cert.c Log message: Fix X509_get_ext_count() usage It doesn't return a value < 0. If it did, someone could feed rpki-client a bad cert that makes it

CVS: cvs.openbsd.org: src

2024-02-03 Thread Job Snijders
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/02/03 07:30:47 Modified files: usr.sbin/rpki-client: extern.h main.c mft.c output-json.c output-ometric.c output.c parser.c repo.c Log message: Refactor handling of stale

CVS: cvs.openbsd.org: src

2024-02-03 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/02/03 04:27:55 Modified files: usr.sbin/rpki-client: parser.c Log message: proc_parser_mft: simplify logic slightly This aligns the mft2 case with mft1. There's still a bunch of cleanup needed in here,

CVS: cvs.openbsd.org: src

2024-02-03 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2024/02/03 04:03:48 Modified files: gnu/llvm/lld/ELF: SyntheticSections.cpp Writer.cpp gnu/llvm/lld/ELF/Arch: X86_64.cpp Log message: On OpenBSD we always want IBT-compatible PLT entries. C

CVS: cvs.openbsd.org: src

2024-02-03 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2024/02/03 03:37:26 Modified files: sys/arch/arm64/dev: acpipci.c agintc.c aplpcie.c pci_machdep.c sys/arch/arm64/include: pci_machdep.h sys/arch/riscv64/dev: pci_machdep.c s

CVS: cvs.openbsd.org: src

2024-02-03 Thread Stefan Sperling
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2024/02/03 03:03:18 Modified files: sys/dev/ic : qwx.c qwxreg.h qwxvar.h Log message: implement qwx_tx() This gets the 4-way handshake working. Unfortunately, no traffic is passing yet, apparently becau

CVS: cvs.openbsd.org: src

2024-02-03 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/02/03 02:53:15 Modified files: sys/arch/amd64/amd64: cacheinfo.c Log message: not enough bits for L1 cache size to be >= 1M found by "mask and shift to zero: expr='totalsize >> 10'" smatch warning

CVS: cvs.openbsd.org: src

2024-02-03 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/02/03 02:26:52 Modified files: usr.sbin/bgpd : rde_peer.c Log message: fix off-by-one in bounds check found by "buffer overflow 'peer->capa.add_path' 7 <= 7" smatch error ok claudio@

CVS: cvs.openbsd.org: src

2024-02-03 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/02/03 02:15:57 Modified files: sys/dev/pci/drm: drm_edid.c Log message: return early if malloc fails to avoid use after free found by "passing freed memory 'edid'" smatch warning