OpenBSD src changes summary for 2016-12-20 ==========================================
bin/pax distrib/special gnu/usr.bin/clang lib/libc lib/libcrypto sbin/bioctl sbin/ifconfig sys/arch/amd64/amd64 sys/arch/powerpc/powerpc sys/arch/sparc64/dev sys/arch/sparc64/sparc64 sys/dev sys/dev/pci sys/dev/usb sys/kern sys/net sys/net80211 sys/netinet sys/netinet6 sys/sys usr.bin/rpcgen usr.sbin/amd usr.sbin/mkuboot usr.sbin/mopd usr.sbin/sa == bin =============================================================== 01/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin pax ~ buf_subs.c > Fix a bug where archives smaller than 512 bytes would trigger a next volume > prompt. From NetBSD. > ok millert@, deraadt@ (kettenis@) == distrib =========================================================== 02/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib special ~ libstubs/db.c > Add 'default:' cases to switch statements that gcc whines about. > ok jung@ (krw@) == gnu =============================================================== 03/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu usr.bin/clang ~ Makefile.inc > Compile clang with clang by default instead of egcc. This allows our > build system to selfhost itself after the initial clang bootstrap > without relying on an external compiler. Setting BOOTSTRAP_CLANG > allows bootstrapping clang with egcc. > ok kettenis@ (patrick@) == lib =============================================================== 04/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ rpc/rpc_prot.c ~ rpc/xdr.c ~ rpc/xdr_array.c ~ rpc/xdr_reference.c > Add 'default:' cases to switch statements that gcc whines about. > ok jung@ (krw@) libcrypto ~ bio/b_sock.c ~ man/BIO_s_connect.3 > Delete completely useless crap and just use getaddrinfo. Fix man page > while we're at it. > Note for the nostalgic, since "wais" is still an alias in /etc/services > it will continue to work.. > ok deraadt@ millert@ krw@ (beck@) == sbin ============================================================== 05/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin bioctl ~ bioctl.c > This commit removes bio_status() calls after a BIOCLOCATE since the > bio status will never be updated on a BIOCLOCATE. In addition with > missed zeroing of the passed bio struct, this could lead to a print > of uninitialized memory. While there, properly zero the bio struct > before passing it to ioctl(). > ok mikeb@ (patrick@) ifconfig ~ ifconfig.c > Make 'ifconfig if0 wpa' and 'ifconfig if0 -wpa' reset WPA params (does not > include the wpakey) to their defaults. > And make 'ifconfig if0 wpaprotos' reset WPA crypto parameters to settings > which are appropriate for the specified WPA protocol version. (stsp@) ~ ifconfig.8 > Document our new WPA default settings. Discourage use of TKIP. (stsp@) == sys =============================================================== 06/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ vmm_support.S > Fix operand of pushq instruction; clang's integrated assembler is less > forgiving than gas and insists that we use a 64-bit integer. No binary > change. > ok mlarkin@ (kettenis@) arch/powerpc/powerpc ~ trap.c > fix an uninitialised variable on altivec assist trap > ok krw@ kettenis@ (jsg@) arch/sparc64/dev ~ cbus.c ~ pyro.c ~ vpci.c > no need to test if an array is non-NULL > ok kettenis@ (jsg@) ~ uperf.c > fix use of uninitialised variables > ok kettenis@ (jsg@) arch/sparc64/sparc64 ~ trap.c > fix use of uninitialised variables > ok kettenis@ (jsg@) dev ~ audio.c > Fix many typos. From Michael W. Bombardieri <mb at ii.net>. Thanks > (ratchov@) ~ midi.c > In midiread() and midiwrite(), add a second goto label to > factor calls to mtx_leave() before returning. From Michael > W. Bombardieri <mb at ii.net>. Thanks! (ratchov@) dev/pci ~ fms.c > Set free(9) size argument. From Michael W. Bombardieri <mb at ii.net>. > Thanks. (ratchov@) ~ auglx.c ~ autri.c ~ auvia.c > Simplify the activate() functions of auglx(4), autri(4), and > auvia(4). From Michael W. Bombardieri <mb at ii.net>. Thanks. (ratchov@) ~ drm/radeon/rs690.c ~ drm/radeon/rv515.c > Fix compiler warnings generated by clang. This matches upstream commit > 1cd73ff70d13a22faa95db8323382dd6d036554e by Alex Deucher, whose commit > message makes me suspect that Brad Smith mailed us a diff back in 2013 > that we ignored. > ok jsg@ (kettenis@) dev/usb ~ umidi.c > Group identical close_in_jack() and close_out_jack() into a single > routine. From Michael W. Bombardieri <mb at ii.net>. Thanks! (ratchov@) kern ~ uipc_domain.c > A NET_LOCK() was is missing in tcp_sysctl() which shows up as spl > softnet assert failures. It is better to place the lock into > net_sysctl() where all the protocol sysctls are called via pr_sysctl. > As calling sysctl(2) is in the slow path, doing fine grained locking > has no benefit. Many sysctl cases copy out a struct. Having a > lock around that keeps the struct consistent. Put assertions in > the protocol sysctls that need it. > OK mpi@ (bluhm@) ~ uipc_domain.c ~ uipc_socket.c > Grab the NET_LOCK() in so{s,g}etopt(), pffasttimo() and pfslowtimo(). > ok rzalamena@, bluhm@ (mpi@) net ~ if_mpe.c ~ if_mpw.c > Kill recursive splsoftnet()/splx() dances in ioctl(2) path. > ok rzalamena@ (mpi@) ~ if_pflow.c > Release the NET_LOCK() before calling any socket function since it is > not recursive. > This is temporary until all recursions are found and can be addressed > in a correct way. > With inputs from bluhm@ (mpi@) ~ rtsock.c > A NET_LOCK() was is missing in tcp_sysctl() which shows up as spl > softnet assert failures. It is better to place the lock into > net_sysctl() where all the protocol sysctls are called via pr_sysctl. > As calling sysctl(2) is in the slow path, doing fine grained locking > has no benefit. Many sysctl cases copy out a struct. Having a > lock around that keeps the struct consistent. Put assertions in > the protocol sysctls that need it. > OK mpi@ (bluhm@) ~ if.c > Grab the netlock during interface attach and detach. > With help from and OK mpi. (mikeb@) net80211 ~ ieee80211_crypto.c ~ ieee80211_ioctl.c > Disable TKIP (WPA1) by default. > It is time for this legacy of WEP to die (remember WEP?). > The 802.11-2012 standard says: > The use of TKIP is deprecated. The TKIP algorithm is unsuitable for > the purposes of this standard. > TKIP has numerous problems. One of which is that TKIP allows a denial of > service attack which can be triggered by any client. Report 2 Michael MIC > failures to a TKIP AP to trigger "TKIP countermeasures". The AP is now > required by the 802.11 standard to lock everyone out for at least 60 > seconds. > The network will remain unusable for as long as such MIC failure reports > are sent twice per minute. > TKIP remains available for interoperability purposes, for now. > It must be enabled manually with ifconfig(8). > Prompted by discussion with Mathy Vanhoef. > ok deraadt@ sthen@ reyk@ (stsp@) netinet ~ ip_mroute.c ~ ip_mroute.h > Remove unused timeout that was never being set. > ok reyk@ (rzalamena@) ~ tcp_subr.c > No need for splsoftnet()/splx() dance around a pool_put() if the pool > has IPL_SOFTNET as ipl. > ok mikeb@, kettenis@ (mpi@) ~ ip_mroute.c > Call the multicast timer callback per domain instead of for all domains > this way we save doing big tables walk and iterating tables that we don't > need to. > ok mpi@ (rzalamena@) ~ in.c > Remove duplicate in_ioctl() prototype, it is in in_var.h now. (bluhm@) ~ tcp_usrreq.c > Kill recursive splsoftnet()/splx() in tcp_ctloutput(). > ok mikeb@, bluhm@ (mpi@) ~ ip_carp.c > Prevent grabing the NET_LOCK() twice in the ioctl(2) and input path. > While here remove two redundant splsoftnet()/splx() dances. > inputs and ok bluhm@ (mpi@) ~ ip_icmp.c ~ ip_input.c ~ tcp_usrreq.c > A NET_LOCK() was is missing in tcp_sysctl() which shows up as spl > softnet assert failures. It is better to place the lock into > net_sysctl() where all the protocol sysctls are called via pr_sysctl. > As calling sysctl(2) is in the slow path, doing fine grained locking > has no benefit. Many sysctl cases copy out a struct. Having a > lock around that keeps the struct consistent. Put assertions in > the protocol sysctls that need it. > OK mpi@ (bluhm@) netinet6 ~ ip6_input.c ~ nd6.c > A NET_LOCK() was is missing in tcp_sysctl() which shows up as spl > softnet assert failures. It is better to place the lock into > net_sysctl() where all the protocol sysctls are called via pr_sysctl. > As calling sysctl(2) is in the slow path, doing fine grained locking > has no benefit. Many sysctl cases copy out a struct. Having a > lock around that keeps the struct consistent. Put assertions in > the protocol sysctls that need it. > OK mpi@ (bluhm@) sys ~ percpu.h > Put a write memory barrier into counters_enter(). This ensures > that the generation number increment is written before the function > returns and anything else is written. > OK patrick@ mpi@ dlg@ (bluhm@) == usr.bin =========================================================== 07/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin rpcgen ~ rpc_cout.c > Tweak generated .c output so switch statements always have a > 'default:' case. > Several hundred "not handled" warnings go away. > ok deraadt@ (krw@) ~ rpc_cout.c ~ rpc_hout.c > Add 'default:' cases to switch statements that gcc whines about. > ok jung@ (krw@) == usr.sbin ========================================================== 08/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin amd ~ amq/amq.c > Add 'default:' cases to switch statements that gcc whines about. > ok jung@ (krw@) mkuboot ~ mkuboot.c > Add the u-boot arm64 architecture number and map it to "aarch64" to > match OpenBSD/arm64 MACHINE_ARCH. > ok patrick@ (jsg@) mopd ~ mopa.out/mopa.out.c > Add 'default:' cases to switch statements that gcc whines about. > ok jung@ (krw@) sa ~ sa.8 > Explain what the trailing '*' in command names output by sa(8) mean. > Reworked version from deraadt@, final okay from jmc@ (zhuk@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
