CVS: cvs.openbsd.org: src

2022-01-10 Thread Sebastien Marie
CVSROOT:/cvs Module name:src Changes by: sema...@cvs.openbsd.org 2022/01/11 00:31:50 Modified files: sys/kern : kern_unveil.c Log message: move kern_unveil.c to use DPRINTF() Changes the way printf debug is done in kern_unveil.c Currently, each printf() is enclose

CVS: cvs.openbsd.org: src

2022-01-10 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2022/01/10 23:35:03 Modified files: sys/lib/libsa : readdir.c Log message: Remove dead store to f and avoid use of unvalidated fd. Found by LLVM scan-build. OK millert@ deraadt@

CVS: cvs.openbsd.org: src

2022-01-10 Thread Anton Lindqvist
CVSROOT:/cvs Module name:src Changes by: an...@cvs.openbsd.org 2022/01/10 23:23:05 Modified files: sys/dev: kcov.c Log message: Add temporary verbose logging when remote coverage fails to attach. In the hopes of tracking down a rare bug seen on syzkaller.

CVS: cvs.openbsd.org: src

2022-01-10 Thread Anton Lindqvist
CVSROOT:/cvs Module name:src Changes by: an...@cvs.openbsd.org 2022/01/10 23:01:15 Modified files: regress/sys/dev/kcov: kcov.c Log message: no need to inspect the coverage for the dying test case

CVS: cvs.openbsd.org: src

2022-01-10 Thread Anton Lindqvist
CVSROOT:/cvs Module name:src Changes by: an...@cvs.openbsd.org 2022/01/10 23:00:41 Modified files: sys/dev: kcov.c Log message: In revision 1.43 of kcov.c, the redundant conditional of checking for an exising kcov descriptor with the given device minor was remov

CVS: cvs.openbsd.org: src

2022-01-10 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/01/10 22:34:33 Modified files: usr.sbin/makefs: README cd9660.c ffs.c walk.c usr.sbin/makefs/cd9660: cd9660_write.c usr.sbin/makefs/ffs: ffs_alloc.c ffs_subr.c usr.sbin/makefs/m

CVS: cvs.openbsd.org: src

2022-01-10 Thread Andrew Fresh
CVSROOT:/cvs Module name:src Changes by: afre...@cvs.openbsd.org 2022/01/10 20:25:52 Modified files: usr.sbin/fw_update: fw_update.sh Log message: Tidy up some comments requested by deraadt@

CVS: cvs.openbsd.org: src

2022-01-10 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/01/10 20:13:59 Modified files: sys/isofs/cd9660: cd9660_lookup.c sys/isofs/udf : ecma167-udf.h udf_vfsops.c sys/msdosfs: msdosfs_lookup.c sys/nfs: nfs_aiod.c nfs_so

CVS: cvs.openbsd.org: src

2022-01-10 Thread Darren Tucker
CVSROOT:/cvs Module name:src Changes by: dtuc...@cvs.openbsd.org 2022/01/10 19:56:19 Modified files: usr.bin/ssh: sftp-server.c Log message: "void" functions should not return anything. From Tim Rice via -portable.

CVS: cvs.openbsd.org: src

2022-01-10 Thread Damien Miller
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2022/01/10 18:26:47 Modified files: usr.bin/ssh: clientloop.c mux.c Log message: suppress "Connection to xxx closed" messages at LogLevel >= error bz3378; ok dtucker@

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2022/01/10 17:58:32 Modified files: distrib/miniroot: install.sub Log message: If the install media contains non-free /*firmware*.tgz files, use fw_update to install them. This lets users usb-lift firmware

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2022/01/10 17:48:45 Modified files: distrib/miniroot: install.sub Log message: Split 2nd half of enable_network() into a sub-function enable_ifs(). This is the piece which loops over hostname.* files and run

CVS: cvs.openbsd.org: src

2022-01-10 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/01/10 17:37:23 Modified files: sys/dev/pci: azalia.c dwiic_pci.c ichiic.c Log message: match on Intel Jasper Lake cavs/hda is pci class multimedia subclass audio so not automatically matched by aza

CVS: cvs.openbsd.org: src

2022-01-10 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/01/10 16:41:12 Modified files: sys/dev/pci: pcidevs.h pcidevs_data.h Log message: regen

CVS: cvs.openbsd.org: src

2022-01-10 Thread Jonathan Gray
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/01/10 16:40:37 Modified files: sys/dev/pci: pcidevs Log message: add Intel Jasper Lake devices from Intel Pentium Silver and Intel Celeron Processors Datasheet 633935

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 16:39:48 Modified files: lib/libtls : tls_bio_cb.c Log message: Convert tls_bio_cb for opaque BIO joint with jsing

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 16:03:07 Modified files: lib/libcsi : csi_dh.c csi_internal.h csi_util.c Log message: Mechanical conversion of libcsi for opaque DH. ok jsing

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 15:44:22 Modified files: lib/libcrypto/man: EVP_AEAD_CTX_init.3 Log message: Document EVP_AEAD_CTX_{new,free}() and adjust example code. looks good to jsing

CVS: cvs.openbsd.org: src

2022-01-10 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/01/10 14:16:44 Modified files: share/man/man4/man4.arm64: aplsmc.4 Log message: fix SEE ALSO;

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 12:22:27 Modified files: usr.bin/openssl: testdsa.h Log message: Unbreak tree. Sorry about that.

CVS: cvs.openbsd.org: src

2022-01-10 Thread Tobias Heider
CVSROOT:/cvs Module name:src Changes by: to...@cvs.openbsd.org 2022/01/10 11:23:39 Modified files: sys/dev/sdmmc : sdmmc_mem.c Log message: Return ENOMEM on malloc errors to prevent use of uninitialized stack memory. Cleanup error handling while here. ok stsp@ visa@

CVS: cvs.openbsd.org: src

2022-01-10 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2022/01/10 10:59:45 Modified files: usr.bin/mandoc : term.c Log message: When rendering the \h (horizontal motion) low-level roff(7) escape sequence in -T ps and -T pdf output mode, use an appropriat

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2022/01/10 09:45:09 Modified files: distrib/sets/lists/man: mi Log message: sync

CVS: cvs.openbsd.org: src

2022-01-10 Thread Visa Hankala
CVSROOT:/cvs Module name:src Changes by: v...@cvs.openbsd.org2022/01/10 09:21:19 Modified files: sys/arch/octeon/dev: octboot.c Log message: Initialize variables that are touched in the error path. Reminded by LLVM scan-build.

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 08:14:27 Modified files: usr.bin/openssl: testdsa.h Log message: NULL out pointers after transferring them to the DSA object.

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2022/01/10 08:14:25 Modified files: distrib/sets/lists/man: mi Log message: sync

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 08:04:06 Modified files: usr.bin/openssl: testdsa.h Log message: Dedup get_dsa*() code. Pointed out by jsing

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 07:47:09 Modified files: usr.bin/openssl: testdsa.h Log message: Convert testdsa to accessors for opaque DSA ok inoguchi jsing

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 07:13:03 Modified files: lib/libcrypto/x509: x509.h Log message: Remove a few unused defines from x509.h As suggested by schwarze, this removes X509_EX_V_{INIT,NETSCAPE_HACK} and X509_EXT_PACK_{

CVS: cvs.openbsd.org: src

2022-01-10 Thread Jan Klemkow
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2022/01/10 07:07:59 Modified files: sys/net: if_vxlan.c Log message: Use NULL instead of 0 for pointers. OK bluhm@

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 06:42:28 Modified files: lib/libcrypto/evp: evp.h evp_lib.c Log message: Prepare to provide the EVP_MD_meth_* API This allows implementations to add their own EVP_MD_METHODs. Only the setters are

CVS: cvs.openbsd.org: src

2022-01-10 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2022/01/10 06:09:29 Modified files: share/man/man4 : kstat.4 Log message: speeling

CVS: cvs.openbsd.org: src

2022-01-10 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2022/01/10 06:04:52 Modified files: share/man/man4 : kstat.4 Log message: this should be most of the necessary info for this driver.

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 05:19:26 Modified files: usr.bin/openssl: openssl.1 Log message: Document openssl pkey -check,-pubcheck and param -check

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 05:17:49 Modified files: usr.bin/openssl: apps.c apps.h pkey.c pkeyparam.c Log message: Implement openssl pkey -{,pub}check and pkeyparam -check These expose EVP_PKEY_{,public_,param_}check() to

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 05:10:26 Modified files: lib/libcrypto/asn1: ameth_lib.c asn1_locl.h lib/libcrypto/dh: dh_ameth.c lib/libcrypto/ec: ec_ameth.c lib/libcrypto/evp: evp.h evp_locl.h pmeth_gn

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 05:00:52 Modified files: lib/libcrypto/dh: dh.h dh_check.c dh_err.c dh_local.h Log message: Provide DH_check*_ex and many error codes DH_check{,_pub_key}_ex() wrap their non-ex versions to transl

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 04:52:43 Modified files: lib/libcrypto/asn1: ameth_lib.c asn1_locl.h lib/libcrypto/ec: ec_ameth.c lib/libcrypto/evp: evp.h evp_locl.h pmeth_gn.c pmeth_lib.c lib/libcrypto/

CVS: cvs.openbsd.org: src

2022-01-10 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2022/01/10 03:54:54 Modified files: share/man/man4 : kstat.4 Log message: add a bit more.

CVS: cvs.openbsd.org: src

2022-01-10 Thread Theo Buehler
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2022/01/10 03:51:31 Modified files: lib/libcrypto/evp: digest.c Log message: Prevent a double free in EVP_MD_CTX_copy_ex() NULL out two pointer values after memcpy() to avoid a double free. In the event tha

CVS: cvs.openbsd.org: src

2022-01-10 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2022/01/10 03:20:31 Modified files: share/man/man4 : kstat.4 Log message: tweak slightly

CVS: cvs.openbsd.org: src

2022-01-10 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2022/01/10 02:20:27 Modified files: sys/arch/arm64/arm64: pmap.c Log message: In pmap_enter(9), only perform a TLB flush if we actually changed a PTE. To make this intent more obvious, group the call

CVS: cvs.openbsd.org: src

2022-01-10 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2022/01/10 02:16:30 Modified files: share/man/man4/man4.arm64: Makefile Added files: share/man/man4/man4.arm64: aplsmc.4 Log message: aplsmc(4)

CVS: cvs.openbsd.org: src

2022-01-10 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2022/01/10 02:07:29 Modified files: sys/arch/arm64/conf: GENERIC files.arm64 sys/arch/arm64/dev: aplns.c rtkit.c rtkit.h Added files: sys/arch/arm64/dev: aplsmc.c Log message: Add a