CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/06/10 23:45:20 Modified files: usr.bin/openssl: openssl.c enc.c Log message: Unifdef ZLIB This is very dead code: the openssl app was never compiled with -DZLIB after January 1, 2015.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/06/10 23:35:43 Modified files: lib/libcrypto : Makefile lib/libcrypto/cms: cms_lib.c cms_smime.c lib/libcrypto/comp: c_zlib.c comp.h lib/libcrypto/err: err_all.c Removed files: lib/libcrypto/cms: cms_cd.c Log message: Unifdef ZLIB This has long been unused code and compilation with -DZLIB was broken for a long time after BIO was made opaque. ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2023/06/10 13:30:48 Modified files: sys/arch/arm64/arm64: cpu.c machdep.c pmap.c process_machdep.c trap.c vm_machdep.c sys/arch/arm64/include: armreg.h cpu.h pmap.h ptrace.h sys/kern : exec_elf.c sys_process.c sys/sys: exec_elf.h Log message: Implement support for pointer authentication (PAC) in userland. With PAC it is possible to "sign" pointers with a hidden key. The signature is placed in unused bits of the pointer and can be checked later. This can be used to provide "tail CFI" that is similar to what retguard provides. Debuggers need to be aware of the fact that pointers can be signed. For this purpose a new PT_PACMASK ptrace(2) request is introduced that returns as mask that indicates the bits used for the signature. Separate masks are provided for code and data pointers even though the masks are identical in the current implementation. These masks are also written into a special note section in the core dump. ok patrick@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2023/06/10 12:31:38 Modified files: sys/arch/arm64/conf: GENERIC RAMDISK sys/dev/fdt: files.fdt Added files: sys/dev/fdt: qcpas.c Log message: Add qcpas(4), a driver for the Peripheral Authentication Service found on Qualcomm SoCs. The immediate task for this driver is to provide firmware to the auxiliary cores and to bring them up. This is accomplished by parsing the ELF files and providing the data in certain memory regions, and telling qcscm(4) to check and execute the firmware on the auxiliary cores. With the cores up we can now talk to the firmware. The glink-edge subnode indicates that we can talk to it using the GLINK protocol over shared memory provided by qcsmem(4). This interface is essentially a channel multiplexer, with each channel identified through an ASCII string. One of those channels connects to a PMIC router, which allows us to talk to the battery manager service that contains information about the charging and battery states. ok drahn@ kettenis@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2023/06/10 09:34:36 Modified files: lib/libssl : tls13_client.c tls13_server.c Log message: Convert EVP_Digest{Sign,Verify}* to one-shot for TLSv1.3 Using one-shot EVP_DigestSign() and EVP_DigestVerify() is slightly shorter and is needed for Ed25519 support. ok jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2023/06/10 09:16:43 Modified files: distrib/sets/lists/base: mi Log message: sync
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/06/10 01:24:22 Modified files: bin/ksh: c_test.c ksh.1 Log message: ksh: remove broken special handling of test -t Drop the vestiges of the pre-POSIX support of `test -t' defaulting to fd 1. It doesn't work and it always succeed since "-t" is treated as a string by default when no argument (fd) is specified. diff by Lucas (lucas [at] sexy [dot] is) with minor change by me. ok millert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: o...@cvs.openbsd.org2023/06/10 01:19:39 Modified files: bin/test : test.1 Log message: test: fix description of -t: it has no default -t always requires the fd number as argument, there's no default. With only one argument -t is equivalent to `test -n -t' and so banally always true. diff from Lucas (lucas [at] sexy [dot] is) ok millert@