OpenBSD src changes summary for 2017-07-24 ==========================================
bin/ksh bin/test distrib/sets gnu gnu/lib/libstdc++-v3 gnu/usr.bin/cc lib/libssl regress/lib sbin/dhclient sbin/slaacd share/man sys/arch/amd64/amd64 sys/arch/arm64/stand/efiboot sys/arch/armv7/conf sys/arch/armv7/stand/efiboot sys/arch/i386/i386 sys/dev sys/dev/fdt sys/dev/i2c sys/kern sys/miscfs/fifofs sys/net sys/nfs usr.bin/make usr.bin/newsyslog usr.bin/ssh usr.sbin/bgpd usr.sbin/dvmrpd usr.sbin/eigrpd usr.sbin/ifstated usr.sbin/ldpd usr.sbin/ospfd usr.sbin/ripd usr.sbin/snmpd == bin =============================================================== 01/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ksh ~ history.c > Use memmove instead of a hand-rolled loop > A tad faster in my HISTFILE "benchmarks". ok tb@ (jca@) ~ history.c > Prettify, simplify > Input & ok tb@ (jca@) ~ history.c > Fix off-by-one error introduced in the previous commit. > ok jca (tb@) test ~ test.c > Add < and > to the comment describind the grammar. > Picked in a diff from Klemens Nanni (jca@) == distrib =========================================================== 02/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/man/mi > sync (deraadt@) == gnu =============================================================== 03/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu gnu ~ gcc/gcc/opts.c > Make gcc accept -Oz as an alias for -Os for compatibility with clang. > With clang -Os doesn't generate the smallest code possible but some middle > ground between optimization for speed and optimization for size. A new -Oz > option was introduced for optmization for size only. We need that for our > floppies, otherwise they overflow. Making gcc accept -Oz too makes our > life > easier. > ok millert@, deraadt@, robert@ (kettenis@) lib/libstdc++-v3 ~ Makefile.common > install gcc, g++ as gcc and g++ instead of cc, c++ and create links > to the latter on non-clang architectures and make sure we build gcc > with itself because clang won't be able to build it > ok naddy@ (robert@) usr.bin/cc ~ Makefile.inc ~ c++/Makefile ~ cc/Makefile ~ libobjc/Makefile > install gcc, g++ as gcc and g++ instead of cc, c++ and create links > to the latter on non-clang architectures and make sure we build gcc > with itself because clang won't be able to build it > ok naddy@ (robert@) ~ Makefile > build cpp on gcc4 architectures only, as clang ships with its own > ok naddy@ (robert@) == lib =============================================================== 04/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libssl - t1_reneg.c ~ Makefile ~ ssl_locl.h ~ ssl_tlsext.c ~ ssl_tlsext.h ~ t1_lib.c > Rewrite the TLS Renegotiation Indication extension handling using CBB/CBS > and the new extension framework. > Feedback from doug@ > ok inoguchi@ (jsing@) ~ ssl_tlsext.c ~ t1_lib.c > Rewrite and move the last remnants of the ServerHello SNI handling into > tlsext_sni_serverhello_parse(). This also adds a check to ensure that > if we have an existing session, the name matches what we specified via > SNI. > ok doug@ (jsing@) == regress =========================================================== 05/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress lib ~ libssl/tlsext/tlsexttest.c > Add regress coverage for the TLS Renegotiation Indication extension. > (jsing@) ~ libssl/tlsext/tlsexttest.c > Extend the SNI tests to ensure that we have a hostname in the session > after a successful tlsext_sni_serverhello_parse() and that > tlsext_sni_clienthello_parse() fails if we have an existing session and > the SNI is mismatched. (jsing@) == sbin ============================================================== 06/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ kroute.c > Unify ROUNDUP macros for parsing route messages. > Use the macro from route(8) / ospf6d(8) since it works also with argument > 0. > OK claudio@ (friehm@) ~ dhclient.c > ROUNDUP() adjustment missed by great ROUNDUP() roundup. (krw@) ~ dhclient.c ~ dhcpd.h ~ kroute.c > Move invocations of flush_routes() and delete_addresses() from > bind_lease() into set_routes() and set_address() respectively. (krw@) ~ bpf.c ~ dhclient.c ~ dhcp.h ~ parse.c > Tweak some comments (krw@) ~ dhclient.c ~ dhcpd.h ~ dispatch.c ~ kroute.c ~ privsep.h > Shuffle some declarations and functions into the only > files they are used in. Tweak a bunch of whitespace. (krw@) ~ dhclient.c ~ dhcpd.h ~ kroute.c > Throw DHO_STATIC_ROUTES to the floor! Roughly! Ensure > they don't appear in effective leases at all. (krw@) slaacd ~ frontend.c > Unify ROUNDUP macros for parsing route messages. > Use the macro from route(8) / ospf6d(8) since it works also with argument > 0. > OK claudio@ (friehm@) == share ============================================================= 07/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man3/tree.3 > ansify (jca@) ~ man4/Makefile + man4/pcxrtc.4 > pcxrtc(4) (kettenis@) ~ man4/iic.4 > add pcxrtc; (jmc@) == sys =============================================================== 08/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ amd64errata.c ~ lapic.c ~ pmap.c > add some missing MULTIPROCESSOR ifdefs to not compile in code on > non-multiprocessor kernels to avoid unused function warnings by clang > (robert@) arch/arm64/stand/efiboot ~ conf.c ~ efiboot.c > Port amd64's updates to the device path comparison to arm64 as well. > (patrick@) arch/armv7/conf ~ GENERIC ~ RAMDISK > Enable pcxrtc(4). (kettenis@) arch/armv7/stand/efiboot ~ conf.c ~ efiboot.c > Port amd64's updates to the device path comparison to armv7. Fixes > bootup on the i.MX6UL evaluation kit. > ok kettenis@ (patrick@) arch/i386/i386 ~ amd64errata.c ~ lapic.c > add MULTIPROCESSOR guards around otherwise unused pieces to satisfy clang > ok deraadt@ kettenis@ (naddy@) dev ~ softraid.c > tweak malloc(9) flags: since that M_NOWAIT might return NULL hence it > doesnt make sense to use M_CANFAIL flag. > ok dlg jsing (gsoares@) dev/fdt ~ axp20x.c > Add support for the AXP152 which has a shutdown control register that is > compatible with the AXP209. Makes the Olimex A10s-OlinuXino-MICRO power > down properly. (kettenis@) dev/i2c ~ files.i2c + pcf8563.c > pcxrtc(4), a driver for the NXP PCF8563 RTC. > ok deraadt@ (kettenis@) kern ~ sys_socket.c > Grab the socket lock in soo_ioctl() where `so_state', `so_rcv' > and `so_snd' are modified. > ok bluhm@, visa@ (mpi@) ~ uipc_socket.c ~ uipc_syscalls.c > Extend the scope of the socket lock to protect `so_state' in connect(2). > As a side effect, soconnect() and soconnect2() now expect a locked socket, > so update all the callers. > ok bluhm@ (mpi@) miscfs/fifofs ~ fifo_vnops.c > Extend the scope of the socket lock to protect `so_state' in connect(2). > As a side effect, soconnect() and soconnect2() now expect a locked socket, > so update all the callers. > ok bluhm@ (mpi@) net ~ fq_codel.c > Fixup free list handling in fqcodel_deq_begin > We're growing an mbuf free list while iterating over flow queues > and need to adjust our internal statistics on every iteration by > using a portion of the free list corresponding to the current > iteration. (mikeb@) ~ route.c ~ route.h ~ rtsock.c > rt_getifa() is only needed for routing commands submited by userland. > So rename it to rtm_getifa(), move it where it belongs and stop calling > it from rtrequest(9). Route entries created by the kernel must always > specify the corresponding `ifa'. > ok claudio@ (mpi@) ~ if.c > Reduce NET_LOCK() contention by moving the linktstate and watchdog > tasks from `systq' to `softnettq'. > ok kettenis@, visa@ (mpi@) ~ hfsc.c > Don't attempt to deactivate a class that doesn't have any packets in it > Classes are considered "active" when they have packets assigned to them. > Active classes are tracked on various lists and during the purge operation > must be dissociated from them. During factoring out of the HFSC internal > FIFO operations, the check for whether the class is empty got lost. > Issue reported and fix tested by abieber@ and myself. (mikeb@) nfs ~ nfs_socket.c > Extend the scope of the socket lock to protect `so_state' in connect(2). > As a side effect, soconnect() and soconnect2() now expect a locked socket, > so update all the callers. > ok bluhm@ (mpi@) == usr.bin =========================================================== 09/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin make ~ arch.c ~ suff.c ~ memory.h > GC old cruft. > noticed and patch Michael W. Bombardieri (espie@) ~ engine.c > turn stupid message into a proper warning. > noticed by Michael W. Bombardieri > okay schwarze@ (espie@) newsyslog ~ newsyslog.c > Simplify mail sending. > No need for asprintf(3) to concat two string literals. The resulting > helper() function is trivial, so inline it. ok schwarze@ (jca@) ssh ~ ssh-agent.c > g/c unused variable; make a little more portable (djm@) == usr.sbin ========================================================== 10/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin bgpd ~ kroute.c > Unify ROUNDUP macros for parsing route messages. > Use the macro from route(8) / ospf6d(8) since it works also with argument > 0. > OK claudio@ (friehm@) dvmrpd ~ kroute.c > Unify ROUNDUP macros for parsing route messages. > Use the macro from route(8) / ospf6d(8) since it works also with argument > 0. > OK claudio@ (friehm@) eigrpd ~ kroute.c > Unify ROUNDUP macros for parsing route messages. > Use the macro from route(8) / ospf6d(8) since it works also with argument > 0. > OK claudio@ (friehm@) ifstated ~ ifstated.c > Use pledge(2) > Simple promises proposed by Rob Pierce after exploring more complicated > privsep schemes. ok benno@ (jca@) ldpd ~ kroute.c > Unify ROUNDUP macros for parsing route messages. > Use the macro from route(8) / ospf6d(8) since it works also with argument > 0. > OK claudio@ (friehm@) ospfd ~ kroute.c > Unify ROUNDUP macros for parsing route messages. > Use the macro from route(8) / ospf6d(8) since it works also with argument > 0. > OK claudio@ (friehm@) ripd ~ kroute.c > Unify ROUNDUP macros for parsing route messages. > Use the macro from route(8) / ospf6d(8) since it works also with argument > 0. > OK claudio@ (friehm@) snmpd ~ kroute.c > Unify ROUNDUP macros for parsing route messages. > Use the macro from route(8) / ospf6d(8) since it works also with argument > 0. > OK claudio@ (friehm@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
