OpenBSD src changes summary for 2016-06-12 to 2016-06-19 inclusive
==================================================================

distrib/notes                           distrib/sets
gnu/usr.bin/binutils-2.17               lib/libc
libexec/ld.so                           regress/sys
sbin/disklabel                          sbin/ifconfig
sbin/mount                              sbin/pfctl
sbin/sysctl                             share/man
share/zoneinfo                          sys/arch/alpha/alpha
sys/arch/alpha/include                  sys/arch/amd64/conf
sys/arch/arm/simplebus                  sys/arch/armv7/armv7
sys/arch/armv7/conf                     sys/arch/armv7/imx
sys/arch/armv7/omap                     sys/arch/armv7/sunxi
sys/arch/i386/conf                      sys/arch/landisk/include
sys/arch/luna88k/cbus                   sys/arch/luna88k/luna88k
sys/arch/m88k/include                   sys/arch/m88k/m88k
sys/arch/octeon/dev                     sys/arch/sparc/sparc
sys/arch/sparc64/include                sys/arch/sparc64/sparc64
sys/conf                                sys/dev
sys/dev/acpi                            sys/dev/ic
sys/dev/ofw                             sys/dev/pci
sys/dev/usb                             sys/isofs/cd9660
sys/isofs/udf                           sys/kern
sys/miscfs/fuse                         sys/msdosfs
sys/net                                 sys/netinet
sys/netinet6                            sys/netmpls
sys/nfs                                 sys/ntfs
sys/sys                                 sys/tmpfs
sys/ufs/ext2fs                          sys/ufs/ffs
sys/ufs/ufs                             sys/uvm
usr.bin/doas                            usr.bin/file
usr.bin/ssh                             usr.bin/tmux
usr.sbin/ikectl                         usr.sbin/ldpd
usr.sbin/pkg_add                        usr.sbin/rcctl
usr.sbin/smtpd                          

== distrib =========================================================== 01/10 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib

notes

  ~ armv7/hardware                        

  > imxenet -> fec (jsg@)

  ~ armv7/hardware                        

  > ethernet -> Ethernet (jsg@)

sets

  ~ 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                         ~ lists/man/mi

  > sync (sthen@)

  ~ 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@)

== gnu =============================================================== 02/10 ==

  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@)

== lib =============================================================== 03/10 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib

libc

  ~ sys/getsockopt.2                      

  > On localhost a user program may create a socket splicing loop.
  > After writing data into this loop, it was spinning forever causing
  > a kernel hang.  Detect the loop by counting how often the same mbuf
  > is spliced.  If that happens 128 times, assume that there is a loop
  > and abort the splicing with ELOOP.
  > Bug found by tedu@;  OK tedu@ millert@ benno@ (bluhm@)

  ~ arch/m88k/SYS.h                       

  > PSEUDO_NOERROR() is used for syscalls that return now, so need to put
  > a nop in the slot skipped by the kernel on success (guenther@)

  ~ sys/ktrace.2                          

  > Document KTRFAC_{PLEDGE,EXEC{ARGS,ENV}} (guenther@)

  ~ sys/ktrace.2                          

  > Update column width decision (guenther@)

  ~ gen/sysctl.3                          

  > Add net.inet.{tcp,udp}.rootonly sysctl, to mark which ports
  > cannot be bound to by non-root users.
  > Ok millert@ bluhm@ (vgross@)

  ~ asr/asr.c                             

  > Remove duplicated line.
  > OK eric@ (reyk@)

  ~ gen/sysctl.3                          

  > sort previous; (jmc@)

== libexec =========================================================== 04/10 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec

ld.so

  ~ powerpc/rtld_machine.c                

  > Only need to sync the icache on the GOT for the old BSS PLT format
  > ok kettenis@ (guenther@)

  ~ mips64/rtld_machine.c                 

  > Make mips64 like all the others: only make mappings writable during
  > relocation
  > if DT_TEXTREL was set on the object.  If that's needed, only set the
  > mapping
  > to READ+WRITE to avoid W^X violation.
  > ok kettenis@ (guenther@)

== regress =========================================================== 05/10 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress

sys

  ~ kern/sosplice/error/args-udp-ENOTCONN.pl
  + kern/sosplice/error/args-ELOOP.pl     
  + kern/sosplice/error/args-udp-ELOOP.pl

  > Test that splicing loops are aborted with ELOOP. (bluhm@)

== sbin ============================================================== 06/10 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin

disklabel

  ~ disklabel.c                           

  > correct pledge for disklabel -R -[fF]
  > ok tb@ (jsg@)

  ~ 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@)

ifconfig

  ~ ifconfig.8                            

  > llprio now affects pppoe(4) control frames as well as arp(4) and bpf(4)
  > writes. (sthen@)

  ~ ifconfig.8                            ~ ifconfig.c

  > Add umb(4) - a driver for the Mobile Broadband Interface Model (MBIM)
  > The umb(4) driver provides support for USB MBIM devices.
  > Those devices establish connections via celluar networks such as
  > GPRS, UMTS, and LTE.
  > ok mpi@ sthen@
  > additional feedback from deraadt@ jmc@ stsp@ kettenis@ (gerhard@)

mount

  ~ mount.8                               

  > a little nicer formatting; from miod (jmc@)

pfctl

  ~ parse.y                               

  > allow include in inline anchors
  > with this,
  > anchor foo {
  > include "/path/to/rules"
  > }
  > works and "load anchor" is obsolete, to be removed somewhen later after
  > release.
  > co-production with reky at bsdcan, ok reyk mikeb benno sasha (henning@)

sysctl

  ~ sysctl.8                              ~ sysctl.c

  > Add net.inet.{tcp,udp}.rootonly sysctl, to mark which ports
  > cannot be bound to by non-root users.
  > Ok millert@ bluhm@ (vgross@)

== share ============================================================= 07/10 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share

man

  ~ man4/man4.armv7/fec.4                 

  > fec attaches to fdt now (jsg@)

  ~ man9/sosplice.9                       

  > On localhost a user program may create a socket splicing loop.
  > After writing data into this loop, it was spinning forever causing
  > a kernel hang.  Detect the loop by counting how often the same mbuf
  > is spliced.  If that happens 128 times, assume that there is a loop
  > and abort the splicing with ELOOP.
  > Bug found by tedu@;  OK tedu@ millert@ benno@ (bluhm@)

  ~ man9/timeout.9                        

  > Prevent a round to zero in the timeout_add_...() functions.  Getting
  > an immediate timeout if a positive value is specified is unexpected
  > behavior.  Defer calling the handler for at least one tick.  Do not
  > change that timeout_add(0) gives you an immediate timeout.
  > OK millert@ uebayasi@ tedu@ (bluhm@)

  ~ man9/ktrace.9                         

  > no more ktremul; from michal mazurek (jmc@)

  ~ man4/Makefile                         ~ man4/usb.4
  + man4/umb.4                            

  > Add umb(4) - a driver for the Mobile Broadband Interface Model (MBIM)
  > The umb(4) driver provides support for USB MBIM devices.
  > Those devices establish connections via celluar networks such as
  > GPRS, UMTS, and LTE.
  > ok mpi@ sthen@
  > additional feedback from deraadt@ jmc@ stsp@ kettenis@ (gerhard@)

  ~ man4/ral.4                            ~ man4/rum.4
  ~ man4/run.4                            ~ man4/ural.4

  > Remove links to www.ralinktech.com, which isn't in use anymore.
  > Add an extra reference to MediaTek who now owns Ralink as suggested by
  > sthen@.
  > OK jmc@ and stsp@ (martijn@)

  ~ man4/cardbus.4                        ~ man4/pci.4
  ~ man4/usb.4                            

  > Also add MediaTek to Ralink Technologies here.
  > Prodded by jmc@
  > OK jmc@, stsp@, and sthen@ (martijn@)

  ~ man9/Makefile                         + man9/usbd_ref_wait.9

  > Add man page for usbd_ref_incr(9), usbd_ref_decr(9), and usbd_ref_wait(9).
  > ok mpi (mglocker@)

  ~ man4/man4.armv7/ommmc.4               

  > Dynamically attach ommmc with fdt.  Offset the start of the memory region
  > by 0x100 for nodes compatible with "ti,omap4-hsmmc" to get the same
  > offsets as omap3.  Handle both the nintr 1 (omap3/am335x) and nintr 3
  > (omap4) cases in attach.  Ideally the "interrupts" property will be
  > handled by the interrupt controller drivers directly in future. (jsg@)

  ~ man9/usbd_ref_wait.9                  

  > tweak previous;
  > ok mglocker (jmc@)

  ~ man4/audio.4                          

  > Add a new AUDIO_GETSTATUS ioctl to get various audio driver variables.
  > It's intended for use with diagnostic tools (like audioctl) and is of
  > no use to audio programs. (ratchov@)

  - 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@)

zoneinfo

  ~ datfiles/africa                       ~ datfiles/antarctica
  ~ datfiles/asia                         ~ datfiles/australasia
  ~ datfiles/europe                       ~ datfiles/northamerica
  ~ datfiles/southamerica                 

  > Update to tzdata2016e from from ftp.iana.org. (millert@)

== sys =============================================================== 08/10 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys

arch/alpha/alpha

  ~ interrupt.c                           ~ mutex.c

  > rename _splraise to splraise
  > gets us a bit closer to an MI splraise api. (dlg@)

arch/alpha/include

  ~ intr.h                                

  > rename _splraise to splraise
  > gets us a bit closer to an MI splraise api. (dlg@)

arch/amd64/conf

  ~ GENERIC                               

  > Add umb(4) - a driver for the Mobile Broadband Interface Model (MBIM)
  > The umb(4) driver provides support for USB MBIM devices.
  > Those devices establish connections via celluar networks such as
  > GPRS, UMTS, and LTE.
  > ok mpi@ sthen@
  > additional feedback from deraadt@ jmc@ stsp@ kettenis@ (gerhard@)

arch/arm/simplebus

  ~ simplebus.c                           

  > Use OF_getpropintarray(). (kettenis@)

arch/armv7/armv7

  ~ armv7_machdep.c                       

  > Ignore everything after and including ':' in stdout-path when
  > finding the console node.  Characters after this are device specific
  > settings (baud etc).
  > ok kettenis@ (jsg@)

  ~ armv7_machdep.c                       

  > Make fdt_node_property() return -1 if the requested property can't be found
  > such that we can distinguish between non-existing properties and
  > zero-length
  > properties.  This brings the FDT code in line with the real OFW
  > implementations.
  > ok jsg@ (kettenis@)

arch/armv7/conf

  ~ GENERIC                               ~ RAMDISK

  > Dynamically attach fec(4) using the FDT.
  > ok jsg@, patrick@ (kettenis@)

  ~ GENERIC                               

  > Dynamically attach imxdog(4) using the FDT. (kettenis@)

  ~ RAMDISK                               

  > imxdog* at fdt? here too. (kettenis@)

  ~ GENERIC                               ~ RAMDISK

  > Dynamically attach ommmc with fdt.  Offset the start of the memory region
  > by 0x100 for nodes compatible with "ti,omap4-hsmmc" to get the same
  > offsets as omap3.  Handle both the nintr 1 (omap3/am335x) and nintr 3
  > (omap4) cases in attach.  Ideally the "interrupts" property will be
  > handled by the interrupt controller drivers directly in future. (jsg@)

  ~ GENERIC                               ~ RAMDISK

  > dynamically attach omap uart with fdt (jsg@)

arch/armv7/imx

  ~ files.imx                             ~ if_fec.c
  ~ imx.c                                 

  > Dynamically attach fec(4) using the FDT.
  > ok jsg@, patrick@ (kettenis@)

  ~ imxesdhc.c                            

  > Use "bus-width" property to determine whether 4-bit and 8-bit mode are
  > supported. (kettenis@)

  ~ files.imx                             ~ imx.c
  ~ imxdog.c                              

  > Dynamically attach imxdog(4) using the FDT. (kettenis@)

  ~ imxesdhc.c                            

  > If the FDT node has a "non-removable" property, return 1 from the card
  > detect function.  Remove the board-specific return 1 cases as they all
  > match the case of a "non-removable" property.
  > Note that this introduces a
  > sdmmc0: can't enable card
  > message on the CuBox-i as is has the internal eMMC controller enabled in
  > its device tree even though there is no eMMC soldered onto the board.
  > ok jsg@ (kettenis@)

arch/armv7/omap

  ~ files.omap                            ~ omap.c
  ~ ommmc.c                               

  > Dynamically attach ommmc with fdt.  Offset the start of the memory region
  > by 0x100 for nodes compatible with "ti,omap4-hsmmc" to get the same
  > offsets as omap3.  Handle both the nintr 1 (omap3/am335x) and nintr 3
  > (omap4) cases in attach.  Ideally the "interrupts" property will be
  > handled by the interrupt controller drivers directly in future. (jsg@)

  ~ ommmc.c                               

  > Stop setting the 4-bit mode capability flag for now.
  > Writing to the bbb emmc (but not reading) gives errors otherwise.
  > This does not occur with an sd card on bbb but apparently does on panda.
  > (jsg@)

  ~ 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@)

arch/armv7/sunxi

  ~ sxie.c                                ~ sxiuart.c

  > Handle both the nintr 1 (allwinner a10/cortex a8) and
  > nintr 3 (allwinner a20/cortex a7) cases. (jsg@)

arch/i386/conf

  ~ GENERIC                               

  > Add umb(4) - a driver for the Mobile Broadband Interface Model (MBIM)
  > The umb(4) driver provides support for USB MBIM devices.
  > Those devices establish connections via celluar networks such as
  > GPRS, UMTS, and LTE.
  > ok mpi@ sthen@
  > additional feedback from deraadt@ jmc@ stsp@ kettenis@ (gerhard@)

arch/landisk/include

  ~ intr.h                                

  > provide splraise on landisk
  > splraise is a wrapper around the sh _cpu_intr_raise(), and all the
  > splfoo macros are now defined as calling splraise(IPL_FOO).
  > tested on my landisk box (dlg@)

arch/luna88k/cbus

  ~ cbus.c                                

  > rename raiseipl to splraise()
  > another step toward making splraise an MI api.
  > ok aoyama@ (dlg@)

arch/luna88k/luna88k

  ~ machdep.c                             

  > rename raiseipl to splraise()
  > another step toward making splraise an MI api.
  > ok aoyama@ (dlg@)

arch/m88k/include

  ~ intr.h                                

  > rename raiseipl to splraise()
  > another step toward making splraise an MI api.
  > ok aoyama@ (dlg@)

arch/m88k/m88k

  ~ mutex.S                               ~ trap.c

  > rename raiseipl to splraise()
  > another step toward making splraise an MI api.
  > ok aoyama@ (dlg@)

arch/octeon/dev

  ~ cn30xxgmxreg.h                        

  > Fix PCS block size. (visa@)

  ~ cn30xxgmx.c                           

  > Make the 1 Gbps SGMII settings the default to define a consistent set of
  > parameters even if a link is down. (visa@)

arch/sparc/sparc

  ~ dvma.c                                

  > Replace uvm_km_valloc(9) with a km_alloc(9) call that doesn't allocate any
  > physical pages.  Recent canges to uvm_map(9) mean that we now assume that
  > memory in interrupt safe maps is not pageable, and while we made sure all
  > mappings were backed by physical pages, a mapping allocated with
  > uvm_km_valloc(9) appears to pageable and triggered an assertion.
  > ok miod@ (kettenis@)

arch/sparc64/include

  ~ intr.h                                ~ psl.h

  > rework sparc64 splfoo functions to be more consistent with other archs
  > this also moves us toward having an MI splraise().
  > sparc64 (and sparc) are different to the other archs because they
  > have macros that build templates. each spl uses that macro to create
  > an instance of an inline function specific to that spl call.
  > this moves it to having a single splraise inline that the spl api is
  > defined with. eg, #define splfoo() _splraise(IPL_FOO).
  > ok kettenis@ (dlg@)

arch/sparc64/sparc64

  ~ intr.c                                

  > rework sparc64 splfoo functions to be more consistent with other archs
  > this also moves us toward having an MI splraise().
  > sparc64 (and sparc) are different to the other archs because they
  > have macros that build templates. each spl uses that macro to create
  > an instance of an inline function specific to that spl call.
  > this moves it to having a single splraise inline that the spl api is
  > defined with. eg, #define splfoo() _splraise(IPL_FOO).
  > ok kettenis@ (dlg@)

conf

  ~ files                                 

  > urtwn device now needs rtwn.c, even if rtwn device isn't built
  > ok mpi@ jca@ mglocker@ (guenther@)

dev

  ~ audio.c                               

  > Add a new AUDIO_GETSTATUS ioctl to get various audio driver variables.
  > It's intended for use with diagnostic tools (like audioctl) and is of
  > no use to audio programs. (ratchov@)

dev/acpi

  ~ acpitoshiba.c                         

  > enable suspend/hibernate fn keys
  > ok mlarkin@ (giovanni@)

dev/ic

  ~ rtwn.c                                ~ rtwnvar.h

  > Merge a lot of code from urtwn(4) into rtwn(4). Both drivers now share code
  > in the file sys/dev/ic/rtwn.c. This reduces kernel bloat and will make it
  > easier to have both drivers benefit from future enhancements.
  > ok mpi@ (stsp@)

dev/ofw

  ~ fdt.c                                 ~ openfirm.h

  > Add OF_getpropint() and OF_getpropintarray().
  > ok visa@, jsg@ (kettenis@)

  ~ fdt.c                                 

  > Make fdt_node_property() return -1 if the requested property can't be found
  > such that we can distinguish between non-existing properties and
  > zero-length
  > properties.  This brings the FDT code in line with the real OFW
  > implementations.
  > ok jsg@ (kettenis@)

  ~ fdt.c                                 

  > Make sure OF_getprop() returns the proper length for a synthesised "name"
  > property.
  > From Tom Cosgrove. (kettenis@)

dev/pci

  ~ if_rtwn.c                             

  > Merge a lot of code from urtwn(4) into rtwn(4). Both drivers now share code
  > in the file sys/dev/ic/rtwn.c. This reduces kernel bloat and will make it
  > easier to have both drivers benefit from future enhancements.
  > ok mpi@ (stsp@)

  ~ if_iwm.c                              

  > Plug some memory leaks in error paths of iwm(4).
  > Patch by Imre Vadasz. (stsp@)

  ~ if_iwm.c                              

  > Make some noise in dmesg when iwm(4) fails to bring up the hardware.
  > ok tb@ earlier version (stsp@)

dev/usb

  ~ uhidev.c                              

  > Do not execute the callback if the device is beeing detached.
  > Should prevent a race triggering a use-after-free reported by
  > martijn@ on bugs@ (mpi@)

  ~ usbdi.c                               

  > Remove the restriction for the usbd_ref_* functions to work just in case
  > of dev->dying.  With this we also can use them on device closing, not just
  > detaching.
  > ok mpi (mglocker@)

  ~ utvfu.c                               ~ utvfu.h

  > * Start/stop audio bulk thread as consumer opens/closes device.
  > And as a result get rid of a few defines/flags.
  > * Fix _as_close() to and audio bulk thread exit.
  > * Change sc->sc_as_running into a flag; save an int.
  > From Patrick Keshishian
  > ok mpi (mglocker@)

  ~ utvfu.c                               

  > Ensure expected video endpoint has wMaxPacketSize > 0 during
  > utvfu_match().
  > From Patrick Keshishian
  > ok mpi (mglocker@)

  ~ utvfu.c                               ~ utvfu.h

  > Remove tracking of endpoints in utvfu_{as,vs}_iface structs as these
  > are constants; save two more ints.
  > From Patrick Keshishian
  > ok mpi (mglocker@)

  ~ uvideo.c                              

  > Add missing line feed to DPRINTF makes debug reading easier. (mglocker@)

  ~ uvideo.c                              

  > No need for a special DVACT_DEACTIVATE hook, autoconf(9) knows how
  > to deactivate our children.
  > ok mglocker@ (mpi@)

  ~ files.usb                             ~ usb.h
  + if_umb.c                              + if_umb.h
  + mbim.h                                

  > Add umb(4) - a driver for the Mobile Broadband Interface Model (MBIM)
  > The umb(4) driver provides support for USB MBIM devices.
  > Those devices establish connections via celluar networks such as
  > GPRS, UMTS, and LTE.
  > ok mpi@ sthen@
  > additional feedback from deraadt@ jmc@ stsp@ kettenis@ (gerhard@)

  ~ utvfu.c                               ~ uvideo.c

  > Replace tsleep/wakeup by usbd_ref_incr/decr/wait to wait for the kthread
  > to finish on close.
  > Tested and ok Patrick Keshishian
  > ok mpi (mglocker@)

  ~ if_urtwn.c                            

  > Merge a lot of code from urtwn(4) into rtwn(4). Both drivers now share code
  > in the file sys/dev/ic/rtwn.c. This reduces kernel bloat and will make it
  > easier to have both drivers benefit from future enhancements.
  > ok mpi@ (stsp@)

  ~ 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@)

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

  ~ uipc_socket.c                         

  > Fix format string in ddb show socket. (bluhm@)

  ~ uipc_mbuf.c                           ~ uipc_socket.c

  > On localhost a user program may create a socket splicing loop.
  > After writing data into this loop, it was spinning forever causing
  > a kernel hang.  Detect the loop by counting how often the same mbuf
  > is spliced.  If that happens 128 times, assume that there is a loop
  > and abort the splicing with ELOOP.
  > Bug found by tedu@;  OK tedu@ millert@ benno@ (bluhm@)

  ~ kern_timeout.c                        

  > Prevent a round to zero in the timeout_add_...() functions.  Getting
  > an immediate timeout if a positive value is specified is unexpected
  > behavior.  Defer calling the handler for at least one tick.  Do not
  > change that timeout_add(0) gives you an immediate timeout.
  > OK millert@ uebayasi@ tedu@ (bluhm@)

  ~ 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@)

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

  ~ art.h                                 ~ art.c
  ~ rtable.c                              

  > Convert the links between art data structures used during lookups into
  > srps.
  > art_lookup and art_match now return an active srp_ref, which the caller
  > must
  > leave when it's done with the returned route (if any).  This allows lookups
  > to be done without holding any locks.
  > The art_table and art_node garbage collectors are still responsible for
  > freeing items removed from the routing table, so they now use srp_finalize
  > to wait out any active references, and updates are done using srp_swap
  > operations.
  > ok dlg@ mpi@ (jmatthew@)

  ~ route.c                               ~ route.h
  ~ rtsock.c                              

  > Store the source address associated with a route in its own chunk of
  > memory.
  > This will allow to unlink 'sruct rtentry' and 'struct ifaddr' to be able
  > to add route entries without needing an address.
  > ok sthen@, visa@, florian@ (mpi@)

  ~ route.c                               ~ route.h
  ~ rtsock.c                              

  > Pass the configured ``ifa'' to rt_sendaddrmsg() instead of getting it via
  > ``rt->rt_ifa'' later. (mpi@)

  ~ if_pppoe.c                            ~ if_sppp.h
  ~ if_spppsubr.c                         

  > Don't hardcode vlan/queue priority for pppoe packets; inherit it from the
  > new "llprio" setting on the pppoe(4) interface instead.
  > Tested by Daniel Gillen and myself, ok mikeb (sthen@)

  ~ pf.c                                  ~ pf_lb.c
  ~ pf_norm.c                             

  > There's no need to convert values returned by arc4random to the network
  > byte order.  Spotted by Gleb Smirnoff ([email protected]), thanks!
  > ok tedu (mikeb@)

  ~ pf.c                                  ~ pf_norm.c

  > Kill nd6_output(), it doesn't do anything since the resolution logic
  > has been moved to nd6_resolve().
  > ok visa@, millert@, florian@, sthen@ (mpi@)

  ~ if_types.h                            

  > Add umb(4) - a driver for the Mobile Broadband Interface Model (MBIM)
  > The umb(4) driver provides support for USB MBIM devices.
  > Those devices establish connections via celluar networks such as
  > GPRS, UMTS, and LTE.
  > ok mpi@ sthen@
  > additional feedback from deraadt@ jmc@ stsp@ kettenis@ (gerhard@)

netinet

  ~ in.c                                  

  > Move the ioctl(2) logic of in{,6}_control() into two new functions
  > in{,6}_ioctl() that do not deal with sockets.
  > This will allow to automagically configure interface addresses in
  > the kernel without too many layer violations.
  > Required by upcoming umb(4). (mpi@)

  ~ tcp_output.c                          

  > On localhost a user program may create a socket splicing loop.
  > After writing data into this loop, it was spinning forever causing
  > a kernel hang.  Detect the loop by counting how often the same mbuf
  > is spliced.  If that happens 128 times, assume that there is a loop
  > and abort the splicing with ELOOP.
  > Bug found by tedu@;  OK tedu@ millert@ benno@ (bluhm@)

  ~ if_ether.c                            

  > Store the source address associated with a route in its own chunk of
  > memory.
  > This will allow to unlink 'sruct rtentry' and 'struct ifaddr' to be able
  > to add route entries without needing an address.
  > ok sthen@, visa@, florian@ (mpi@)

  ~ udp_usrreq.c                          

  > Move the cmsg handling code on top of udp_output(), to make
  > IP_SENDSRCADDR introduction easier.
  > Ok jca@ (vgross@)

  ~ udp_usrreq.c                          

  > Fix typo from rebase : extra parenthese (vgross@)

  ~ in.h                                  ~ in_var.h

  > Add umb(4) - a driver for the Mobile Broadband Interface Model (MBIM)
  > The umb(4) driver provides support for USB MBIM devices.
  > Those devices establish connections via celluar networks such as
  > GPRS, UMTS, and LTE.
  > ok mpi@ sthen@
  > additional feedback from deraadt@ jmc@ stsp@ kettenis@ (gerhard@)

  ~ in_pcb.c                              ~ in_pcb.h
  ~ ip_input.c                            ~ tcp_usrreq.c
  ~ tcp_var.h                             ~ udp_usrreq.c
  ~ udp_var.h                             

  > Add net.inet.{tcp,udp}.rootonly sysctl, to mark which ports
  > cannot be bound to by non-root users.
  > Ok millert@ bluhm@ (vgross@)

netinet6

  ~ in6.c                                 ~ in6_var.h

  > Move the ioctl(2) logic of in{,6}_control() into two new functions
  > in{,6}_ioctl() that do not deal with sockets.
  > This will allow to automagically configure interface addresses in
  > the kernel without too many layer violations.
  > Required by upcoming umb(4). (mpi@)

  ~ ip6_forward.c                         ~ ip6_mroute.c
  ~ ip6_output.c                          ~ nd6.c
  ~ nd6.h                                 ~ nd6_nbr.c

  > Kill nd6_output(), it doesn't do anything since the resolution logic
  > has been moved to nd6_resolve().
  > ok visa@, millert@, florian@, sthen@ (mpi@)

  ~ ip6_output.c                          

  > With the introduction of ip6_output_ipsec_lookup() we didn't exit the
  > loop when we worked out that no IPsec is needed which led to a NULL
  > de-ref on the next iteration.
  > Fix this by making the code more similar to the IPv4 case.
  > Found the hard way by me, OK mpi@ (florian@)

netmpls

  ~ mpls_input.c                          

  > Store the source address associated with a route in its own chunk of
  > memory.
  > This will allow to unlink 'sruct rtentry' and 'struct ifaddr' to be able
  > to add route entries without needing an address.
  > ok sthen@, visa@, florian@ (mpi@)

nfs

  ~ nfs_vnops.c                           

  > make sure attrflag is initialized. from clang via david hill (tedu@)

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

  ~ mbuf.h                                

  > On localhost a user program may create a socket splicing loop.
  > After writing data into this loop, it was spinning forever causing
  > a kernel hang.  Detect the loop by counting how often the same mbuf
  > is spliced.  If that happens 128 times, assume that there is a loop
  > and abort the splicing with ELOOP.
  > Bug found by tedu@;  OK tedu@ millert@ benno@ (bluhm@)

  ~ sockio.h                              

  > Add umb(4) - a driver for the Mobile Broadband Interface Model (MBIM)
  > The umb(4) driver provides support for USB MBIM devices.
  > Those devices establish connections via celluar networks such as
  > GPRS, UMTS, and LTE.
  > ok mpi@ sthen@
  > additional feedback from deraadt@ jmc@ stsp@ kettenis@ (gerhard@)

  ~ audioio.h                             

  > Add a new AUDIO_GETSTATUS ioctl to get various audio driver variables.
  > It's intended for use with diagnostic tools (like audioctl) and is of
  > no use to audio programs. (ratchov@)

  ~ ktrace.h                              

  > KTRPOINT() is only useful in the kernel, so move it behind #ifdef _KERNEL
  > ok mpi@ kettenis@ (guenther@)

  ~ 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@)

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@)

uvm

  ~ uvm_map.c                             

  > In uvm_map(), call uvm_unmap_detach_intrsafe() if we have an interrupt-safe
  > map, to avoid grabbing the kernel lock when pool_get() needs to allocate
  > a new pool page.  Hopefully this really is the last case where we might
  > grab
  > the kernel lock for interrupt-safe pools.
  > ok mpi@ (kettenis@)

  ~ uvm_amap.c                            ~ uvm_anon.c
  ~ uvm_aobj.c                            ~ uvm_map.c

  > pool_setipl on all uvm pools.
  > ok kettenis@ visa@ (dlg@)

== usr.bin =========================================================== 09/10 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin

doas

  ~ Makefile                              ~ doas.c
  ~ doas.h                                + env.c

  > the environment handling code was showing its age. just because environ
  > is a char** array doesn't mean we must exclusively operate on such.
  > convert to a red-black tree, manipulate as desired, then flatten to array.
  > potentially overkill for the current operations, but reading the tea leaves
  > i see that more manipulations are desired.
  > ok tb
  > (and some thought provoking disagreement from martijn) (tedu@)

  ~ 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@)

file

  ~ file.h                                

  > Remove old unused prototype, from Ilya Kaliman. (nicm@)

ssh

  ~ auth.c                                

  > Remove "POSSIBLE BREAK-IN ATTEMPT!" from log message about forward and
  > reverse DNS not matching.  We haven't supported IP-based auth methods
  > for a very long time so it's now misleading.  part of bz#2585, ok markus@
  > (dtucker@)

  ~ ssh-keygen.1                          

  > keys stored in openssh format can have comments too;
  > diff from yonas yanfa, tweaked a bit;
  > ok djm (jmc@)

  ~ sshbuf-getput-basic.c                 

  > Include stdarg.h for va_copy as per man page. (dtucker@)

  ~ servconf.c                            ~ sshd_config.5

  > ban AuthenticationMethods="" and accept AuthenticationMethods=any
  > for the default behaviour of not requiring multiple authentication
  > bz#2398 from Jakub Jelen; ok dtucker@ (djm@)

  ~ sshkey.c                              

  > translate OpenSSL error codes to something more meaninful;
  > bz#2522 reported by Jakub Jelen, ok dtucker@ (djm@)

  ~ sshd_config.5                         

  > grammar fix; (jmc@)

  ~ sshkey.c                              

  > revert 1.34; causes problems loading public keys
  > reported by semarie@ (djm@)

tmux

  ~ cmd-list-keys.c                       ~ tmux.1

  > Add -F to list-commands. (nicm@)

  ~ tmux.h                                ~ window.c

  > Copy mode needs to keep the original grid intact so it can copy from it
  > if needed, so it disables reading from the pane. This can be problem
  > with some programs. So make tmux automatically exit all modes after 180
  > seconds of inactivity and if there is pending output. (nicm@)

  ~ tmux.1                                

  > Add missing buffer_name format, from Awal Garg. (nicm@)

  ~ cmd-display-panes.c                   ~ server-client.c
  ~ server-fn.c                           ~ tmux.1
  ~ tmux.h                                ~ window.c

  > Allow a command to be specified to display-panes, similar to
  > command-prompt, rather than always just selecting the pane. (nicm@)

== usr.sbin ========================================================== 10/10 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin

ikectl

  ~ parser.c                              

  > Remove unused variable, found by clang (reyk@)

ldpd

  ~ adjacency.c                           ~ hello.c
  ~ packet.c                              

  > Rework the handling of Hello packets.
  > With the introduction of IPv6 support by RFC 7552, the handling of Hello
  > packets in ldpd became something incredibly complex. Neighbors can change
  > from single-stack LDP to dual-stack and vice-versa. They can change
  > their transport preference, their transport addresses (IPv4 and IPv6)
  > and even start or stop sending the Dual-Stack TLV. We also have to take
  > care to reject things like multiple adjacencies advertising different
  > transport-addresses for the same neighbor. ldpd was failing for some of
  > the cases mentioned above, this patch fixes these issues and attempts
  > to make the code easier to read. (renato@)

  ~ ldpd.c                                ~ ldpe.c

  > Do not create sockets for disabled address-families. (renato@)

  ~ ldpe.h                                ~ neighbor.c
  ~ packet.c                              

  > Implement a timeout for the session initialization FSM.
  > This prevents neighbors stuck in the initialization FSM to linger forever
  > as long as the associated transport connection is up.
  > This timeout can be seen in the 'Session Initialization State Transition
  > Diagram' of RFC 5036. The RFC, however, doesn't specify how much we
  > should wait. Let's use 180 seconds for that, the default LDP hold time.
  > Fixes IxANVL LDP test 6.15. (renato@)

  ~ hello.c                               ~ ldpd.h
  ~ ldpe.c                                ~ ldpe.h
  ~ neighbor.c                            

  > Implement support for the Configuration Sequence Number TLV.
  > The Configuration Sequence Number optional TLV is documented in RFC 5036,
  > pages 53 and 54.
  > Fixes IxANVL LDP test 23.10. (renato@)

  ~ kroute.c                              ~ l2vpn.c
  ~ lde.c                                 ~ lde.h
  ~ lde_lib.c                             

  > Fix small LIB<->LFIB synchronization issue.
  > ldpd operates only with the best routes of each IP prefix. In other words,
  > the routes with the lowest priorities.
  > When a route with a better priority is detected (possibly with a different
  > nexthop), we should uninstall the labels from the "old" routes and try
  > to install a new label for the new route (if there's one available in
  > the LIB).
  > In this specific case, ldpd was failing to uninstall the labels from the
  > old routes because it wasn't keeping track of each route's priority in
  > lde. With this missing bit of information, the parent process had no way
  > to get the correct label to uninstall when processing a IMSG_KLABEL_DELETE
  > message. (renato@)

  ~ lde_lib.c                             ~ labelmapping.c

  > Remove TODO comments about loop detection.
  > LDP loop detection is only necessary for ATM LSRs running in cell mode. We
  > are never going to implement this "feature".
  > Also, add two more comments in lde_check_request(). (renato@)

  ~ ldpd.c                                

  > Use log_warnx() instead of log_warn() when appropriate. (renato@)

  ~ parse.y                               

  > Do not allow configuring the same interface for both LDP and VPLS.
  > Configuring an interface for both LDP signaling and as a member of a
  > VPLS instance doesn't cause any harm as far as ldpd is concerned. But
  > it certainly doesn't make any sense, so it's better to reject the
  > configuration and warn the user instead of ignoring this silently.
  > (renato@)

  ~ adjacency.c                           

  > Fix use after free bug. (renato@)

  ~ l2vpn.c                               ~ lde.h
  ~ ldpd.c                                

  > Fix memory leak found with valgrind. (renato@)

  ~ adjacency.c                           ~ hello.c
  ~ interface.c                           ~ ldpe.c
  ~ ldpe.h                                ~ packet.c

  > Fix removal of dual-stack neighbors. (renato@)

pkg_add

  ~ pkg_add.1                             

  > reorg examples to better use actual options.
  > emphasize -U straight away because people often don't even realize it's
  > there.
  > Make more use of default stem so that we don't have to update examples too
  > often.
  > Ditch the interactive ftp stuff, there's nobody that actually uses that,
  > especially since there are almost no ftp mirrors left. (espie@)

  ~ pkg_add.1                             ~ OpenBSD/PackingList.pm
  ~ OpenBSD/Search.pm                     

  > new syntax: pkgname%branch   to select a branch wherever it makes sense.
  > see pkg_add(1) for details.
  > Search framework makes that surprisingly simple. (espie@)

  ~ pkg_add.1                             

  > more unification of stuff run on the command line
  > don't mention FW_UPDATE, it's an internal detail (espie@)

  ~ pkg_delete.1                          

  > refer to pkg_add(1) for pkg-name conventions (espie@)

  ~ OpenBSD/PackageRepository/Installed.pm

  > restrict %m and friends to "separate words" so they won't collide with
  > branch specifiers. Unlikely, but better safe than sorry. (espie@)

  ~ OpenBSD/ProgressMeter.pm              ~ OpenBSD/ProgressMeter/Term.pm

  > ProgressMeter keeps state. Unfortunately, term is shared between processes.
  > Adds supplementary code that was first tested in proot, but may be needed
  > to split pkg_add into processes in the future. (espie@)

  ~ OpenBSD/AddCreateDelete.pm            ~ OpenBSD/AddDelete.pm
  ~ OpenBSD/PkgCheck.pm                   

  > dedup interactive options handling code yet again.
  > dynamic code mixin (espie@)

rcctl

  ~ rcctl.sh                              

  > No need to hardcode return code. (ajacoutot@)

  ~ 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@)

smtpd

  ~ smtpctl.8                             

  > Fix typo; OK jung@ (millert@)

  ~ smtp_session.c                        

  > 'Received' header violates RFC when receiving a TLS session, rework format
  > reported by vstakhov (gilles@)

  ~ limit.c                               

  > increase number of connections a local address is allowed to establish
  > decrease the delay between transactions in the same session
  > ok eric@ (gilles@)

  ~ smtp_session.c                        

  > properly reset the transaction when a filter rejects a message.
  > ok gilles@ (eric@)

  ~ smtp_session.c                        

  > Also add missing date or message-id when listening on the submit port
  > ok gilles@ (otto@)

===============================================================================
_______________________________________________
owc mailing list
[email protected]
http://www.squish.net/mailman/listinfo/owc

Reply via email to