CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2021/10/31 21:29:53 Modified files: sys/dev/pci/drm/include/linux: power_supply.h Log message: use hw_power to implement power_supply_is_system_supplied()
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: chel...@cvs.openbsd.org 2021/10/31 15:34:16 Modified files: usr.bin/tr : str.c Log message: tr(1): backslash(): fix octal escape parsing There are two bugs in backslash(): 1. 8 and 9 are not octal digits. If we see '8' or '9' we should terminate the octal escape. 2. We return octal escape values larger than UCHAR_MAX even though tr(1) is (currently) a byte-oriented program and values larger than UCHAR_MAX make no sense. So, fix them both. In particular, (a) stop parsing if we see characters outside of '0'-'7' and (b) escaped octal values larger than UCHAR_MAX are a terminal error. While here, some cleanup: - Check for empty escapes at the top of the function. This simplifies later cases. - Use the for-loop conditional to terminate octal escape parsing after three characters. - Use an ANSI-style function definition. We can fix the switch-statement indentation later, in a larger KNF patch. ok millert@
CVS: cvs.openbsd.org: xenocara
CVSROOT:/cvs Module name:xenocara Changes by: matth...@cvs.openbsd.org2021/10/31 12:38:43 Modified files: app/xterm : Makefile xterm.man Log message: Disable mouse tracking by default. This causes extra control sequences to be sent to the shell when an application that has it enabled crashes. Discussed with deraadt@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: bl...@cvs.openbsd.org 2021/10/31 12:24:08 Modified files: regress/sys/netinet/ipsec: Makefile Log message: Also remove pcap files during make clean.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 12:22:42 Modified files: lib/libcrypto : opensslfeatures.h Log message: Enable RFC 3779 code. >From job. Discussed at length with beck, claudio, job during h2k21
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/10/31 11:58:28 Modified files: share/man/man8 : rc.subr.8 Log message: Make it more visible that not only rc_reload() can be disabled.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2021/10/31 11:47:07 Modified files: share/man/man4/man4.arm64: Makefile Added files: share/man/man4/man4.arm64: aplspi.4 Log message: aplspi(4)
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/10/31 11:46:23 Modified files: etc/rc.d : rc.subr Log message: Shuffle things around to have FUNCS_ONLY higher in the script so consummers source only what they really needs. Only expose the following which are used by /etc/rc, netstart and rcctl: _rc_parse_conf _rc_check_name _rc_err _rc_do _rc_quirk ok sthen@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2021/10/31 10:56:47 Modified files: lib/libc/stdio : ferror.3 Log message: document that fileno(3) returns -1 for some kinds of FILE * objects; triggerd by but simpler than a similar patch sent in by Simon Branch ; OK millert@ jmc@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:56:17 Modified files: regress/lib/libssl/ssl: ssltest.c Log message: Make this test compile again after the damage done in libcrypto
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:51:16 Modified files: lib/libcrypto : Makefile lib/libcrypto/x509: x509.h x509_vfy.h Log message: Hide struct internals under LIBRESSL_CRYPTO_INTERNAL so that other parts of LibreSSL can no longer reach into them. discussed with beck, jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:47:27 Modified files: usr.bin/openssl: crl.c pkcs12.c s_server.c Log message: Various minor adjustments to make openssl(1) compile with opaque structs in X509.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:45:04 Modified files: sbin/isakmpd : x509.c Log message: Now that X509_OBJECT is opaque, we need to allocate it on the heap instead of having it on the stack. Adjust code accordingly.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2021/10/31 10:45:06 Modified files: distrib/sets/lists/comp: mi Log message: sync
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:43:56 Modified files: distrib/sets/lists/base: mi Log message: sync
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:42:32 Modified files: lib/libutil: shlib_version Log message: bump major after struct size change
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:42:08 Modified files: lib/libutil: ber.h Log message: Bump BER_MAX_OID_LEN to 128 >From martijn, discussed with claudio, ok sthen
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:41:23 Modified files: lib/libcrypto : shlib_version lib/libssl : shlib_version lib/libtls : shlib_version Log message: Bump majors after struct visibility changes, symbol removal and symbol addition.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:39:32 Modified files: lib/libtls : tls_ocsp.c Log message: Simplify some code by using X509_STORE_CTX_get_obj_by_subject() ok beck jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:38:37 Modified files: lib/libssl : Symbols.list Log message: Update Symbols.list to include API additions
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2021/10/31 10:38:12 Modified files: sys/arch/arm64/conf: GENERIC RAMDISK files.arm64 Added files: sys/arch/arm64/dev: aplspi.c Log message: Add aplspi(4), a driver for the SPI controller found on the Apple M1 SoC. ok patrick@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:37:25 Modified files: lib/libssl : ssl_lib.c tls13_server.c Log message: libssl: stop reaching into the X509 struct and simplify some code by using X509_get_key_usage(). ok beck jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:33:16 Modified files: lib/libcrypto : Symbols.list Log message: Update Symbols.list for new API and API removal/renaming
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:32:31 Modified files: lib/libcrypto : opensslfeatures.h Log message: Expose new API in headers and make X509 structs opaque.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:29:58 Modified files: lib/libcrypto/x509: x509.h Log message: Remove the unused X509_OBJECTS struct. ok beck jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:28:50 Modified files: lib/libcrypto/asn1: x_x509a.c lib/libcrypto/pem: pem.h pem_xaux.c lib/libcrypto/x509: x509.h Log message: Remove the unused X509_CERT_PAIR struct and the assicated API. ok beck jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:26:08 Modified files: lib/libcrypto/x509: x509_vfy.h Log message: Remove the unused X509_CERT_FILE_CTX struct. ok beck jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:23:46 Modified files: lib/libcrypto/x509: x509_lu.c x509_vfy.h Log message: Prepare to provide X509_STORE_CTX_get_obj_by_subject(), a wrapper around X509_STORE_get_by_subject() that eliminates the need of allocating an object on the heap by hand. ok beck inoguchi jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:20:37 Modified files: lib/libcrypto/x509: x509_lu.c x509_vfy.h Log message: Switch various X509 API to use the new X509_LOOKUP_TYPE to match OpenSSL's signatures. ok beck inoguchi jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 10:17:15 Modified files: lib/libcrypto/x509: x509_vfy.h Log message: Provide the X509_LOOKUP_TYPE enum. Remove the now unused X509_LU_{RETRY,FAIL,PKEY}. ok beck inoguchi jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/10/31 10:00:15 Modified files: usr.sbin/rpki-client: encoding.c main.c Log message: Further improve load_file(). Always set an errno on errors and make sure the errno is not clobbered in the error path. Check result from load_file() and issue a warning and skip the file in queue_add_tal(). OK benno@ beck@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: clau...@cvs.openbsd.org 2021/10/31 09:58:13 Modified files: usr.sbin/rpki-client: main.c Log message: When converting the TAL parser to use load_file and pass the file via data/datasz element to the parser process I forgot to remove the old buf argument that abused descr for that. Because of this rpki-client can crash. Found by benno@, OK benno@ beck@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 09:55:45 Modified files: lib/libcrypto/x509: x509_vfy.h Log message: Prepare definitions X509_STORE_set_verify{,_cb}_func() that work with opaque structs. ok beck inoguchi jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 09:54:08 Modified files: lib/libcrypto/x509: x509_vfy.h Log message: Prepare to make various structs in x509_vfy.h opaque. ok beck inoguchi jsing
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2021/10/31 09:25:10 Modified files: sys/dev/pci: if_igc.c Log message: Disable both TCP/UDP checksum offloading and VLAN HW tag offloading for now, as we currently configure neither in the transmit code path. Found by sf@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2021/10/31 09:22:40 Modified files: sys/dev/pci: if_igc.c Log message: Implement transmit and transmit completion path.
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: be...@cvs.openbsd.org 2021/10/31 09:18:54 Modified files: . : security.html Log message: Replace the link to the bugtraq mailing lists archive to point to the marc.info archive. bugtraq is no longer active. good idea deraadt@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2021/10/31 09:12:00 Modified files: sys/dev/fdt: imxspi.c mvspi.c sys/dev/spi: spivar.h Log message: Extend the SPI bus API a bit. The config structure gets an sc_cs_delay member to allow us to specify a delay between assert the CS# signal and starting the clock. And the transfer function gains a flags argument, which can be used to specify a new SPI_KEEP_CS flag to keep CS# asserted after the transfer. This allows us to do another transfer immediately afterwards without de-asserting CS# which is necessary for sending commands to the upcoming Apple M1 keyboard/touchpad driver. ok patrick@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2021/10/31 09:02:25 Modified files: sys/dev/pci: if_igc.c Log message: Move the fill and the tail pointer change to a later point, to make sure that the RDT is written, and that it is written not too early. Doing it before writing IGC_RXDCTL definitely doesn't work. The tail pointer needs to be set to the next empty slot, so it has to be "last desc filled + 1". Make sure sure that the rss mapping does not happen in the middle of the RX checksum block, and that it happens only if nqueues > 1. Also disable storing bad packets. With this, igc(4) receives packets just fine. ok kevlo@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2021/10/31 08:52:57 Modified files: sys/dev/pci: files.pci Added files: sys/dev/pci: if_igc.c if_igc.h igc_api.c igc_api.h igc_base.c igc_base.h igc_defines.h igc_hw.h igc_i225.c igc_i225.h igc_mac.c igc_mac.h igc_nvm.c igc_nvm.h igc_phy.c igc_phy.h igc_regs.h Log message: Add igc(4), a driver for the Intel 2.5Gb Ethernet controllers. Ported by kevlo@ ok jmatthew@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2021/10/31 08:41:53 Modified files: sys/dev/pci: pcidevs.h pcidevs_data.h Log message: regen
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: patr...@cvs.openbsd.org 2021/10/31 08:41:00 Modified files: sys/dev/pci: pcidevs Log message: Add another PCI id for Intel 2.5Gb adapters.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2021/10/31 06:24:02 Modified files: sys/dev/usb: if_athn_usb.c Log message: Make athn(4) attach to the Sony UWA-BR100. Patch by martingot@protonmail
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2021/10/31 06:23:17 Modified files: sys/dev/usb: usbdevs.h usbdevs_data.h Log message: regen
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2021/10/31 06:22:48 Modified files: sys/dev/usb: usbdevs Log message: Add USB device ID for the Sony UWA-BR100. Patch by martingot@protonmail
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: s...@cvs.openbsd.org2021/10/31 06:17:54 Modified files: sys/dev/usb: if_run.c Log message: Raise SPL to IPL_NET in run_next_scan() to avoid splassert failures. Problem found and fix tested by krw@. ok krw@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: t...@cvs.openbsd.org2021/10/31 02:27:16 Modified files: regress/lib/libcrypto/x509: callback.c verify.c x509attribute.c x509name.c Log message: Prepare regress for opaque structs in x509*.h
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: be...@cvs.openbsd.org 2021/10/31 01:07:12 Modified files: . : errata69.html errata70.html Log message: fix id tags. spotted by Ross L Richardson, thanks.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2021/10/31 00:48:54 Modified files: lib/libssl : bs_cbs.c Log message: Add explicit CBS_contains_zero_byte() check in CBS_strdup(). If the CBS data contains a zero byte, then CBS_strdup() is only going to return part of the data - add an explicit CBS_contains_zero_byte() and treat such data as an error case. ok tb@
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: be...@cvs.openbsd.org 2021/10/31 00:48:39 Modified files: . : errata70.html Log message: fix errata number, reported by Sebastian Rother