OpenBSD src changes summary for 2016-08-15 ==========================================
bin/ls distrib/sets etc/examples/pkg.conf lib/libc lib/libtls libexec/ld.so sbin/ifconfig share/man sys/arch/alpha/alpha sys/arch/amd64/amd64 sys/arch/arm/arm sys/arch/armv7/armv7 sys/arch/armv7/conf sys/arch/armv7/dev sys/arch/armv7/omap sys/arch/armv7/sunxi sys/arch/i386/i386 sys/arch/macppc/macppc sys/arch/sh/sh sys/arch/socppc/socppc sys/arch/sparc/sparc sys/arch/sparc64/sparc64 sys/dev/ic sys/dev/pci sys/miscfs/fuse sys/net sys/net80211 sys/netinet usr.bin/passwd usr.bin/ssh usr.sbin/httpd usr.sbin/ndp == bin =============================================================== 01/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ls ~ print.c > %*qd -> %*lld + (long long) for off_t. > Avoid some casts by changing printsize() to take an int (the only > type actually passed via that parameter) instead of size_t. > Tweaks & ok guenther@ (krw@) == distrib =========================================================== 02/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/comp/mi > sync (deraadt@) == etc =============================================================== 03/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc examples/pkg.conf ~ examples/pkg.conf > sync (sthen@) == lib =============================================================== 04/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ stdlib/labs.3 ~ stdlib/lldiv.3 > add a bit of spacing to previous, to keep the notes about deprecated > functions out the way of the main body; > ok guenther (jmc@) libtls ~ tls.c ~ tls_client.c ~ tls_internal.h ~ tls_server.c > Explicitly pass in an SSL_CTX * to the functions that operate on one, > instead of assuming that they should use the one associated with the TLS > context. This allows these functions to be used with the additional > SSL contexts that are needed to support server-side SNI. > Also rename tls_configure_keypair() to tls_configure_ssl_keypair(), so that > these functions have a common prefix. > ok reyk@ (jsing@) ~ tls_conninfo.c > Fix some style(9) issues. (jsing@) ~ tls_internal.h > Group conninfo fields by connection and peer cert based information, > sort and remove unused fingerprint. (jsing@) ~ tls_internal.h > The tls_conninfo serial is also unused. (jsing@) == libexec =========================================================== 05/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ sh/Makefile.inc > Drop -z nocombreloc. It was a rev 1.1 commit like on arm, so not clear > why it was needed then; perhaps fixed by the bump in binutils? > Removing it enables the full relro layout for ld.so. (guenther@) == sbin ============================================================== 06/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin ifconfig ~ ifconfig.c > When running 'ifconfig scan' in hostap mode display the current Tx rate our > AP is using to send frames to an associated node. This used to always > display > the node's highest supported Rx rate, which isn't all that interesting. > ok mpi@ (stsp@) == share ============================================================= 07/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/bytgpio.4 > Fix typo -> s/drirect/direct/. > From Daniel Bolgheroni (mglocker@) == sys =============================================================== 08/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/alpha ~ mem.c > normalize some comments (tedu@) arch/amd64/amd64 ~ mem.c > normalize some comments (tedu@) arch/arm/arm ~ cpufunc_asm_armv7.S > Don't take shortcuts cleaning/invalidating the caches. The Cortex-A7 and > most > other ARMv7 CPUs have a L2 cache that is larger than 32KB. And some of > those > even have L1 caches larger than that. So bailing out after 32KB will leave > the cache partially dirty. > Fixes the SATA problems on Allwinner A20 based boards. > ok patrick@ (kettenis@) ~ mem.c > normalize some comments (tedu@) arch/armv7/armv7 ~ platform.c > Move the com(4) fdt attachment driver to a more generic location and > rename it to fit the typical scheme of such an attachment driver. > ok kettenis@ jsg@ (patrick@) ~ armv7_machdep.c ~ armv7_machdep.h > Now that com(4) uses a different iot for the initial console and the > main attachment, the serial port is now longer recognized as console. > To fix this, store the OFW node of the initial console and check it > in the attachment driver. > ok kettenis@ (patrick@) arch/armv7/conf ~ files.armv7 > Move the com(4) fdt attachment driver to a more generic location and > rename it to fit the typical scheme of such an attachment driver. > ok kettenis@ jsg@ (patrick@) arch/armv7/dev + com_fdt.c > Move the com(4) fdt attachment driver to a more generic location and > rename it to fit the typical scheme of such an attachment driver. > ok kettenis@ jsg@ (patrick@) ~ com_fdt.c > Allow com(4) to make use of the simplebus address translation. > This typically works for every simplebus client, but com(4) did not > make use of the supplied bus tag. Instead it references the global > a4x bus tag. This is needed as the ARM com(4) controllers use 4-byte > spaced registers, while com(4) operates on 1-byte. To be able to make > use of the address translation, copy the a4x bus tag and replace the > cookie and map function with the one supplied by simplebus. > ok kettenis@ (patrick@) ~ com_fdt.c > Now that com(4) uses a different iot for the initial console and the > main attachment, the serial port is now longer recognized as console. > To fix this, store the OFW node of the initial console and check it > in the attachment driver. > ok kettenis@ (patrick@) arch/armv7/omap - omap_com.c ~ files.omap > Move the com(4) fdt attachment driver to a more generic location and > rename it to fit the typical scheme of such an attachment driver. > ok kettenis@ jsg@ (patrick@) arch/armv7/sunxi ~ sxiuart.c > Drain FIFOs on init same as com(4) does it and reduce the RX FIFO interrupt > trigger to 1 character. This fixes a hang seen on the allwinner,sun5i-r8 > board during boot when the driver switches to interrupts and no terminal > is attached. > ok kettenis (mglocker@) ~ sxiahci.c > Use the regulator API to supply power to the target. > Tested by Daniel Bolgheroni on a Cubietech Cubieboard2. > ok jsg@ (kettenis@) ~ sxie.c > Use pinctrl to configure the pins used by the EMAC. > ok jsg@ (kettenis@) ~ if_dwge_fdt.c > For some reason the RTL8211E PHY on the Banana Pi responds to both address > 0 > and 1. As a result rgephy(4) attaches twice. Prevent this from happening > by passing the PHY address, which is part of the device tree, down from the > bus-specific glue to the generic driver code. (kettenis@) ~ files.sunxi + sximmc.c > First stab at porting the awinmmc(4) driver from NetBSD. The driver will > be known as sximmc(4) and is somewhat functional. Still needs proper clock > support and some further cleanup. (kettenis@) arch/i386/i386 ~ mem.c > normalize some comments (tedu@) arch/macppc/macppc ~ mem.c > normalize some comments (tedu@) arch/sh/sh ~ mem.c > normalize some comments (tedu@) arch/socppc/socppc ~ mem.c > normalize some comments (tedu@) arch/sparc/sparc ~ mem.c > normalize some comments (tedu@) arch/sparc64/sparc64 ~ mem.c > normalize some comments (tedu@) dev/ic ~ dwc_gmac.c ~ dwc_gmac_var.h > For some reason the RTL8211E PHY on the Banana Pi responds to both address > 0 > and 1. As a result rgephy(4) attaches twice. Prevent this from happening > by passing the PHY address, which is part of the device tree, down from the > bus-specific glue to the generic driver code. (kettenis@) dev/pci ~ if_iwm.c ~ if_iwmvar.h > Remove IWM_CMD_SYNC, which expands to zero while all the other > IWM_CMD_* values are bit flags. The same was done 2 years ago > in Linux git commit a10229271946731959b2269370d0492d88cfab23. (stsp@) miscfs/fuse ~ fuse_vfsops.c > Neuter fuse_vptofh() and fuse_fhtovp(). I implemented those functions > under the assumption, that fuse_vget() has reasonable semantics, while > this is not the case. fusefs_vget() only functions correctly, if the > file in questions has recently been accessed and is still in the vnode > cache of the userspace daemon associated with the mount point. > As a matter of fact the fuse api doesn't feature a reasonable way to map > inode numbers to a handle at all (see struct fuse_operations). > ok guenther (natano@) net ~ bpf.c > Merge bpfilter_create() into bpfopen() and make it such that the > descriptor is referenced before it is inserted in the global list. > ok dlg@ (mpi@) ~ bpf.c > Check if ``bd_bif'' is NULL inside bpf_catchpacket() to match bpfread() > and bpfwrite(), all of which will need to grabe a lock to protect the > buffers. > ok dlg@ (mpi@) ~ bpf.c > Introduce bpf_put() and bpf_get() instead of mixing macro and functions > for the reference counting. > ok dlg@ (mpi@) ~ bpf.c > No need to reset si_selpid after calling selwakeup() the function > already does it. (mpi@) ~ pfkey.c > replace the last uses of m_copym2 with m_dup_pkt. > ok mpi@ visa@ (dlg@) net80211 ~ ieee80211_ioctl.c ~ ieee80211_ioctl.h > Expose more 802.11n information to userspace: > A flag which indicates whether HT has been negotiated with a node, > and the current Tx MCS value we use for a node. > This grows struct ieee80211_nodereq. Applications using it must be > recompiled. > ok mpi@ (stsp@) netinet ~ ip_ah.c ~ ip_esp.c ~ ip_ipcomp.c ~ ip_output.c > replace the last uses of m_copym2 with m_dup_pkt. > ok mpi@ visa@ (dlg@) == usr.bin =========================================================== 09/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin passwd ~ local_passwd.c > Trust the login_getcaptime() declaration and don't cast the arguments to > their own expected type (guenther@) ssh ~ servconf.c ~ servconf.h ~ sshd.c > Remove more SSH1 server code: > * Drop sshd's -k option. > * Retire configuration keywords that only apply to protocol 1, as well as > the "protocol" keyword. > * Remove some related vestiges of protocol 1 support. > ok markus@ (naddy@) ~ sshd.8 ~ sshd_config ~ sshd_config.5 > Catch up with the SSH1 code removal and delete all mention of > protocol 1 particularities, key files and formats, command line > options, and configuration keywords from the server documentation > and examples. ok jmc@ (naddy@) == usr.sbin ========================================================== 10/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin httpd ~ httpd.h ~ parse.y ~ server.c > Make httpd stricter with respect to TLS configuration - in particular, do > not allow TLS and non-TLS to be configured on the same port, do not allow > TLS options to be specified without a TLS listener and ensure that the TLS > options are the same when a server is specified on the same address/port. > Currently, these configurations are permitted but do not work as intended. > Also factor out and reuse the server matching code, which was previously > duplicated. > ok reyk@ (jsing@) ~ config.c ~ server.c > Use lowercase 'tls' in debug and log messages for consistency. > Requested by reyk@ (jsing@) ~ httpd.h ~ parse.y ~ server.c > Move server_match() from parse.y to server.c; use env instead of conf, > which is actually the same thing (cluebat from reyk@). (jsing@) ndp ~ ndp.c > Checking for RTF_BROADCAST here makes no sense. (mpi@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
