CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: cas...@cvs.openbsd.org 2024/04/15 16:07:09 Modified files: bin/pax: options.c Log message: Amend previous: improve comment
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2024/04/15 15:31:29 Modified files: sys/kern : uipc_socket.c Log message: Don't take solock() in soreceive() for udp(4) sockets. These sockets are not connection oriented, they don't call pru_rcvd(), but they have splicing ability and they set `so_error'. Splicing ability is the most problem. However, we can hold `sb_mtx' around `ssp_socket' modifications together with solock(). So the `sb_mtx' is pretty enough to isspiced() check in soreceive(). The unlocked `so_sp' dereference is fine, because we set it only once for the whole socket life-time and we do this before `ssp_socket' assignment. We also need to take sblock() before splice sockets, so the sosplice() and soreceive() are both serialized. Since `sb_mtx' required to unsplice sockets too, it also serializes somove() with soreceive() regardless on somove() caller. The sosplice() was reworked to accept standalone sblock() for udp(4) sockets. soreceive() performs unlocked `so_error' check and modification. Previously, we have no ability to predict which concurrent soreceive() or sosend() thread will fail and clean `so_error'. With this unlocked access we could have sosend() and soreceive() threads which fails together. `so_error' stored to local `error2' variable because `so_error' could be overwritten by concurrent sosend() thread. Tested and ok bluhm
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2024/04/15 12:31:04 Modified files: sys/netinet: in_pcb.h Log message: Delete unused inp_csumoffset define. OK mvs@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/04/15 11:33:10 Modified files: bin/pax: options.c pax.1 Log message: Switch pax(1) to write archives using the 'pax' format by default ramdisk versions will keep using ustar for writing. ok millert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 10:49:13 Modified files: regress/lib/libcrypto/symbols: symbols.awk Log message: Remove workarounds for unprototyped symbols
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: bent...@cvs.openbsd.org 2024/04/15 10:11:01 Modified files: share/man/man5 : port-modules.5 Log message: Sync with font module variable namespacing changes. ok sthen@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 10:05:49 Modified files: lib/libcrypto : o_fips.c Log message: Include the correct header
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 10:04:02 Modified files: distrib/sets/lists/base: mi Log message: sync libressl bump
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 10:01:23 Modified files: lib/libtls : shlib_version Log message: crank libtls like libcrypto and libssl
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 10:00:51 Modified files: lib/libssl : shlib_version Log message: crank libssl major after libcrypto major and symbol removal
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 10:00:06 Modified files: lib/libssl : Symbols.list ssl_lib.c Log message: Unexport SSL_version_str ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:58:55 Modified files: lib/libcrypto : shlib_version Log message: crank libcrypto major after symbol removal
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:55:01 Modified files: lib/libcrypto : Makefile Symbols.list Removed files: lib/libcrypto : o_str.c Log message: Bye, bye, OPENSSL_str{,n}casecmp() ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:52:46 Modified files: lib/libcrypto : Symbols.list lib/libcrypto/ts: ts_asn1.c Log message: And a pile of TS ASN.1 stuff becomes internal-only, too ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:52:01 Modified files: lib/libcrypto : Symbols.list lib/libcrypto/asn1: x_name.c Log message: X509_NAME_ENTRIES_it and X509_NAME_INTERNAL_it go internal It's always good to see something called internal in the public API. ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:49:37 Modified files: lib/libcrypto : Symbols.list lib/libcrypto/dsa: dsa_asn1.c lib/libcrypto/ecdsa: ecdsa.c Log message: And here go {,EC}DSA_SIG_it ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: flor...@cvs.openbsd.org 2024/04/15 09:47:58 Modified files: include: dirent.h lib/libc : Symbols.list lib/libc/gen : opendir.c scandir.3 scandir.c lib/libc/hidden: dirent.h Log message: Add scandirat(3); from freebsd To be used in httpd(8) shortly to prevent toctu issues. This makes __fdopendir internally accessible to avoid unnecessary syscalls in scandirat(3). Suggested & diff by guenther suggested by & OK millert tweak & OK guenther OK tb, jca This rides the libc crank.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:47:38 Modified files: lib/libcrypto : Symbols.list lib/libcrypto/dh: dh_asn1.c Log message: DHparam_it becomes static, too ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:46:29 Modified files: lib/libcrypto : Symbols.list lib/libcrypto/ec: ec_asn1.c Log message: More X9.62 stuff was never used outside of ec_asn1.c We only need the ASN.1 items. ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:44:15 Modified files: lib/libcrypto : Symbols.list lib/libcrypto/ec: ec_asn1.c Log message: EC_PRIVATEKEY becomes internal-only, too ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:42:23 Modified files: lib/libcrypto : Symbols.list lib/libcrypto/ec: ec.h ec_asn1.c Log message: Unexport the ECPKPARAMETERS API ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:41:27 Modified files: lib/libcrypto : Symbols.list lib/libcrypto/ec: ec_asn1.c Log message: Make ECPARAMETERS_{new,free,it} internal-only ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:40:08 Modified files: lib/libcrypto : Symbols.list lib/libcrypto/bio: bss_conn.c Log message: Move BIO_CONNECT_{new,free}() to internal-only ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:37:37 Modified files: lib/libcrypto : Symbols.list Log message: Remove ASN1_time_clamp_not_after() from Symbols.list This was only ever semi-public and libtls no longer uses it since it was switched to the BoringSSL POSIX time API. ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:34:11 Modified files: distrib/sets/lists/base: mi Log message: sync libc bump
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2024/04/15 09:32:12 Modified files: lib/libc : shlib_version Log message: whee libc 100. break all the things
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: na...@cvs.openbsd.org 2024/04/15 09:21:11 Modified files: lib/libc/arch/aarch64: Symbols.list lib/libc/arch/aarch64/gen: Makefile.inc lib/libc/arch/arm: Symbols.list lib/libc/arch/arm/gen: Makefile.inc Removed files: lib/libc/arch/aarch64/gen: byte_swap_2.S byte_swap_4.S lib/libc/arch/arm/gen: byte_swap_2.S byte_swap_4.S Log message: remove unused __bswap16, __bswap32 MD functions from arm and aarch64 ok miod@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/04/15 09:09:26 Modified files: sys/kern : init_sysent.c syscalls.c sys/sys: syscall.h syscallargs.h Log message: Regen after sigsuspend and __thrsigdivert unlock
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2024/04/15 09:08:21 Modified files: sys/kern : syscalls.master Log message: sigsuspend and __thrsigdivert no longer require the KERNEL_LOCK since dosigsuspend() no longer needs it. OK mvs@ mpi@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/04/15 08:36:16 Modified files: regress/lib/libcrypto/bn: bn_bits.c Log message: Enable negative zero checks for BN_clear_bit() and BN_mask_bits().
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2024/04/15 08:35:25 Modified files: lib/libcrypto/bn: bn_lib.c Log message: Prevent negative zero from being created via BN bit functions. Both BN_clear_bit() and BN_mask_bits() can create zero values - in both cases ensure that the negative sign is correctly handled if the value becomes zero. Thanks to Guido Vranken for providing a reproducer. Fixes oss-fuzz #67901 ok tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: na...@cvs.openbsd.org 2024/04/15 08:30:48 Modified files: lib/libc/arch/aarch64/gen: byte_swap_2.S byte_swap_4.S lib/libc/arch/arm/gen: byte_swap_2.S byte_swap_4.S lib/libc/net : Makefile.inc htonl.c htons.c ntohl.c ntohs.c Removed files: lib/libc/arch/aarch64/net: Makefile.inc lib/libc/arch/alpha/net: Makefile.inc byte_swap_2.S byte_swap_4.S htonl.S htons.S ntohl.S ntohs.S lib/libc/arch/amd64/net: Makefile.inc htonl.S htons.S ntohl.S ntohs.S lib/libc/arch/arm/net: Makefile.inc lib/libc/arch/hppa/net: Makefile.inc lib/libc/arch/i386/net: Makefile.inc htonl.S htons.S ntohl.S ntohs.S lib/libc/arch/m88k/net: Makefile.inc htonl.S htons.S ntohl.S ntohs.S lib/libc/arch/mips64/net: Makefile.inc htonl.S htons.S lib/libc/arch/powerpc/net: Makefile.inc lib/libc/arch/powerpc64/net: Makefile.inc lib/libc/arch/riscv64/net: Makefile.inc lib/libc/arch/sh/net: Makefile.inc htonl.c htons.c ntohl.c ntohs.c lib/libc/arch/sparc64/net: Makefile.inc htonl.S htons.S ntohl.S ntohs.S Log message: drop htonl(), htons(), ntohl(), ntohs() MD functions from libc Userland code compiled in a normal fashion picks up the htonl(), htons(), ntohl(), ntohs() macros implemented by endian.h. The functions in libc are effectively unused. Keep the MI functions in case something looks for the symbols in libc or plays games with #undef, but change them to wrap the implementation from endian.h. tweaks suggested by claudio@, ok miod@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2024/04/15 08:25:10 Modified files: sys/dev/ic : nvme.c Log message: Don't wait forever in nvme_poll(). Respect the timeout provided by a scsi_xfer. Define values for internal commands (identity and queue ops) that are polled. Adapted from work by jdolecek@netbsd. Feedback/suggestions deraadt@, testing by jca@, ok jmatthew@.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/04/15 08:06:52 Modified files: share/man/man5 : pf.conf.5 Log message: hint that the tcp timeout values can be adjusted collectively via "set optimization"; from jesper wallin ok bluhm
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/04/15 08:04:49 Modified files: share/man/man5 : pf.conf.5 Log message: document tcp.tsdiff; from jesper wallin ok bluhm
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2024/04/15 07:58:48 Modified files: sys/dev/ic : nvme.c Log message: Don't hang in nvme_poll() if the nvme controller has disconnected from the pcie bus. i.e. if register reads start returning 0x. Feedback/suggestions deraadt@, testing by jca@, ok jmatthew@.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2024/04/15 07:57:45 Modified files: usr.sbin/rpki-client: crl.c extern.h parser.c Log message: Use the manifest location as additional differentiator when comparing CRLs OK tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: flor...@cvs.openbsd.org 2024/04/15 06:44:24 Modified files: usr.sbin/nsd : aclocal.m4 config.h.in configure configure.ac Added files: usr.sbin/nsd : config.guess config.sub Log message: Sync to autoconf 2.71 upstream built infrastructure This reduces the diff when doing updates considerably. No change in .o files. Much help & OK sthen
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: n...@cvs.openbsd.org2024/04/15 02:19:55 Modified files: usr.bin/tmux : arguments.c cmd-command-prompt.c cmd-confirm-before.c layout-custom.c Log message: Fixes for memory leaks reported by Lu Ming Yin, fixes from Howard Chu.