OpenBSD src changes summary for 2016-08-17 ==========================================
bin/dd distrib/miniroot distrib/sets lib/libc regress/usr.sbin share/man sys/arch/amd64/include sys/arch/armv7/armv7 sys/arch/armv7/conf sys/arch/armv7/dev sys/arch/sparc64/include sys/dev/ic sys/dev/microcode sys/dev/pci sys/dev/pv sys/kern sys/net sys/net80211 usr.bin/compress usr.bin/mandoc usr.sbin/bgpd usr.sbin/dhcpd usr.sbin/syslogd usr.sbin/vmd == bin =============================================================== 01/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin dd ~ dd.1 > Add HISTORY section. > Information found on: http://www.tuhs.org/cgi-bin/utree.pl > Checked by Sevan Janiyan <venture37 at geeklan dot co dot uk>. (schwarze@) == distrib =========================================================== 02/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ install.sub > Use more dhcp info when trying autoinstall/autoupgrade. > For the file name try 'filename' then 'option bootfile-name'. > For the server name try 'server-name' then 'option tftp-server-name' then > 'next-server'. > Original idea from Patrick Lundin. Suggestions from rpe@. > Tweaks & ok halex@ (krw@) sets ~ lists/base/md.loongson ~ lists/base/md.octeon ~ lists/base/md.sgi ~ lists/comp/md.loongson ~ lists/comp/md.octeon ~ lists/comp/md.sgi > sync (deraadt@) == lib =============================================================== 03/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ stdlib/malloc.c > wrterror() is fatal, delete dead code; ok tom@ natano@ tedu@ (otto@) ~ stdio/vfprintf.c ~ stdio/vfwprintf.c > Generate syslog warnings for %s fmt strings NULL to "(null)" conversions. > Over time we can repair software which performs this non-standard > behaviour, > and fix bugs along the way. Let's first find out how bad the situation is > by deploying this in snapshots. > This type of logging is possible because OpenBSD syslog_r(3) -> > sendsyslog(2) > is side-effect free enough to be used in the bowels of libc. > ok tedu (deraadt@) ~ stdio/vfprintf.c ~ stdio/vfwprintf.c > % is escaped with more %, not backslash. (tedu@) == regress =========================================================== 04/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress usr.sbin ~ syslogd/args-client-tls4.pl ~ syslogd/args-client-tls6.pl ~ syslogd/args-tls-cafile-empty.pl ~ syslogd/args-tls-cafile-noexist.pl ~ syslogd/args-tls-cafile-toobig.pl > syslogd(8) uses new libtls certificate and key file loading. So > the tests behave a little bit different now. (bluhm@) == share ============================================================= 05/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/ral.4 > Document RT3900E (RT5390 / RT5392) support in ral(4). > Ported from FreeBSD by James Hastings. (stsp@) ~ man8/autoinstall.8 > Use more dhcp info when trying autoinstall/autoupgrade. > For the file name try 'filename' then 'option bootfile-name'. > For the server name try 'server-name' then 'option tftp-server-name' then > 'next-server'. > Original idea from Patrick Lundin. Suggestions from rpe@. > Tweaks & ok halex@ (krw@) == sys =============================================================== 06/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/include ~ atomic.h > Fix x86_atomic_{set|clear}bits_u64() by using the "er" constraint instead > of "ir" as the orq and andq instructions take a 32-bit immedate argument > that > gets sign-extended. > ok mikeb@ (kettenis@) arch/armv7/armv7 ~ platform.c > Replace sxiuart(4) with the mostly compatible com(4). > The Synopsys DesignWare 8250 throws an interrupt if it detects a write > to LCR while it was busy. Read the USR register to clear the interrupt > so we don't get flooded. > The sunxi machines also use a different frequency on the consoles. As > we have no clock framework, especially not for early consoles, match on > known Allwinner compatibles to set a known frequency. > ok kettenis@ mglocker@ (patrick@) arch/armv7/conf ~ GENERIC ~ RAMDISK > Replace sxiuart(4) with the mostly compatible com(4). > The Synopsys DesignWare 8250 throws an interrupt if it detects a write > to LCR while it was busy. Read the USR register to clear the interrupt > so we don't get flooded. > The sunxi machines also use a different frequency on the consoles. As > we have no clock framework, especially not for early consoles, match on > known Allwinner compatibles to set a known frequency. > ok kettenis@ mglocker@ (patrick@) arch/armv7/dev ~ com_fdt.c > Replace sxiuart(4) with the mostly compatible com(4). > The Synopsys DesignWare 8250 throws an interrupt if it detects a write > to LCR while it was busy. Read the USR register to clear the interrupt > so we don't get flooded. > The sunxi machines also use a different frequency on the consoles. As > we have no clock framework, especially not for early consoles, match on > known Allwinner compatibles to set a known frequency. > ok kettenis@ mglocker@ (patrick@) ~ com_fdt.c > Remove bogus suspend/resume code from armv7 com(4) attachment driver. > The code initially arrived when the zaurus driver was copied. As we > don't suspend on ARMv7, just get rid of it. > Prompted by jsg@ and kettenis@. (patrick@) ~ com_fdt.c > Nothing from the original Wasabi code remains, so replace the copyright > with the standard ISC license. > ok kettenis@ jsg@ (patrick@) arch/sparc64/include ~ intr.h > we have some spare interrupt levels, so move softnet above softclock. > ok kettenis@ (dlg@) ~ cpu.h > use a register variable to get at the curcpu pointer in %g7 > this lets us define curcpu(), cpu_number(), etc as derefs of this > variable rather than having to write asm to copy it into another > register for the same derefs. > this provides shorter inlined code that wastes less registers. > ok kettenis@ who notes we use this these on other archs already (dlg@) dev/ic ~ mpi.c > Make error handling (esp. DATA_UNDERRUN) clearer and avoid losing resid > value. > Specs from mikeb@, ok dlg@ (krw@) ~ aic79xx.c ~ aic79xx.h ~ aic79xx_openbsd.c > Move to iopool. No voluntary testers after several years of requests so now > everybody gets to test! (krw@) ~ aic7xxx.c ~ aic7xxx_inline.h ~ aic7xxx_openbsd.c ~ aic7xxx_openbsd.h ~ aic7xxxvar.h > Move to iopool. No voluntary testers after several years of requests so now > everybody gets to test! (krw@) ~ rt2860.c ~ rt2860reg.h ~ rt2860var.h > Add support for RT5390 and RT5392 chipsets to the ral(4) driver. > Tested by procter@ on RT2860 and by me on RT2790 and RT3090. > Ported from FreeBSD by James Hastings. (stsp@) dev/microcode ~ ral/microcode.h > Update ral(4) firmware for RT2860 family devices. > Required for upcoming RT5390 and RT5392 chipset support. > Tested by procter@ on RT2860 and by me on RT2790 and RT3090. > Ported from FreeBSD by James Hastings. > kevlo confirmed this version of the firmware is still ISC licensed. (stsp@) dev/pci ~ mpii.c > Make error handling (esp. DATA_UNDERRUN) clearer and avoid losing resid > value. > Specs from mikeb@, ok dlg@ (krw@) ~ if_iwm.c > If the stack demands protection by setting the USEPROT flag then set the > corresponding bit in the iwm(4) Tx command regardless of frame length. > ok sthen@ (stsp@) ~ if_iwn.c > iwn(4) scans all bands at once, as far as the net80211 stack is concerned. > So set the appropriate scan capability flags in the ic. > ok sthen@ (stsp@) ~ pcidevs > Add PCI ID for Ralink RT5392 and additional IDs for RT5390 devices. > Part of a larger patch by James Hastings. (stsp@) ~ pcidevs.h ~ pcidevs_data.h > regen (stsp@) ~ if_wpi.c > wpi(4) scans all bands at once, as far as the net80211 stack is concerned. > So set the appropriate scan capability flags in the ic. > ok sthen@ (stsp@) ~ if_ral_pci.c > Add support for RT5390 and RT5392 chipsets to the ral(4) driver. > Tested by procter@ on RT2860 and by me on RT2790 and RT3090. > Ported from FreeBSD by James Hastings. (stsp@) dev/pv ~ xen.c ~ xenvar.h > Replace hand rolled atomic bit operations and use MI ones from DRM (mikeb@) ~ hyperv.c ~ hypervreg.h ~ hypervvar.h > Sync up monitor trigger groups handling to the upstream > Replace hand rolled atomic bit operations and use MI ones from DRM > and convert event matrixes to arrays of longs. (mikeb@) kern ~ uipc_usrreq.c > Fix an mbuf leak and missing error propagation in uipc_usrreq(PRU_SEND) > in case sbappendcontrol() fails. > From Simon Mages; OK mikeb@ (bluhm@) net ~ pf.c ~ pf_norm.c ~ pfvar.h > Reintroduce 5.3-style checksum modification to preserve end-to-end > checksums > when fiddling with packets but without the mess that motivated Henning to > remove it. Affects only this one aspect of Henning's checksum work. Also > tweak > the basic algorithm and supply a correctness argument. > OK dlg@ deraadt@ sthen@; no objection henning@ (procter@) net80211 ~ ieee80211_node.c > If a wireless device or driver scans all bands at once give 5GHz APs > a slight priority in cases where good matches exist in either band. > ok sthen@ (stsp@) == usr.bin =========================================================== 07/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin compress ~ gzopen.c > When returning the file size info, only use z_total_in/z_total_out > for the read (inflate) case where there might be multiple streams. > For the write (deflate) case there can only be a single stream so > just use the per-stream total_in/total_out. Fixes "gzip -v" byte > counts. OK henning@. (millert@) mandoc ~ dba.c > Make sure manuals in architecture-independent directories are treated > as architecture-independent even if they abuse the third (architecture) > argument of the .Dt macro for random stuff like "freetds reference manual". > While the .Dt syntax is not the same as the .TH syntax in man(7), > punishing offenders by treating them as architecture-dependent and > hence completely excluding them from searches is too severe. > Problem reported by sthen@. (schwarze@) ~ dba.c ~ dba_read.c > When reading back a mandoc.db(5) file in order to apply incremental > changes, do not prepend a stray NAME_FILE (0x10) byte to the first > names of pages. > Bug found while investigating another issue reported by sthen@. (schwarze@) ~ dba.c ~ dba.h ~ dba_read.c ~ mandocdb.c > When the content of a manual page does not specify a section, the > empty string got added to the list of sections, breaking the database > format slightly and causing the page to not be considered part of > any section, not even if a section could be deduced from the directory > or from the file name. > Bug found due to the bogus pcredemo(3) "manual" in the pcre-8.38p0 package. > (schwarze@) == usr.sbin ========================================================== 08/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin bgpd ~ bgpd.conf.5 > The man page is a bit confusing for how we can control which address > families we support during capabilities negotiation. Re-organize the > man page to be more clear, and explicitly state what the default is. > OK sthen@ benno@ (phessler@) ~ bgpd.conf.5 > pluralize a word (phessler@) dhcpd ~ confpars.c > Ansify function definitions. > Diff from Edgar Pettijohn. (krw@) ~ confpars.c > KNF and clean up many comments. (krw@) syslogd ~ syslogd.c > By using the new tls_config_load_file() feature, syslogd(8) certificate > and key loading can be simplified. > OK jsing@ (bluhm@) vmd ~ control.c ~ loadfile_elf.c ~ pci.c ~ virtio.c ~ vmd.c ~ vmm.c > small bits of header cleanup; ok mlarkin (deraadt@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
