OpenBSD src changes summary for 2016-04-15 ==========================================
bin/rm distrib/sets lib/librthread regress/usr.bin share/man sys/arch/amd64/conf sys/arch/sparc64/conf sys/kern sys/net sys/net80211 sys/netinet sys/sys usr.bin/mandoc usr.bin/ssh usr.sbin/eigrpd == bin =============================================================== 01/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin rm ~ rm.1 ~ rm.c > don't allow removal of /. more robust approach involving stat this time. > posix uses the language "resolves to the root directory" in this case. > ok millert (tedu@) == distrib =========================================================== 02/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/man/mi > sync (jsg@) == lib =============================================================== 03/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib librthread ~ pthread.h ~ rthread.h ~ rthread_barrier.c > make pthread_barrier_wait behave more like it does on other platforms. > from Kari Tristan Helgason (tedu@) ~ rthread_sync.c > PROTO_NORMAL(pthread_cond_signal) requires DEF_STD(pthread_cond_signal) > (guenther@) ~ pthread.h > Document PROTO_NORMAL requires matching DEF_{,NON}STD (guenther@) == regress =========================================================== 04/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress usr.bin ~ ssh/Makefile + ssh/cfginclude.sh > regression test for ssh_config Include directive (djm@) ~ ssh/Makefile > sync CLEANFILES with portable, sort (djm@) ~ ssh/Makefile > remove redundant CLEANFILES section (djm@) ~ ssh/test-exec.sh > missing bit of Include regress (djm@) == share ============================================================= 05/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man9/ml_init.9 ~ man9/mq_init.9 > remove ml_filter, mq_filter, niq_filter. > theyre currently unused, so no functional change. (dlg@) == sys =============================================================== 06/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/conf ~ GENERIC ~ RAMDISK_CD > enable nvme(4) > ok dlg@ (jsg@) arch/sparc64/conf ~ GENERIC ~ RAMDISK > enable nvme(4). it Just Works(tm). (dlg@) kern ~ uipc_mbuf.c > remove ml_filter, mq_filter, niq_filter. > theyre currently unused, so no functional change. (dlg@) net ~ pf.c > replace m_copym2 with m_dup_pkt for the dup-to handling. > note that this uses max_linkhdr as the adjustment arg. this follows > what the ip stack does when generating packets as it provides space > for link headers (like ethernet headers) to be prepended on the new > packet. > ok henning@ (dlg@) ~ if_vlan.c > rework vlan config to make it mpsafe and done by standard ioctls > configuration of the vlan parent interface and the vlan id should > come via the IFPARENT and VNETID ioctls now. the vlan specific > ioctls are still available via a compat layer, but that will go > away a bit further into this release cycle. > the parent interface may only be configured while the vlan is down. > the vnetid may be changed at runtime, but will generate link state > changes across that event. > the vlan is implicitily brought up when an address is assigned, > which brings it in line with all our other network drivers. the > legacy vlan ioctl still imply bringing the interface up because > that's what it used to do. > the code that brings vlans up and down is now simplified because > it no longer supports changing the parent at run time. most of that > code now adds state to the parent when bringing the vlan up, and > bringing the interface down just removes it in reverse. > these simplifications in turn make it possible for us to transmit > packets on vlan interfaces without holding the big lock, so its now > marked as MPSAFE. > ok jmatthew@ sthen@ mpi@ (dlg@) ~ if_vlan.c ~ if_vlan_var.h > rename ifv_p to ifv_ifp0 > this makes it more clear to the casual reader that it refers to the > parent interface, which is consistently referred to as ifp0 in the > rest of the vlan (and carp) code. > this is a good idea from mpi@ (dlg@) ~ if_var.h > remove ml_filter, mq_filter, niq_filter. > theyre currently unused, so no functional change. (dlg@) net80211 ~ ieee80211_input.c > replace m_copym2 with m_dup_pkt > tested by and ok stsp@ (dlg@) netinet ~ ip_input.c ~ ip_var.h > Kill in_rtaddr() and use rtalloc(9) directly in ip_dooptions(). > This brings ip_dooptions() closer to mp-safeness by ensuring that > ``ifa'' is dereferenced before calling rtfree(9). > ok mikeb@ (mpi@) sys ~ mbuf.h > remove ml_filter, mq_filter, niq_filter. > theyre currently unused, so no functional change. (dlg@) == usr.bin =========================================================== 07/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mandoc ~ cgi.c > omit list of other results one there is only one match (schwarze@) ~ cgi.c > If PATH_INFO contains a complete and correct path to a manual page > file, for example "/OpenBSD-5.9/man2/pledge.2", no database query > is needed and the file is delivered directly. > But even in this case, let's parse the PATH_INFO and fill the query > structure such that the search form at the top of the result page > gets pre-filled with useful values. (schwarze@) ~ cgi.c > In the architectures dropdown, move aviion, ia64, solbourne, and vax > down to the currently unsupported entries. (schwarze@) ~ cgi.c > Make HTML tags lower case for better stylistic agreement with what > html.c does. (schwarze@) ~ cgi.c > Fix parsing of PATH_INFO if both a section directory and an > architecture subdirectory are specified. Issue reported by tb@. > (schwarze@) ~ cgi.c > prefer warn[x](3) over fprintf(3) where appropriate (schwarze@) ~ cgi.c > Rename five static functions to make the classification of functions > as parsers, page generators, and result generators more obvious. > No functional change. (schwarze@) ssh ~ readconf.c ~ readconf.h ~ ssh.1 ~ ssh_config.5 > Include directive for ssh_config(5); feedback & ok markus@ (djm@) == usr.sbin ========================================================== 08/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin eigrpd ~ eigrpd.c ~ eigrpd.h ~ eigrpe.c ~ eigrpe.h ~ interface.c ~ kroute.c ~ log.c ~ log.h ~ packet.c ~ parse.y ~ rde.h ~ rde_dual.c > Minor fixes and code cleanup. > * whitespace cleanup; > * copy in_addr structs directly; > * add more malloc return value checks; > * fix some log messages; > * turn ifacecnt into a static variable; > * use eigrp_addrcmp() on if_deladdr() to avoid code duplication; > * s/route_print_origin/log_route_origin/ > * more smaller issues. (renato@) ~ rde_dual.c > Fix corner case in Feasible Condition check. > From the EIGRP draft: > "The Feasibility Condition is met when a neighbor's advertised cost, (RD) > to a destination is less than the Feasible Distance for that destination". > So, according to the draf, when the Reported Distance is EQUAL to the > Feasible Distance, the Feasible Condition is NOT met. (renato@) ~ eigrpd.c ~ eigrpd.h ~ parse.y > Move the command line options out of struct eigrpd_config > into an own flag field since these can't be modified via a > config reload. > Pulled from bgpd. Original author: claudio@ (renato@) ~ eigrpd.c ~ eigrpd.h ~ eigrpe.c ~ interface.c ~ packet.c ~ parse.y ~ rde.c > Move several other variables out of eigrpd_conf. > Now eigrpd_conf contains only variables that can be modified via a > config reload. The other variables were moved to a new struct called > eigrpd_global, which is now a central point for storing global variables. > (renato@) ~ parse.y > Properly implement the clear_config() function. > We need to free the internal pointers of the eigrpd_conf struct, not > only the main struct. This avoids memory leaks when a config reload > happens to fail (e.g. due to a syntax error). (renato@) ~ eigrpe.c ~ rde.c > Fix segfault on reloading the config multiple times. (renato@) ~ eigrpd.c ~ eigrpe.c ~ rde.c > Kill the child processes if their parent dies unexpectedly. > There's no point on keeping eigrpd running if any of its processes > dies unexpectedly. (renato@) ~ eigrpd.h ~ parse.y ~ rde.h > Check for subnet overlap between the configured summary-addresses. > (renato@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
