OpenBSD src changes summary for 2016-10-02 ==========================================
lib/libcrypto lib/libkvm lib/libssl sys/arch/arm/include sys/arch/armv7/imx sys/arch/armv7/omap sys/dev/ic sys/dev/usb sys/kern sys/sys usr.bin/fstat usr.bin/make == lib =============================================================== 01/03 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libcrypto ~ x509/x509_vfy.c > In X509_cmp_time(), pass asn1_time_parse() the tag of the field being > parsed so that a malformed GeneralizedTime field is recognized as an error > instead of potentially being interpreted as if it was a valid UTCTime. > Reported by Theofilos Petsios (theofilos (at) cs.columbia.edu) > ok beck@ tedu@ jsing@ (guenther@) libkvm ~ shlib_version ~ kvm_cd9660.c ~ kvm_file2.c ~ kvm_ntfs.c ~ kvm_udf.c > Add va_nlink information to struct kinfo_file (so bump the shlib minor) > from Sebastien Marie (guenther@) libssl ~ t1_lib.c > Detect zero-length encrypted session data early, instead of when malloc(0) > fails or the HMAC check fails. > Noted independently by jsing@ and Kurt Cancemi (kurt (at) > x64architecture.com) > ok bcook@ (guenther@) ~ t1_lib.c > Check for and handle failure of HMAC_{Update,Final} or EVP_DecryptUpdate() > based on openssl commit a5184a6c89ff954261e73d1e8691ab73b9b4b2d4 > ok bcook@ (guenther@) ~ src/crypto/opensslv.h TAGGED OPENBSD_6_0 > bump to 2.4.4 (bcook@) ~ src/crypto/opensslv.h TAGGED OPENBSD_5_9 > bump to 2.3.9 (bcook@) == sys =============================================================== 02/03 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/arm/include ~ tcb.h > The userspace TCB_GET() shouldn't take an argument > ok deraadt@ tom@ patrick@ (guenther@) arch/armv7/imx ~ imxehci.c > Save and restore the (non-standard) USBMODE register around a reset of the > controller. This register controls whether the controller is in device or > host mode on many dual role controllers and gets reset during a reset of > the controller, placing the controller in (non-functional) idle mode. By > saving and restoring it, we keep the controller in host mode. Since this > is > a non-standard register, add a new EHCIF_USBMODE flag and only do the save > and > restore if it has been set. > Makes the upper "OTG" port of the Cubox-i work. > ok mpi@, jsg@ (kettenis@) arch/armv7/omap ~ if_cpsw.c > Set IFCAP_VLAN_MTU capability in cpsw(4). Avoids > "ifconfig: SIOCSETVLAN: No buffer space available" when creating vlan > interfaces without first lowering the mtu. Reported by Steven Chamberlain, > diagnosed by mikeb@, patch from Brad. ok bmercer@ (jsg@) dev/ic ~ ahci.c > Contrary to e. g. the xHCI specification, the AHCI rev. 1.3 spec > does not say anything about which type (snoopable/uncached etc.) of > bus transactions are issued by HBAs on accesses to the descriptors. > Thus, the right assumption would be "classical" concurrent accesses > by both CPU/driver as well as hardware to the descriptors and their > DMA memory backings respectively, which is also confirmed by actual > testing. Consequently, switch to BUS_DMA_COHERENT mappings for said > DMA memory as otherwise corruption of descriptors is seen. > From Marius Strobl > tested by awolk (amd64), bluhm (amd64, i386), myself (amd64, armv7) > ok jmatthew@ (patrick@) ~ ahci.c > Given that ahci_port_alloc() grabs one CCB for use during NCQ error > recovery from the CCB pool sized based on the NCS capability, i. e. > number of command slots reported by the controller, it is necessary > to pretend at least 2 slots in sc->sc_ncmds for devices without NCQ > support. That way, also at least 1 available slot is made available > for atascsi(4). Otherwise, controllers having only a single command > slot will trigger "no free xfers on a new port" in atascsi(4). > Note that pretending 2 command slots is also fine with the abuse of > the NCQ error recovery CCB in ahci_port_softreset(). > From Marius Strobl > tested by awolk (amd64), bluhm (amd64, i386), myself (amd64, armv7) > ok jmatthew@ (patrick@) ~ ahci.c > Some HBAs report NCQ capability despite only supporting one command > slot. Thus, extend the check whether NCQ actually should be enabled > accordingly. > From Marius Strobl > tested by awolk (amd64), bluhm (amd64, i386), myself (amd64, armv7) > ok jmatthew@ (patrick@) ~ ahci.c > Some HABs reset parts of AHCI_PREG_CMD when AHCI_PREG_SCTL_DET_INIT > gets set. Therefore, ahci_port_softreset() restores the sate of the > former register once the device detection sequence is finished. The > device detection code in ahci_pmp_port_portreset() does not restore > AHCI_PREG_CMD afterwards, so let it catch up. Apparently, this part > was an oversight as ahci_pmp_port_portreset() did not otherwise use > "cmd". > From Marius Strobl > tested by awolk (amd64), bluhm (amd64, i386), myself (amd64, armv7) > ok jmatthew@ (patrick@) dev/usb ~ ehci.c ~ ehcireg.h ~ ehcivar.h > Save and restore the (non-standard) USBMODE register around a reset of the > controller. This register controls whether the controller is in device or > host mode on many dual role controllers and gets reset during a reset of > the controller, placing the controller in (non-functional) idle mode. By > saving and restoring it, we keep the controller in host mode. Since this > is > a non-standard register, add a new EHCIF_USBMODE flag and only do the save > and > restore if it has been set. > Makes the upper "OTG" port of the Cubox-i work. > ok mpi@, jsg@ (kettenis@) kern ~ kern_sysctl.c > Add va_nlink information to struct kinfo_file (so bump the shlib minor) > from Sebastien Marie (guenther@) sys ~ ctf.h > add integer and float encoding macros > ok mpi@ (jasper@) ~ sysctl.h > Add va_nlink information to struct kinfo_file (so bump the shlib minor) > from Sebastien Marie (guenther@) == usr.bin =========================================================== 03/03 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin fstat ~ fstat.1 ~ fstat.c > Indicate with an asterisk when a file has been unlinked. > from Sebastien Marie (guenther@) make ~ varmodifiers.c > Avoid two printf("%s", NULL) with 'make -d v'. > improvements & ok espie, earlier version ok deraadt (tb@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
