OpenBSD src changes summary for 2016-06-19 to 2016-06-26 inclusive ==================================================================
bin/pax distrib/notes distrib/sets etc/etc.amd64/login.conf etc/etc.i386/login.conf etc/etc.macppc/login.conf etc/etc.sparc64/login.conf gnu/usr.bin/binutils-2.17 lib/libc lib/libssl libexec/ld.so regress/usr.sbin sbin/disklabel sbin/fdisk sbin/iked sbin/ipsecctl sbin/mount sbin/pfctl share/man sys/arch/amd64/amd64 sys/arch/amd64/conf sys/arch/amd64/include sys/arch/armv7/conf sys/arch/armv7/imx sys/arch/armv7/omap sys/arch/armv7/stand/efiboot sys/arch/i386/i386 sys/arch/i386/include sys/arch/m88k/include sys/arch/m88k/m88k sys/arch/macppc/dev sys/arch/octeon/dev sys/arch/octeon/include sys/arch/sparc/include sys/arch/sparc/sparc sys/dev sys/dev/i2c sys/dev/pci sys/dev/pv sys/dev/usb sys/isofs/cd9660 sys/isofs/udf sys/kern sys/miscfs/fuse sys/msdosfs sys/net sys/netinet sys/ntfs sys/sys sys/tmpfs sys/ufs/ext2fs sys/ufs/ffs sys/ufs/ufs usr.bin/audioctl usr.bin/doas usr.bin/openssl usr.bin/ssh usr.sbin/bgpd usr.sbin/dvmrpd usr.sbin/eigrpd usr.sbin/hostapd usr.sbin/httpd usr.sbin/ifstated usr.sbin/iscsictl usr.sbin/ldapd usr.sbin/ldpd usr.sbin/nsd usr.sbin/ospf6d usr.sbin/ospfd usr.sbin/pkg_add usr.sbin/pppd usr.sbin/rcctl usr.sbin/relayd usr.sbin/ripd usr.sbin/smtpd usr.sbin/snmpd usr.sbin/unbound usr.sbin/vmd usr.sbin/ypldap == bin =============================================================== 01/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin pax ~ pax.c > allow creation of devices or fifo without -p (as it is already allowed with > -p) > diff from trondd at kagu-tsuchi com, enhanced by me for reordering promises > ok deraadt@ (semarie@) == distrib =========================================================== 02/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib notes ~ armv7/hardware > Don't list cubieboard2, pmap can't handle allwinner a20. (jsg@) sets ~ lists/comp/mi > sync (jsg@) ~ lists/comp/mi > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armish ~ 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.sparc ~ lists/base/md.sparc64 ~ lists/base/md.zaurus ~ lists/comp/mi > sync (deraadt@) == etc =============================================================== 03/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc etc.amd64/login.conf ~ etc.amd64/login.conf > upgrade selected login.conf to use auto rounds for bcrypt. the installer > already does this, so we don't want to go backwards on password changes. > ok krw (tedu@) etc.i386/login.conf ~ etc.i386/login.conf > upgrade selected login.conf to use auto rounds for bcrypt. the installer > already does this, so we don't want to go backwards on password changes. > ok krw (tedu@) etc.macppc/login.conf ~ etc.macppc/login.conf > upgrade selected login.conf to use auto rounds for bcrypt. the installer > already does this, so we don't want to go backwards on password changes. > ok krw (tedu@) etc.sparc64/login.conf ~ etc.sparc64/login.conf > upgrade selected login.conf to use auto rounds for bcrypt. the installer > already does this, so we don't want to go backwards on password changes. > ok krw (tedu@) == gnu =============================================================== 04/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu usr.bin/binutils-2.17 ~ bfd/doc/bfdio.texi ~ bfd/doc/bfdt.texi > Update docs to match our local time_t changes (guenther@) ~ binutils/readelf.c ~ include/elf/common.h > At least display the DT_GNU_HASH tag nicely > ok kettenis@ (guenther@) ~ bfd/elflink.c ~ include/bfdlink.h ~ ld/ld.texinfo ~ ld/ldmain.c ~ ld/emultempl/elf32.em > Make creation of text-relocations a fatal error by default, with -znotext > to permit it and -ztext to reenable the default of forbidding it. > ok kettenis@ (guenther@) ~ bfd/elflink.c > Don't make the DT_TEXTREL warning fatal. Hopefully this will be temporary, > but we first have to make sure that our tree is clean. > ok deraadt@ (kettenis@) ~ bfd/elfxx-sparc.c > Use SYMBOL_CALLS_LOCAL() to determine whether we can drop relocations for a > symbol such that hidden symbols get handled properly. Gets rid of the > spurious DT_TEXTREL entries seen with (typically) C++ code. > ok deraadt@, guenther@ (kettenis@) == lib =============================================================== 05/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ crypt/bcrypt.c > increase the minimum for auto rounds to 6. that was the previous low bound > for login.conf, and we don't want to go lower. (tedu@) libssl ~ src/crypto/dsa/dsa.h ~ src/crypto/dsa/dsa_key.c ~ src/crypto/dsa/dsa_ossl.c > Disable DSA_FLAG_NO_EXP_CONSTTIME, always enable constant-time behavior. > Improved patch from Cesar Pereida. See > https://github.com/libressl-portable/openbsd/pull/61 for more details. > ok beck@ (bcook@) ~ src/crypto/ocsp/ocsp_cl.c > Fix the ocsp code to actually check for errors when comparing time values > which was not being done due to a lack of checking of the return code for > X509_cmp_time. Ensure that we only compare GERNERALIZEDTIME values because > this is what is specified by RFC6960. > Issue reported, and fix provided by Kazuki Yamaguchi <[email protected]> > ok bcook@ (beck@) ~ src/crypto/ocsp/ocsp_srv.c > Fix from [email protected] to ensure that OCSP uses > Generalized Time on requests as per RFC6960 (beck@) ~ src/crypto/ocsp/ocsp_cl.c ~ src/crypto/ocsp/ocsp_srv.c TAGGED OPENBSD_5_8 > Fix several issues in the OCSP code that could result in the incorrect > generation and parsing of OCSP requests. This remediates a lack of error > checking on time parsing in these functions, and ensures that only > GENERALIZEDTIME formats are accepted for OCSP, as per RFC 6960 > Issues reported, and fixes provided by Kazuki Yamaguchi <[email protected]> > and Kinichiro Inoguchi <[email protected]> (beck@) ~ src/crypto/ocsp/ocsp_cl.c ~ src/crypto/ocsp/ocsp_srv.c TAGGED OPENBSD_5_9 > Fix several issues in the OCSP code that could result in the incorrect > generation and parsing of OCSP requests. This remediates a lack of error > checking on time parsing in these functions, and ensures that only > GENERALIZEDTIME formats are accepted for OCSP, as per RFC 6960 > Issues reported, and fixes provided by Kazuki Yamaguchi <[email protected]> > and Kinichiro Inoguchi <[email protected]> (beck@) == libexec =========================================================== 06/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ hppa/rtld_machine.c > Handle textrels like other architectures do. > ok kettenis guenther (deraadt@) ~ alpha/rtld_machine.c ~ amd64/rtld_machine.c ~ arm/rtld_machine.c ~ m88k/rtld_machine.c ~ powerpc/rtld_machine.c ~ sh/rtld_machine.c ~ sparc/rtld_machine.c ~ sparc64/rtld_machine.c > When handling DT_TEXTREL only set the mapping to READ+WRITE, ignore > possible EXEC permission for the section, because the proper permission > is set late, and there are no thread concerns here. Avoids W^X issues > in oddball cases. > ok guenther kettenis (deraadt@) == regress =========================================================== 07/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress usr.sbin ~ syslogd/Syslogd.pm ~ syslogd/args-ttymsg-delay.pl > Syslogd can send messages to a user, test what happens if the > terminal is blocking to receive messages. Stop the fake user > terminal and look for a delayed write debug message from syslogd. > This makes the test more reliable. (bluhm@) == sbin ============================================================== 08/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin disklabel ~ disklabel.c ~ extern.h > Split readlabel() into two functions, readlabel() and parselabel(), and > pledge in-between the two funtion calls. The new readlabel() only does > a DIOC*DINFO ioctl, making sure the fd points to a disk, while > parselabel() does the scary string manipulations. In the makelabel() > code path do an early DIOCGDINFO before pledge. This fixes yet another > pledge problem (disklabel -w /dev/tty floppy576). > Some of this was discussed with beck. > ok semarie, earlier version ok deraadt (tb@) fdisk ~ fdisk.c > Move pledge after opendev and DIOCGPDINFO. Fixes e.g. fdisk /dev/tty. > This diff by deraadt was overlooked far too many times, mostly by me. > It's the original fix of the pledge disklabel breakage found by espie. > diff by deraadt; ok semarie, tb. (tb@) iked ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) ipsecctl ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) mount ~ mount.8 > a little nicer formatting; from miod (jmc@) ~ mount.c > Add a bit more verbosity to tmpfs mount(8) output. > ok millert@ > feedback/ok natano@ (ajacoutot@) ~ mount.c > somebody forgot to look at format string warnings (tedu@) pfctl ~ parse.y > the manpage documents that af-to does not work on pass out rules, but > the pf.conf parser allows it, which leads a non working configuration > being loaded. > this changes the parser to make pass out .. af-to an error. > ok henning@ mikeb@ (benno@) ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) ~ parse.y > Add curly braces that were missed in rev 1.651. Add parenthesis to make > the > condition in the if statement more readable while I'm there. > ok phessler@, benno@, florian@ (kettenis@) == share ============================================================= 09/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man - man9/lock.9 ~ man9/Makefile ~ man9/VOP_LOOKUP.9 ~ man9/mutex.9 ~ man9/rwlock.9 ~ man9/vnsubr.9 > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) ~ man9/vnsubr.9 > no more lock(9); (jmc@) ~ man9/ktrace.9 > KTRPOINT() takes a KTR_* value, not a KTRFAC_* value. > problem noted and based on diff by Michal Mazurek (akfaew (at) > jasminek.net) > ok jmc@ (guenther@) ~ man4/umb.4 > Tweak umb(4) man page, mostly for brevity. > ok gerhard (stsp@) ~ man4/umb.4 > Add Medion Mobile S4222 > Remove deprecated Tn at the same time. > OK jmc@ (feinerer@) ~ man4/man4.armv7/omdog.4 > Dynamically attach omdog(4) using the FDT. (jsg@) ~ man4/man4.armv7/cpsw.4 > Dynamically attach cpsw(4) with the FDT. (jsg@) ~ man4/man4.armv7/imx.4 ~ man4/man4.armv7/omap.4 ~ man4/man4.armv7/sunxi.4 > remove devices from soc abstraction device lists that now attach to fdt > (jsg@) ~ man4/man4.armv7/sxie.4 > sxie(4) is only for integrated 'EMAC' 10/100 Ethernet. Make this a bit > more obvious. The Gigabit 'GMAC' controller used by some A20 systems > is not supported. (jsg@) ~ man8/release.8 > Document how to create full boot and installation images containing > release tarballs and ports, suitable for installs without network. > Idea and patch from Bryan Everly, thanks! > With input from deraadt, jmc and myself. > ok jmc (tb@) == sys =============================================================== 10/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ efifb.c ~ mainbus.c ~ wscons_machdep.c > add support to efifb for drawing a console on a coreboot framebuffer > if coreboot's memory table is found, it has a framebuffer entry, and > there is no previously attached efi, vga, or serial console. > useful on chromebooks that have no legacy vga device to get an early > console before inteldrm(4) attaches or, for newer chipsets, a full > console and X with wsfb(4). > ok kettenis (jcs@) ~ intr.c ~ lapic.c ~ locore.S ~ vector.S > Setup Hyper-V hypercall page and an IDT vector. > ok mlarkin, kettenis, deraadt (mikeb@) ~ identcpu.c > Identify UMIP feature, if available. > ok millert, kettenis, deraadt (mlarkin@) arch/amd64/conf ~ GENERIC > Main Hyper-V nexus driver, work in progress. > ok mlarkin, deraadt (mikeb@) arch/amd64/include ~ efifbvar.h > add support to efifb for drawing a console on a coreboot framebuffer > if coreboot's memory table is found, it has a framebuffer entry, and > there is no previously attached efi, vga, or serial console. > useful on chromebooks that have no legacy vga device to get an early > console before inteldrm(4) attaches or, for newer chipsets, a full > console and X with wsfb(4). > ok kettenis (jcs@) ~ i82489var.h ~ intrdefs.h > Setup Hyper-V hypercall page and an IDT vector. > ok mlarkin, kettenis, deraadt (mikeb@) ~ specialreg.h > Identify UMIP feature, if available. > ok millert, kettenis, deraadt (mlarkin@) arch/armv7/conf ~ GENERIC ~ RAMDISK > dynamically attach omap uart with fdt (jsg@) ~ GENERIC ~ RAMDISK > Dynamically attach omdog(4) using the FDT. (jsg@) ~ GENERIC ~ RAMDISK > Dynamically attach tiiic using the FDT. > Only match on omap4 compatible controllers such as the one in the > am335x on bbb. omap3 has different register offsets and a different > compatible string. > This reuses kettenis' fdt i2c scan function from imxiic(4). (jsg@) ~ GENERIC ~ RAMDISK > Dynamically attach cpsw(4) with the FDT. (jsg@) arch/armv7/imx ~ if_fec.c > Fetch MAC address from FDT. > ok jsg@, patrick@ (kettenis@) arch/armv7/omap ~ files.omap ~ omap.c ~ omap_com.c > dynamically attach omap uart with fdt (jsg@) ~ omap_com.c > omap4 uart is compatible with omap3 uart but has it's own compatible string > (jsg@) ~ files.omap ~ omap.c ~ omdog.c > Dynamically attach omdog(4) using the FDT. (jsg@) ~ ti_iic.c > destatic (jsg@) ~ ti_iic.c > add a missing argument specified in format string so this builds again > (jsg@) ~ files.omap ~ omap.c ~ ti_iic.c > Dynamically attach tiiic using the FDT. > Only match on omap4 compatible controllers such as the one in the > am335x on bbb. omap3 has different register offsets and a different > compatible string. > This reuses kettenis' fdt i2c scan function from imxiic(4). (jsg@) ~ files.omap ~ if_cpsw.c ~ omap.c > Dynamically attach cpsw(4) with the FDT. (jsg@) arch/armv7/stand/efiboot ~ exec.c > Remove code to generate uboot tags. It hardcoded information for a single > board and a device tree is required by our kernel now. > ok patrick@, jsg@ (kettenis@) arch/i386/i386 ~ machdep.c > Identify UMIP feature, if available. > ok millert, kettenis, deraadt (mlarkin@) arch/i386/include ~ specialreg.h > Identify UMIP feature, if available. > ok millert, kettenis, deraadt (mlarkin@) arch/m88k/include ~ signal.h > Add sc_cookie in sigcontext, as same as other ports. > From Miod Vallat, tested by him and me. > ok deraadt@ (aoyama@) arch/m88k/m88k ~ sig_machdep.c ~ subr.S > Add sc_cookie in sigcontext, as same as other ports. > From Miod Vallat, tested by him and me. > ok deraadt@ (aoyama@) arch/macppc/dev ~ i2s.c > Make i2s compile with I2S_DEBUG; %x -> %p. (mglocker@) ~ i2s.c > Oups, remove '#define I2S_DEBUG' again. (mglocker@) arch/octeon/dev ~ cn30xxgmx.c ~ cn30xxgmxreg.h ~ cn30xxipd.c ~ if_cnmac.c ~ octeon_iobus.c > Add support for the second GMX interface on Octeon II. This enables > ports eth[0-3] on 8-port EdgeRouters. Currently, port eth0 maps to > network interface cnmac4, eth1 to cnmac5 etc. > ok dlg@, tested by martijn@ (visa@) arch/octeon/include ~ octeonvar.h > Add support for the second GMX interface on Octeon II. This enables > ports eth[0-3] on 8-port EdgeRouters. Currently, port eth0 maps to > network interface cnmac4, eth1 to cnmac5 etc. > ok dlg@, tested by martijn@ (visa@) arch/sparc/include ~ psl.h > rework the splfoo implementation so it can provide splraise. > sparc was like sparc64 (or more likely sparc64 was like sparc) in > that the spl api was build with macros that created inline functions > that the spl were implemented as. this rework provides an splraise > that the splfoo macros are defined to. > because the code sequences for spl0, splraise, and splx are relatively > long, ive turned them into functions. > tested by (and thanks go to) miod@ tobiasu@ (dlg@) arch/sparc/sparc ~ intr.c > rework the splfoo implementation so it can provide splraise. > sparc was like sparc64 (or more likely sparc64 was like sparc) in > that the spl api was build with macros that created inline functions > that the spl were implemented as. this rework provides an splraise > that the splfoo macros are defined to. > because the code sequences for spl0, splraise, and splx are relatively > long, ive turned them into functions. > tested by (and thanks go to) miod@ tobiasu@ (dlg@) ~ intr.c > dont need a traliing \ on a line in c code, it's not a macro definition. > from patrick keshishian (dlg@) dev ~ audio.c > fix typos in comments and spacing (ratchov@) dev/i2c ~ files.i2c + ds1307.c > I2C driver for the Maxim DS1307 Real Time Clock chip. > The chip has been found on a Sun Fire V210 as a second RTC hooked up > to the SMU. Setting the time there has the advantage that it remains > after a boot since the internal V210 RTC will be synced by the DS1307 > at boot time. > Not linked to sparc64 yet since it will overwrite the internal RTC > handler. > ok deraadt (mglocker@) dev/pci ~ if_iwm.c > Make some noise in dmesg when iwm(4) fails to bring up the hardware. > ok tb@ earlier version (stsp@) ~ if_iwm.c > In iwm(4), send PHY DB commands as async commands. > This means we won't sleep and wait for the firmware to send an interrupt > when it's done processing the command. For unknown reasons, sometimes the > firmware never wakes the driver after a phy db command so the driver gives > up partway through the hardware init sequence. > We already have a DELAY in place after each phy db command we send to give > the firmware some time for processing, so skipping the sleep is not > expected > to cause problems. If it does, we'll have to revisit this change. > For now, this change makes iwm(4) work better in bsd.rd. > Problem reported by Remi Locherer on bugs@, and confirmed by kettenis@. > Lots of help with testing and ok tb@ (stsp@) ~ if_iwm.c > Make iwm(4) explicitly send multicast frames at the lowest rate, instead of > picking a rate from the firmware RS table. This matches what other drivers > do. > Also, pass the correct Tx rate to BPF (tcpdump) for 5GHz, and don't loop > over > CCK rates when building the Link-Quality command's RS table for 5GHz. > tested by myself and jcs@ (stsp@) ~ if_iwm.c > Remove code from iwm(4) which sends DTIM and TSF information to the > firmware based on information from the wireless stack. Letting the > firmware deal with these details by itself seems to work better. > Fixes association issues with 8260 hardware for me and Bryan Vyhmeister. > Also tested by jcs@. (stsp@) ~ if_iwm.c > In iwm(4), clear the in_assoc flag when going down. This flag affects > behaviour > early during startup, e.g. where the BSSID for the MAC context is copied > from. > Pointed out by Imre Vadasz. (stsp@) dev/pv ~ files.pv + hyperv.c + hypervreg.h + hypervvar.h > Main Hyper-V nexus driver, work in progress. > ok mlarkin, deraadt (mikeb@) dev/usb ~ usb.h > Add define for NCM. > ok gerhard@ (kettenis@) ~ if_umb.c > Rework how umb(4) attaches such that it also works with devices that > implement > both NCM 1.0 and MBIM. > ok gerhard@ (kettenis@) ~ if_umb.c > Make umb(4) less verbose by default. 'ifconfig umb0 debug' enables verbose > mode. > ok mpi deraadt gerhard (stsp@) isofs/cd9660 ~ cd9660_node.c ~ cd9660_node.h ~ cd9660_vfsops.c ~ cd9660_vnops.c > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) isofs/udf ~ udf.h ~ udf_vfsops.c ~ udf_vnops.c > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) kern ~ kern_lock.c ~ vfs_subr.c ~ vfs_vnops.c > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) ~ subr_log.c > It is annoying that the dmesg buffer can overflow and loose messages > undetected during debugging. To make clear what happens, count the > dropped bytes and write message buffer full to syslogd. This also > helps to have a reliable log system. > OK deraadt@ millert@ tedu@ (bluhm@) ~ subr_log.c > As klog dropped message has no ifdef small kernel, sendsyslog > should not have it either. While there bring some variables in > sync between both functions. > OK deraadt@ (bluhm@) ~ kern_timeout.c > Avoid multiple evaluation of macro arguments in softclock() > ok mikeb@ tedu@ (stefan@) ~ vfs_syscalls.c > use error code path instead of return early without calling VOP_ABORTOP() > and > vrele()/vput(). > ok deraadt@ (semarie@) miscfs/fuse ~ fuse_vfsops.c ~ fuse_vnops.c > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) msdosfs ~ denode.h ~ msdosfs_denode.c ~ msdosfs_vnops.c > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) net ~ pf.c > To assist debugging TCP connection reuse with NAT, expand the > existing log in pf_state_key_attach() from the failed to the reuse > case. > OK mikeb@ (bluhm@) ~ art.c ~ rtable.c > rework art_walk so it will behave in an mpsafe world. > art_walk now explicitly takes the same lock used to serialise change > made via rtable_insert and _delete, so it can safely adjust the > refcnts on tables while it recurses into them. they need to still > exist when returning out of the recursion. > it uses srps to access nodes and drops the lock before calling the > callback function. this is because some callbacks sleep (eg, copyout > in the sysctl code that dumps an rtable to userland), which you > shouldnt hold a lock accross. other callbacks attempt to modify > the rtable (eg, marking routes as down when then interface theyre > on goes down), which tries to take the lock again, which probably > wont work in the future. > ok jmatthew@ mpi@ (dlg@) ~ if_ppp.c > No modules thus no need for extra space for additional ppp compressions. > ok deraadt@ mikeb@ (jca@) ~ pf_lb.c > The function pf_get_sport() did work for out rules only. Make it > aware of the direction of the packet. Now nat-to can be used by > in rules and together with divert-to. Collisions with existing > states are found and produce a "NAT proxy port allocation failed" > message. > OK henning@ mikeb@ (bluhm@) netinet ~ ip_output.c > when pf_test returns something but PF_PASS, set error to EACCES > instead of EHOSTUNREACH. On the latter, ip_forward can generate undesired > icmp errors - either pf generates those itself (block return), or there > shouldn't be any. > Bizarrely enough, ip_forward has EACCES handling with a comment > specifically > pointing to packets blocked by pf, but the code in ip_output used > EHOSTUNREACH > from day #1 on. > found & analyzed by Kristof Provost <kp at FreeBSD>, discussed at BSDcan > ok mpi millert (henning@) ntfs ~ ntfs_vfsops.c > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) sys ~ lock.h > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) ~ msgbuf.h > It is annoying that the dmesg buffer can overflow and loose messages > undetected during debugging. To make clear what happens, count the > dropped bytes and write message buffer full to syslogd. This also > helps to have a reliable log system. > OK deraadt@ millert@ tedu@ (bluhm@) tmpfs ~ tmpfs.h ~ tmpfs_subr.c ~ tmpfs_vnops.c > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) ufs/ext2fs ~ ext2fs_vfsops.c > add pool_setipl on all pools. > ok tedu@ visa@ (dlg@) ~ ext2fs_vfsops.c > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) ufs/ffs ~ ffs_softdep.c ~ ffs_vfsops.c > add pool_setipl on all pools. > ok tedu@ visa@ (dlg@) ~ ffs_vfsops.c > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) ufs/ufs ~ ufs_dirhash.c > add pool_setipl on all pools. > ok tedu@ visa@ (dlg@) ~ inode.h ~ ufs_ihash.c ~ ufs_vnops.c > Remove the lockmgr() API. It is only used by filesystems, where it is a > trivial change to use rrw locks instead. All it needs is LK_* defines > for the RW_* flags. > tested by naddy and sthen on package building infrastructure > input and ok jmc mpi tedu (natano@) == usr.bin =========================================================== 11/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin audioctl ~ audioctl.c > Reimplement audioctl using new api in a simper way. > - group all encoding parameters in a signle string, ex. "s16le", > this way we use the same naming scheme as aucat, sndiod and many > ports. > - remove "properties" as they are not used any longer > - remove the list of encodings as there's no benefit in having it. > We don't have lists for other parameters (sample rates, channel > numbers) either. > - add -q option, to look like sysctl > - remove unused -a option > - stop using symlinks in /dev, most other software doesn't use > them. > ok semarie@ (ratchov@) ~ audioctl.1 > Update manual to "new" audioctl: > - stress that its purpose is to set and get variables, it isn't > a configuration tool (there's nothing to configure anymore) > - document all audio driver variables > - document the difference between /dev/audioctl0 and /dev/audio0 > - give an example of how to test hardware capabilities with > audioctl > ok semarie@, with help from jmc@, fix from Michael W. Bombardieri > (ratchov@) ~ audioctl.1 > some formatting and comma tweaks; ok ratchov (jmc@) ~ audioctl.c > Make usage string match the man page. > suggested by jmc@ (ratchov@) ~ audioctl.c > use the same argument name for -f in usage() as in SYNOPSIS; (jmc@) doas ~ doas.c ~ doas.h ~ env.c > Move the RB_ code from doas.h to env.c, and limit the environment interface > to a > simple prepenv function. > OK tedu@ (martijn@) ~ doas.c > move a space to the correct spot (tedu@) openssl ~ s_client.c > Fix a bug loading the default certificate path locations. > The files would only be loaded if the CAfile or CApath locations were > succesfully loaded first. Original patch from OpenSSL: > https://github.com/openssl/openssl/commit/fe9b85c3cb79f1e29e61f01de105b34ce > 8177190 > ok beck@ (bcook@) ssh ~ sshkey.c > revert 1.34; causes problems loading public keys > reported by semarie@ (djm@) ~ servconf.c > fix AuthenticationMethods during configuration re-parse; > reported by Juan Francisco Cantero Hurtado (djm@) == usr.sbin ========================================================== 12/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin bgpd ~ bgpd.c > change the "nexthop 1.2.3.4 now valid: via 192.168.0.1" message to > log_debug() > ok deraadt@ florian@ stsp@ phessler@ (benno@) ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) dvmrpd ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) eigrpd ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) hostapd ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) httpd ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) ifstated ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) iscsictl ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) ldapd ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) ldpd ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) nsd ~ Makefile.in ~ acx_nlnetlabs.m4 ~ answer.c ~ axfr.c ~ configlexer.lex ~ configparser.y ~ configure.ac ~ dbaccess.c ~ dbcreate.c ~ difffile.c ~ dns.c ~ dns.h ~ namedb.c ~ namedb.h ~ nsd-checkconf.8.in ~ nsd-checkconf.c ~ nsd-checkzone.8.in ~ nsd-control.8.in ~ nsd.8.in ~ nsd.c ~ nsd.conf.5.in ~ nsd.conf.sample.in ~ nsd.h ~ nsec3.c ~ options.c ~ options.h ~ query.c ~ rrl.c ~ server.c ~ tsig-openssl.c ~ udb.h ~ udbzone.c ~ udbzone.h ~ util.c ~ util.h ~ xfrd-tcp.c ~ xfrd.c ~ zparser.y > Update to 4.1.10 > Testing by millert@, sthen@ and me. > came up with the same diff & OK sthen@ (florian@) ~ config.h.in ~ configure > regen (florian@) ospf6d ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) ospfd ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) pkg_add ~ OpenBSD/PkgCreate.pm ~ OpenBSD/Subst.pm > pass file name thru to Subst for better error messages. > reported by Adam Wolk (espie@) ~ OpenBSD/PkgInfo.pm > have a consistent exit code when looking for stuff (espie@) ~ OpenBSD/State.pm > add fh variation of printing code. Systematically use it with STDOUT/STDERR > for classical functions. (espie@) ~ OpenBSD/AddCreateDelete.pm ~ OpenBSD/ProgressMeter.pm ~ OpenBSD/State.pm ~ OpenBSD/ProgressMeter/Term.pm > there's no reason for window size computation to be linked to the > ProgressMeter, so make it available from state. > - computation is lazy, so no runtime difference; > - don't bother setting a SIG{WINCH} on non-tty; > - progressmeter already has access to state; > - do an empty window_size_changed in base state, override it for > addcreatedelete to inform the progressmeter. > to be reused in dpb... (espie@) ~ OpenBSD/AddCreateDelete.pm ~ OpenBSD/State.pm ~ OpenBSD/ProgressMeter/Term.pm > simplify the logic. no need for a separate hook when we can just specialize > find_window_size. > fix a bug: integrate SIG{CONT} for re-checking window size. > the way it's currently written, first call to compute_playfield will > call itself once. But it makes for less code. (espie@) ~ OpenBSD/Interactive.pm > make use of former changes. If list is higher than display go thru more. > (espie@) ~ OpenBSD/PackingElement.pm ~ OpenBSD/PackingList.pm > recognize @option is-branch > so that it trickles to snapshots and then can be used in ports (espie@) pppd ~ auth.c > use crypt_checkpass to simplify password checking logic. (tedu@) rcctl ~ rcctl.sh > grep(1) /etc/rc.conf instead of /etc/rc to detect whether a particular > rc.d script comes from base of not; it's much faster. > ok robert@ (ajacoutot@) ~ rcctl.sh > Cache result of often used functions (svc_is_{base,meta,special}). > Large speedup when iterating over all rc.d scripts. > with and ok robert@ (ajacoutot@) ~ rcctl.8 ~ rcctl.sh > Implement rcctl get|getdef all. > With this and the previous 2 commits, we can move from constructs like: > $ for i in $(rcctl ls all); do rcctl get $i; done > to just: > $ rcctl get all > Shrinking the run by a factor of more than 3.5. > prodded by and discussed with reyk@ at BSDcan2016 > ok robert@ (ajacoutot@) ~ rcctl.sh > Temporarily turn caching off; there's a small regression when enabling > multiple daemons at once; being worked on. (ajacoutot@) ~ rcctl.sh > Do caching differently. (ajacoutot@) ~ rcctl.sh > Replace some expensive evals. (ajacoutot@) relayd ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) ripd ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) smtpd ~ smtpd.c > with new fork+reexec, in case of failure in init of any child process > causing it to exit, we could end up with a NULL deref in parent. > free commit offered by eric@, ok gilles@ (gilles@) ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) ~ smtp_session.c > move transaction-specific states from struct smtp_session to struct smtp_tx > ok gilles@ (eric@) snmpd ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) unbound ~ Makefile.in ~ acx_nlnetlabs.m4 ~ config.h.in ~ configure ~ configure.ac ~ daemon/daemon.c ~ daemon/daemon.h ~ daemon/remote.c ~ daemon/unbound.c ~ daemon/worker.c ~ dns64/dns64.c ~ dnstap/dnstap.c ~ doc/Changelog ~ doc/README ~ doc/example.conf.in ~ doc/libunbound.3.in ~ doc/unbound-anchor.8.in ~ doc/unbound-checkconf.8.in ~ doc/unbound-control.8.in ~ doc/unbound-host.1.in ~ doc/unbound.8.in ~ doc/unbound.conf.5.in ~ iterator/iter_fwd.c ~ iterator/iter_hints.c ~ iterator/iter_utils.c ~ iterator/iter_utils.h ~ iterator/iterator.c ~ iterator/iterator.h ~ libunbound/context.h ~ libunbound/libunbound.c ~ libunbound/libworker.c ~ libunbound/libworker.h ~ libunbound/ubsyms.def ~ libunbound/unbound-event.h ~ libunbound/worker.h ~ services/listen_dnsport.c ~ services/listen_dnsport.h ~ services/localzone.c ~ services/localzone.h ~ services/mesh.c ~ services/modstack.c ~ services/outside_network.c ~ services/outside_network.h ~ services/cache/dns.c ~ sldns/keyraw.c ~ sldns/parseutil.c ~ sldns/rrdef.h ~ sldns/str2wire.c ~ sldns/wire2str.c ~ smallapp/unbound-checkconf.c ~ smallapp/unbound-control.c ~ smallapp/worker_cb.c ~ util/config_file.c ~ util/config_file.h ~ util/configlexer.lex ~ util/configparser.y ~ util/fptr_wlist.c ~ util/fptr_wlist.h ~ util/iana_ports.inc ~ util/module.h ~ util/net_help.c ~ util/netevent.c ~ util/netevent.h ~ util/tube.c ~ util/tube.h ~ util/data/dname.c ~ util/data/msgencode.c ~ util/data/msgparse.c ~ util/data/msgparse.h ~ util/data/msgreply.c ~ util/data/msgreply.h ~ validator/autotrust.c ~ validator/val_anchor.c ~ validator/val_secalgo.c ~ validator/val_secalgo.h + cachedb/cachedb.c + cachedb/cachedb.h + util/ub_event.c + util/ub_event.h + util/ub_event_pluggable.c > update to unbound-1.5.9. (there will be a follow-up commit to cherrypick a > couple of post-1.5.9 patches). > tests from Mark Patruck, danj, matthieu, millert. reads ok to jung, ok > florian. (sthen@) ~ daemon/unbound.c ~ doc/Changelog > backport r3781, fix segfault in -h (sthen@) ~ doc/Changelog ~ iterator/iterator.c ~ iterator/iterator.h > backport r3782, fixing qname-minimisation with various broken DNS servers, > often found at CDNs. > - Use QTYPE=A for QNAME minimisation. > - Keep track of number of time-outs when performing QNAME minimisation. > Stop minimising when number of time-outs for a QNAME/QTYPE pair is > more than three. (sthen@) vmd ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) ypldap ~ parse.y > do not allow whitespace in macro names, i.e. "this is" = "a variable". > change this in all config parsers in our tree that support macros. > problem reported by sven falempin. > feedback from henning@, stsp@, deraadt@ > ok florian@ mikeb@ (benno@) =============================================================================== _______________________________________________ owc mailing list [email protected] http://www.squish.net/mailman/listinfo/owc
