OpenBSD src changes summary for 2016-09-21 ==========================================
distrib/sets etc/acme-client.conf lib/libc regress/bin regress/lib regress/sys regress/usr.bin regress/usr.sbin sbin/bioctl sbin/disklabel sbin/sysctl share/mk sys/arch/arm/arm sys/arch/arm/include sys/arch/armv7/imx sys/dev/pci sys/dev/pv sys/dev/usb sys/kern sys/net sys/net80211 sys/nfs sys/sys usr.bin/gprof usr.bin/ssh usr.bin/yacc usr.sbin/npppd usr.sbin/rtadvd usr.sbin/syslogd == distrib =========================================================== 01/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armv7 ~ lists/base/md.hppa ~ lists/base/md.i386 ~ lists/base/md.landisk ~ lists/base/md.loongson ~ lists/base/md.luna88k ~ lists/base/md.macppc ~ lists/base/md.octeon ~ lists/base/md.sgi ~ lists/base/md.socppc ~ lists/base/md.sparc64 ~ lists/comp/mi > sync (deraadt@) == etc =============================================================== 02/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc acme-client.conf ~ acme-client.conf > the account key(s) live in /etc/acme; OK benno@ (florian@) == lib =============================================================== 03/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ db/hash/hash.c ~ db/recno/rec_close.c ~ db/recno/rec_open.c ~ gdtoa/misc.c ~ gen/fts.c ~ gen/getcap.c ~ gen/nlist.c ~ gen/opendir.c ~ gmon/gmon.c ~ net/ethers.c ~ net/freeaddrinfo.c ~ net/inet_ntop.c ~ net/rthdr.c ~ nls/catopen.c ~ regex/engine.c ~ regex/regcomp.c ~ rpc/xdr_rec.c ~ stdio/fgetln.c ~ stdio/fgets.c ~ stdio/fopen.c ~ stdio/fread.c ~ stdio/freopen.c ~ stdio/fsetpos.c ~ stdio/fvwrite.c ~ stdio/getdelim.c ~ stdio/getw.c ~ stdio/setbuffer.c ~ stdio/setvbuf.c ~ stdio/stdio.c ~ stdio/ungetc.c ~ stdio/vfscanf.c ~ stdlib/malloc.c ~ stdlib/setenv.c ~ time/strftime.c ~ hash/helper.c > Delete casts to off_t and size_t that are implied by assignments > or prototypes. Ditto for some of the char* and void* casts too. > verified no change to instructions on ILP32 (i386) and LP64 (amd64) > ok natano@ abluhm@ deraadt@ millert@ (guenther@) ~ gen/sysctl.3 > no more KERN_ARND; ok deraadt (jmc@) == regress =========================================================== 04/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress bin ~ ps/command.sh > Fix a race in test. Wait until the process shown by ps is really > up and running. (bluhm@) lib ~ libpthread/pcap/pcap.c > set BIOCIMMEDIATE, makes the test work for lo0, which does more buffering > than regular interfaces (otto@) sys ~ net/rtable/Makefile.inc ~ net/rtable/kern_compat.h > Test ART implementation by default. > RADIX code can be tested by doing "make RADIX=1" (mpi@) ~ net/Makefile > Enter rtable (mpi@) ~ kern/kqueue/kqueue-pty.c > Use /dev/console as a template for the pseudo tty, stdin may be not > a terminal. Check wether tcgetattr() can read the values. Do not > only verify that kqueue does not report unwanted events but also > that expected events exist. (bluhm@) usr.bin ~ ssh/principals-command.sh > test all the AuthorizedPrincipalsCommand % expansions (djm@) ~ ssh/unittests/match/tests.c > disable tests for affirmative negated match after backout of > match change (djm@) usr.sbin ~ syslogd/Client.pm ~ syslogd/Server.pm ~ syslogd/args-server-tls-client-cert.pl ~ syslogd/args-server-tls-client-fake.pl + syslogd/args-client-tls-cert.pl + syslogd/args-client-tls-fake.pl + syslogd/args-client-tls-verify.pl > Test syslogd TLS client certificate validation. (bluhm@) == sbin ============================================================== 05/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin bioctl ~ bioctl.8 > Be clearer with the description of bioctl(8)'s -r option. > ok jmc@ (jsing@) ~ bioctl.c > Add support for automatically selecting the number of rounds to use with > bcrypt pbkdf, based on system performance. This is based on the bcrypt > autorounds code we have in libc. > Discussed with djm@ and tedu@. (jsing@) ~ bioctl.8 > Document auto rounds. (jsing@) disklabel ~ Makefile > Remove reference to zaurus > OK sthen@ (fcambus@) sysctl ~ sysctl.c > sysctl KERN_ARND is no longer used (in ports, it only occurs in fallback > paths of libevent). This interface was the first generation of what > eventually became getentropy(2) and arc4random(3) -- june 1997! > Ports scan by sthen, general agreement guenther (deraadt@) == share ============================================================= 06/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share mk ~ bsd.own.mk > Loadable kernel modules are gone. > ok millert, deraadt and tb, who sent the same diff to tech@ some time ago > (natano@) == sys =============================================================== 07/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/arm/arm ~ bcopyinout.S ~ bus_space_notimpl.S ~ copystr.S ~ cpufunc_asm.S ~ exception.S ~ irq_dispatch.S ~ locore.S ~ sigcode.S ~ vectors.S > Modernize arm assembly in the kernel for clang. > Based on a similar diff in bitrig. > No binary change when compiled with gcc. > ok patrick@ (kettenis@) arch/arm/include ~ asm.h ~ profile.h > Modernize arm assembly in the kernel for clang. > Based on a similar diff in bitrig. > No binary change when compiled with gcc. > ok patrick@ (kettenis@) arch/armv7/imx ~ if_fec.c > Remove some dead code and only enable tx and rx interrupts. > ok patrick@, tom@, mikeb@ (kettenis@) dev/pci ~ if_iwm.c > Add the BSS's basic rates to iwm's LQ command, not all the rates. > Makes the firmware use appropriate Tx rates for ACKs. (stsp@) ~ if_iwm.c > Copy the AP's actual EDCA parameters into iwm's mac context command > rather than some fixed values present in this file since r1.1. > Allows the firmware to properly time its transmissions in 11n networks. > ok sthen@ (stsp@) ~ if_iwm.c > For the keep-alive period in iwm's power command, use the DTIM period > specified by the AP, rather than the default DTIM period of our wireless > stack (which is not applicable when running as a client anyway). > And tell the firmware to disable power-saving. > ok sthen@ (stsp@) ~ if_iwm.c > Make iwm return EBUSY from its ic_ampdu_rx_start() handler and > call the functions provided by the wireless stack to accept or > refuse BA agreements depending on the status returned by firmware. > ok sthen@ (stsp@) ~ if_iwm.c ~ if_iwmvar.h > Properly support the mac context command in iwm. This was wrong in many > ways. > This commit includes style fixes as well as actual bug fixes. > Remove the global in_assoc flag from the softc. We can just pass a fixed > argument to functions to indicate whether we're already associated. > Remove in_tfsid from the softc as well. It was implicitly set to zero > and never changed. A corresponding macro already exists so use it instead. > Always copy the BSSID into the mac context command, as the Linux driver > does. > This helps the firmware during association. > Set the firmware state to 'associated' once we've moved to RUN state > and our assoc ID is known. Earlier versions of iwm used to set the > firmware to 'associated' but this was disabled in r1.91 since it > didn't work correctly due to bugs which are now fixed. > Use live DTIM information obtained from the AP, rather than using the > default DTIM period of our wireless stack. > Check return values of functions called after moving to RUN state. > ok sthen@ (stsp@) ~ if_iwm.c > Make iwm protect the session during association more like Linux does it. > ok sthen@ (stsp@) ~ if_iwm.c > Always set the bit which allows RTS in iwm's LQ command. > This bit was only set in 11n mode previously. > ok sthen@ (stsp@) dev/pv ~ pvbus.c > If not set, set hw_vendor to the name of the first pvbus. > This sets hw.vendor to "OpenBSD" if running on vmm(4) because it > doesn't provide an SMBIOS. > OK mikeb@ (reyk@) dev/usb ~ xhci.c > Remove a hack now that the USB stack correctly set the maximum packet > size based on the device speed. > Tested by and ok jsg@, mlarkin@ (mpi@) ~ usbdevs > SierraWireless MC7455 > from Yannick Gravel, ok phessler@ (mpi@) ~ usbdevs.h ~ usbdevs_data.h > regen (mpi@) ~ umsm.c > SierraWireless MC7455. > From Yannick Gravel, ok phessler@ (mpi@) kern ~ kern_sysctl.c > sysctl KERN_ARND is no longer used (in ports, it only occurs in fallback > paths of libevent). This interface was the first generation of what > eventually became getentropy(2) and arc4random(3) -- june 1997! > Ports scan by sthen, general agreement guenther (deraadt@) net ~ if_mpe.c ~ if_mpw.c ~ if_pfsync.c > Remove recursive splsoftnet() calls, from David Hill. (mpi@) net80211 ~ ieee80211_input.c ~ ieee80211_node.h ~ ieee80211_proto.h > When processing an ADDBA request, iwm(4) runs a task which sends a > command to the firmware and waits for confirmation. This command can > fail and there was no way we could recover from such an error. > Allow drivers to return EBUSY from their ic_ampdu_rx_start() handler to > tell the stack not to send a confirmation just yet. The stack provides > functions which the driver can call to accept or refuse the request. > There is no functional change yet. This just shuffles code around so > drivers may insert themselves into the process. > ok mpi@ (stsp@) nfs ~ nfs_serv.c > Fix nfsrv_symlink() indentation. No binary change. > ok mpi@ deraadt@ (jsg@) sys ~ rwlock.h > Sprinkle some #ifdef _KERNEL, autumn is here. > ok dlg@ (mpi@) ~ rwlock.h > straighten the chairs (dlg@) ~ sysctl.h > sysctl KERN_ARND is no longer used (in ports, it only occurs in fallback > paths of libevent). This interface was the first generation of what > eventually became getentropy(2) and arc4random(3) -- june 1997! > Ports scan by sthen, general agreement guenther (deraadt@) == usr.bin =========================================================== 08/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin gprof ~ gprof.1 > fix the signposting for -EeFf by partially rewriting the descriptions; > diff from guenther, tweaked by me; > ok guenther (jmc@) ssh ~ auth2-pubkey.c ~ sshd_config.5 > add a way for principals command to get see key ID and serial too (djm@) ~ match.c ~ addrmatch.c > Revert two recent changes to negated address matching. The new > behaviour offers unintuitive surprises. We'll find a better way > to deal with single negated matches. > match.c 1.31: > > fix matching for pattern lists that contain a single negated match, > > e.g. "Host !example" > > > > report and patch from Robin Becker. bz#1918 ok dtucker@ > addrmatch.c 1.11: > > fix negated address matching where the address list consists of a > > single negated match, e.g. "Match addr !192.20.0.1" > > > > Report and patch from Jakub Jelen. bz#2397 ok dtucker@ (djm@) ~ auth2-pubkey.c > cast uint64_t for printf (djm@) ~ kex.c > correctly return errors from kex_send_ext_info(). Fix from Sami Farin > via https://github.com/openssh/openssh-portable/pull/50 (djm@) yacc ~ output.c > Fix bad indentation. One already existed in 1.20, one introduced in 1.21; > ok tedu@ (otto@) == usr.sbin ========================================================== 09/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin npppd ~ common/radish.h > Remove the use of cast. It is unnecessary and potentially problematic. > input semarie > ok deraadt (yasuoka@) rtadvd ~ rtadvd.c > Use the correct local variable to get address & prefixlen in routing > messages > This currently has no effect because route sockets are datagram > (PR_ATOMIC) sockets, so we only get one message at a time. This means > that the parsing code could be simplified. route(4) sockets cluebat > from claudio@ (jca@) ~ rtadvd.c > Use a properly aligned buffer (malloc'd, not on stack) to get routing > messages. > This fixes rtadvd on (at least) armv7. Problem reported and fix tested > by Martin Brandenburg. (jca@) syslogd ~ syslogd.8 ~ syslogd.c > Add an option to give syslogd a server CA that is used to validate > client certificates. This prevent that malicious clients can send > fake messages. > OK deraadt@ (bluhm@) ~ syslogd.8 > tweak previous; (jmc@) =============================================================================== _______________________________________________ odc mailing list odc@squish.net http://www.squish.net/mailman/listinfo/odc