OpenBSD src changes summary for 2015-05-31 to 2015-06-07 inclusive
==================================================================

Makefile                                Makefile.cross
bin/csh                                 distrib/alpha
distrib/amd64                           distrib/armish
distrib/armv7                           distrib/aviion
distrib/hppa                            distrib/i386
distrib/landisk                         distrib/loongson
distrib/luna88k                         distrib/macppc
distrib/miniroot                        distrib/notes
distrib/octeon                          distrib/sets
distrib/sgi                             distrib/socppc
distrib/sparc                           distrib/sparc64
distrib/vax                             distrib/zaurus
etc/etc.armv7/Makefile.inc              etc/netstart
gnu                                     gnu/usr.bin/binutils
gnu/usr.bin/binutils-2.17               gnu/usr.bin/cc
lib/libc                                lib/libfuse
lib/libssl                              lib/libtls
lib/libutil                             libexec/ld.so
libexec/spamd-setup                     regress/usr.bin
sbin/disklabel                          sbin/iked
sbin/ipsecctl                           sbin/isakmpd
sbin/pfctl                              share/man
share/mk                                sys/arch/alpha/alpha
sys/arch/amd64/amd64                    sys/arch/amd64/conf
sys/arch/amd64/include                  sys/arch/arm/arm
sys/arch/arm/armv7                      sys/arch/arm/cortex
sys/arch/armish/stand                   sys/arch/armv7/armv7
sys/arch/armv7/conf                     sys/arch/armv7/exynos
sys/arch/i386/conf                      sys/arch/i386/i386
sys/arch/i386/include                   sys/arch/macppc/conf
sys/arch/macppc/dev                     sys/arch/macppc/macppc
sys/arch/macppc/pci                     sys/arch/mips64/mips64
sys/arch/powerpc/include                sys/arch/powerpc/powerpc
sys/arch/sparc/include                  sys/arch/sparc/sparc
sys/arch/sparc64/sparc64                sys/dev
sys/dev/gpio                            sys/dev/mii
sys/dev/pci                             sys/dev/usb
sys/kern                                sys/net
sys/netinet                             sys/netinet6
sys/scsi                                usr.bin/file
usr.bin/from                            usr.bin/mandoc
usr.bin/mg                              usr.bin/ssh
usr.bin/tmux                            usr.bin/units
usr.sbin/arp                            usr.sbin/dhcpd
usr.sbin/httpd                          usr.sbin/ldapd
usr.sbin/ndp                            usr.sbin/pkg_add
usr.sbin/relayctl                       usr.sbin/relayd
usr.sbin/rtadvd                         usr.sbin/sensorsd
usr.sbin/smtpd                          usr.sbin/snmpd
usr.sbin/sysmerge                       

== Makefile ========================================================== 01/14 ==

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

Makefile


  > missing " spotted by Kyle Milz (deraadt@)

== Makefile.cross ==================================================== 02/14 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/Makefile.cross

Makefile.cross


  > Now that we do not need to build binutils 2.15 (except for gdb), simplify
  > the
  > build logic. (miod@)


  > Use target BSDOBJDIR when cross-compiling libraries
  > ok mpi@ (tobiasu@)

== bin =============================================================== 03/14 ==

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

csh

  ~ file.c                                

  > better description of internal copyn() function (deraadt@)

== distrib =========================================================== 04/14 ==

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

alpha

  ~ common/install.md                     

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ common/install.md                     

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

amd64

  ~ common/install.md                     

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ common/install.md                     

  > Replace
  > [[ -n $(foo | grep 'bar') ]]
  > with
  > foo | grep -q 'bar'
  > OK halex@ krw@ (rpe@)

  ~ common/install.md                     

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

armish

  ~ ramdisk/install.md                    

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ ramdisk/install.md                    

  > Replace
  > [[ -n $(foo | grep 'bar') ]]
  > with
  > foo | grep -q 'bar'
  > OK halex@ krw@ (rpe@)

  ~ ramdisk/install.md                    

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

armv7

  ~ ramdisk/install.md                    

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  - miniroot/imx/Makefile                 ~ miniroot/Makefile
  ~ miniroot/Makefile.inc                 ~ ramdisk/install.md
  + miniroot/cubox/Makefile               + miniroot/nitrogen/Makefile

  > Rename the imx miniroot to nitrogen as it creates "6x_bootscript".
  > Add a miniroot for the CuBox-i which needs u-boot at a particular
  > offset in the sd image to boot.  Based on changes made by Patrick
  > Wildt in bitrig. (jsg@)

  ~ ramdisk/install.md                    

  > Replace
  > [[ -n $(foo | grep 'bar') ]]
  > with
  > foo | grep -q 'bar'
  > OK halex@ krw@ (rpe@)

  ~ ramdisk/install.md                    

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

  ~ ramdisk/install.md                    

  > missing __EOT spotted by rpe@ (jsg@)

aviion

  ~ ramdisk/install.md                    

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ ramdisk/install.md                    

  > Fix typos.
  > OK miod@ (rpe@)

  ~ ramdisk/install.md                    

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

hppa

  ~ install.md                            

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ install.md                            

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

i386

  ~ common/install.md                     

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ common/install.md                     

  > Replace
  > [[ -n $(foo | grep 'bar') ]]
  > with
  > foo | grep -q 'bar'
  > OK halex@ krw@ (rpe@)

  ~ common/install.md                     

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

landisk

  ~ ramdisk/install.md                    

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ ramdisk/install.md                    

  > Replace
  > [[ -n $(foo | grep 'bar') ]]
  > with
  > foo | grep -q 'bar'
  > OK halex@ krw@ (rpe@)

  ~ ramdisk/install.md                    

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

loongson

  ~ ramdisk/install.md                    

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ ramdisk/install.md                    

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

luna88k

  ~ ramdisk/install.md                    

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ ramdisk/install.md                    

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

macppc

  ~ ramdisk/install.md                    

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ ramdisk/install.md                    

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

miniroot

  ~ install.sub                           

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ install.sh                            ~ install.sub

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

notes

  ~ armv7/contents                        ~ armv7/prep

  > Rename the imx miniroot to nitrogen as it creates "6x_bootscript".
  > Add a miniroot for the CuBox-i which needs u-boot at a particular
  > offset in the sd image to boot.  Based on changes made by Patrick
  > Wildt in bitrig. (jsg@)

octeon

  ~ ramdisk/install.md                    

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ ramdisk/install.md                    

  > Replace
  > [[ -n $(foo | grep 'bar') ]]
  > with
  > foo | grep -q 'bar'
  > OK halex@ krw@ (rpe@)

  ~ ramdisk/install.md                    

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

sets

  ~ lists/man/mi                          

  > sync (deraadt@)

  ~ lists/base/md.alpha                   ~ lists/base/md.amd64
  ~ lists/base/md.armish                  ~ lists/base/md.armv7
  ~ lists/base/md.aviion                  ~ lists/base/md.hppa
  ~ lists/base/md.hppa64                  ~ 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.vax
  ~ lists/base/md.zaurus                  ~ lists/comp/mi
  ~ lists/man/mi                          

  > sync (deraadt@)

  ~ lists/base/md.socppc                  ~ lists/comp/md.socppc

  > sync (deraadt@)

sgi

  ~ ramdisk/install.md                    

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ ramdisk/install.md                    

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

socppc

  ~ ramdisk/install.md                    

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ ramdisk/install.md                    

  > Replace
  > [[ -n $(foo | grep 'bar') ]]
  > with
  > foo | grep -q 'bar'
  > OK halex@ krw@ (rpe@)

  ~ ramdisk/install.md                    

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

sparc

  ~ install.md                            

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ install.md                            

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

sparc64

  ~ common/install.md                     

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ common/install.md                     

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

vax

  ~ install.md                            

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ install.md                            

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

zaurus

  ~ ramdisk/install.md                    

  > Replace identical code in the MD scripts of the installer with a new
  > MI function disklabel_autolayout() which now handles all aspects of
  > the disklabel auto-layout and autopartitioning case for the root disk.
  > Remove get_disklabel_template() and merge it with the new function.
  > "move forward" deraadt@ (rpe@)

  ~ ramdisk/install.md                    

  > Replace
  > [[ -n $(foo | grep 'bar') ]]
  > with
  > foo | grep -q 'bar'
  > OK halex@ krw@ (rpe@)

  ~ ramdisk/install.md                    

  > Remove the $FSTABFLAG variable and use -F directly. The installer
  > uses disklabel UIDs unconditionally for a while already.
  > OK krw@
  > "looks good" deraadt@ (rpe@)

== etc =============================================================== 05/14 ==

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

etc.armv7/Makefile.inc

  ~ etc.armv7/Makefile.inc                

  > Rename the imx miniroot to nitrogen as it creates "6x_bootscript".
  > Add a miniroot for the CuBox-i which needs u-boot at a particular
  > offset in the sd image to boot.  Based on changes made by Patrick
  > Wildt in bitrig. (jsg@)

netstart

  ~ netstart                              

  > Allow rtsol keyword in hostname.if(5) with net.inet6.ip6.forwarding=1.
  > "inet6 autoconf" was working before and rtsol should behave the same.
  > OK phessler (florian@)

== gnu =============================================================== 06/14 ==

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

gnu

  ~ usr.bin/Makefile                      

  > Now that we do not need to build binutils 2.15 (except for gdb), simplify
  > the
  > build logic. (miod@)

  ~ gcc/gcc/config/mips/mips.c            ~ gcc/gcc/config/mips/mips.h

  > Actually commit the bits that make the compiler emit visibility information
  > for (undefined) references with non-default visibility on mips64.
  > (kettenis@)

usr.bin/binutils

  ~ Makefile.bsd-wrapper                  

  > Now that we do not need to build binutils 2.15 (except for gdb), simplify
  > the
  > build logic. (miod@)

usr.bin/binutils-2.17

  ~ bfd/configure                         ~ bfd/configure.in

  > Enable secureplt by default on alpha. The old plt flavour can still be
  > obtained by passing --no-secureplt to ld(1), or -Wl,--no-secureplt to cc(1)
  > when linking. (miod@)

  ~ ld/emulparams/elf64alpha_obsd.sh      

  > Revert 1.2, which used to be necessary during the early ld 2.17 work, but
  > hasn't been required for a while. (miod@)

usr.bin/cc

  ~ cc_tools/auto-host.h                  

  > Define HAVE_AS_EXPLICIT_RELOCS and HAVE_AS_JSRDIRECT_RELOCS. These symbols
  > are
  > only used by the alpha backend and allow it to produce more precise
  > relocation information, but need a recent as(1) for this to work.
  > This will be necessary to enable secureplt by default. (miod@)

== lib =============================================================== 07/14 ==

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

libc

  ~ sys/getdtablecount.2                  ~ sys/getthrid.2
  ~ sys/mkfifo.2                          ~ sys/nanosleep.2
  ~ sys/nfssvc.2                          ~ sys/pathconf.2
  ~ sys/readlink.2                        ~ sys/revoke.2
  ~ sys/setsid.2                          ~ sys/sigaltstack.2
  ~ sys/sigpending.2                      ~ sys/sigsuspend.2

  > Simple macro fixes (Fd -> In, Nm -> Fn) from Kaspars at Bankovskis dot net.
  > No content change. (schwarze@)

  ~ arch/amd64/sys/tfork_thread.S         

  > Put END() matching ENTRY(). (uebayasi@)

  ~ arch/amd64/sys/cerror.S               

  > Put END() matching _ENTRY() (== ENTRY() w/o prof). (uebayasi@)

  ~ arch/alpha/gen/divrem.m4              

  > Since the __{div,rem}{l,q}{,u} special libc entry points use a specific
  > calling convention which conflicts over t11 usage with the secureplt
  > calling convention, force these symbols to be `notype' rather `function',
  > so
  > that the linker will not attempt to use plt relocations for them in the
  > absence of explicit relocation information.
  > Note that these symbols are still public and still callable with the old
  > plt
  > convention, so existing binaries will still work with an updated libc, and
  > no libc version change is necessary. (miod@)

  ~ gen/sysctl.3                          

  > write Mobile IP{,v6} in a consistent way, as given in RFCs 5944 and 6275.
  > ok jmc@ (sobrado@)

  ~ gen/getgrouplist.c                    ~ gen/getpwent.c

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

  ~ stdio/printf.3                        

  > snprintf(3) is available on all modern systems and asprintf(3) is
  > available on more systems these days.  OK deraadt@ (millert@)

  ~ asr/asr.c                             ~ asr/asr_private.h

  > make sure to check for resolv.conf update the first time the resolver
  > is used after pid has changed.
  > ok deraadt@ (eric@)

  ~ net/res_random.c                      

  > force reseeding if pid has changed.
  > ok deraadt@ (eric@)

libfuse

  ~ fuse_subr.c                           

  > It is better to check the asprintf return value for -1 instead of the
  > input buffer for NULL.
  > Found by adding __attribute((__warn_unused_result__)) to asprintf.
  > OK deraadt@ (reyk@)

  ~ Makefile                              

  > Remove -Werror from the Makefile: as it happened with asprintf, it
  > breaks the tree if any new compiler warnings get enabled, especially
  > with -Wall.  We do not want to use it in the tree, except for some
  > very special places.
  > As discussed with deraadt@ (reyk@)

libssl

  ~ ssl/Makefile                          

  > Fix library search path so we link against the freshly built libcrypto.so
  > instead of a stale one.
  > ok miod@ mpi@ (tobiasu@)

libtls

  ~ Makefile                              

  > Link ssl and crypto via BSDOBJDIR, works with native and cross builds
  > ok mpi@ (tobiasu@)

libutil

  ~ pidfile.c                             

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

== libexec =========================================================== 08/14 ==

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

ld.so

  ~ powerpc/ldasm.S                       

  > In the lazy binding routine, make sure we actually allocate the stack we
  > need,
  > instead of corrupting the caller's stack by mistake.
  > This fixes the mysterious segfaults in __powerpc_read_tcb() reported on
  > earlier G3 systems - more recent processors have been luckier...
  > ok deraadt@ (miod@)

  ~ ldconfig/prebind.c                    ~ ldconfig/prebind_delete.c

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

spamd-setup

  ~ spamd-setup.c                         

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

== regress =========================================================== 09/14 ==

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

usr.bin

  ~ mandoc/roff/cond/Makefile             + mandoc/roff/cond/register.in
  + mandoc/roff/cond/register.out_ascii   

  > Implement the roff(7) `r' (register exists) conditional.
  > Missing feature found by Markus <Waldeck at gmx dot de>
  > in Debian's bash(1) manual page. (schwarze@)

== sbin ============================================================== 10/14 ==

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

disklabel

  ~ disklabel.c                           

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

iked

  ~ iked.c                                ~ parse.y

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

  ~ pfkey.c                               

  > Fix coupling and decoupling operations.
  > With help and ok from mikeb@ (vgross@)

ipsecctl

  ~ parse.y                               

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

isakmpd

  ~ field.c                               

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

pfctl

  ~ pfctl_parser.c                        

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

== share ============================================================= 11/14 ==

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

man

  ~ man7/roff.7                           

  > Implement the roff(7) `r' (register exists) conditional.
  > Missing feature found by Markus <Waldeck at gmx dot de>
  > in Debian's bash(1) manual page. (schwarze@)

  ~ man4/man4.macppc/Makefile             + man4/man4.macppc/hpb.4

  > Man page for hpb(4). (mpi@)

  ~ man4/pci.4                            

  > Mention hpb(4), prodded by jmc@ (mpi@)

  ~ man4/gre.4                            

  > write Mobile IP{,v6} in a consistent way, as given in RFCs 5944 and 6275.
  > ok jmc@ (sobrado@)

  ~ man4/pci.4                            ~ man4/ppb.4
  ~ man4/man4.macppc/hpb.4                

  > Unify .Nd blocks, prodded by and ok jmc@ (mpi@)

  ~ man4/Makefile                         + man4/rtwn.4

  > man page for rtwn(4) (stsp@)

  ~ man4/pci.4                            

  > Mention rtwn(4) in pci(4). Reminded by brad. (stsp@)

  ~ man5/hostname.if.5                    

  > Allow rtsol keyword in hostname.if(5) with net.inet6.ip6.forwarding=1.
  > "inet6 autoconf" was working before and rtsol should behave the same.
  > OK phessler (florian@)

  ~ man4/gpiodcf.4                        ~ man4/udcf.4

  > HBG is no more so no need to mention it in the man pages.
  > OK jmc@ (claudio@)

mk

  ~ bsd.own.mk                            

  > Switch m88k ports to binutils 2.17. (miod@)

  ~ bsd.own.mk                            

  > Now that we do not need to build binutils 2.15 (except for gdb), simplify
  > the
  > build logic. (miod@)

  ~ bsd.own.mk                            

  > Make sparc go PIE (not `static PIE' yet). (miod@)

== sys =============================================================== 12/14 ==

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

arch/alpha/alpha

  ~ trap.c                                

  > these days, curproc is never NULL, so skip those checks.
  > Discussed with kettenis (deraadt@)

  ~ trap.c                                

  > Do not unconditionally clear pcb_onfault after a uvm_fault.  That will
  > permit the active copyout/copyin to continue work on subsequent faulting
  > pages and not misinterpret & fault them as kernel bcopy against userland
  > addresses.  Old bug -- fall of 1996.  This should fix getentropy issues
  > on MP systems which have become more apparent recently, probably due to
  > some combo of increased ASLR with unlocked getentropy happening very soon
  > after vfork/fork...
  > ok miod (deraadt@)

  ~ locore.s                              

  > And part 2 of the onfault repair.  Do the actual clearing of pcb_onfault
  > in copyerr itself, like other architectures of this type do.
  > as a result of chatter between miod and kettenis (deraadt@)

  ~ locore.s                              

  > And ... more discussion occurs between miod and kettenis about
  > what register dance copyerr should do..... (deraadt@)

arch/amd64/amd64

  ~ cpu.c                                 ~ machdep.c

  > Enable use of mwait in non-MP boxes and report # of C-substates up to C7,
  > truncating trailing zeros.
  > Testing by many as part of a larger change to use ACPI _CST objects
  > ok krw@ (guenther@)

  ~ mpbios.c                              

  > Add a default panic case to a switch statement where code after assumes
  > one of the cases was reached.  Matches other parts of the mpbios code.
  > (jsg@)

arch/amd64/conf

  ~ GENERIC                               

  > Enable rtwn(4) on amd64. (stsp@)

  ~ RAMDISK_CD                            

  > Enable rtwn(4) on RAMDISK_CD kernels for upgrades. ok deraadt (stsp@)

arch/amd64/include

  ~ cpu.h                                 

  > Enable use of mwait in non-MP boxes and report # of C-substates up to C7,
  > truncating trailing zeros.
  > Testing by many as part of a larger change to use ACPI _CST objects
  > ok krw@ (guenther@)

  ~ specialreg.h                          

  > Add CR4_FSGSBASE (guenther@)

arch/arm/arm

  ~ cpufunc_asm_armv7.S                   

  > with binutils 2.17 we can change some raw opcodes into instruction names
  > ok miod@ deraadt@ (jsg@)

  ~ locore.S                              

  > Use p15 for the coprocessor name not 15.  gas accepts both forms, clang
  > won't accept just a number which a comment in the gas code mentions is
  > for backward compatibility. (jsg@)

arch/arm/armv7

  ~ bus_space_asm_armv7.S                 

  > with binutils 2.17 we can change some raw opcodes into instruction names
  > ok miod@ deraadt@ (jsg@)

arch/arm/cortex

  ~ agtimer.c                             

  > Add some changes from Patrick Wildt in bitrig that are required to make
  > the qemu cortex a15 useable without trustzone.
  > Establish the interrupt for the non-secure physical timer (30), in
  > addition to the secure physical timer (29).
  > Stop masking the timer output signal in the interrupt handler. (jsg@)

arch/armish/stand

  ~ Makefile.inc                          

  > Missing no-pie logic for bootblocks. (miod@)

arch/armv7/armv7

  ~ armv7var.h                            

  > Initial exynos4 bits.  Among other things the gic isn't mapped correctly
  > on exynos4/5 yet as it isn't at the usual offset from periphbase.
  > ok bmercer@ (jsg@)

arch/armv7/conf

  ~ Makefile.armv7                        

  > with binutils 2.17 we can change some raw opcodes into instruction names
  > ok miod@ deraadt@ (jsg@)

arch/armv7/exynos

  ~ exynos.c                              ~ exynos_machdep.c
  ~ files.exynos                          + exynos4.c

  > Initial exynos4 bits.  Among other things the gic isn't mapped correctly
  > on exynos4/5 yet as it isn't at the usual offset from periphbase.
  > ok bmercer@ (jsg@)

arch/i386/conf

  ~ GENERIC                               

  > enable rtwn(4) on i386 (stsp@)

  ~ RAMDISK_CD                            

  > Enable rtwn(4) on RAMDISK_CD kernels for upgrades. ok deraadt (stsp@)

arch/i386/i386

  ~ cpu.c                                 ~ machdep.c

  > Enable use of mwait in non-MP boxes and report # of C-substates up to C7,
  > truncating trailing zeros.
  > Testing by many as part of a larger change to use ACPI _CST objects
  > ok krw@ (guenther@)

  ~ mpbios.c                              

  > Add a default panic case to a switch statement where code after assumes
  > one of the cases was reached.  Matches other parts of the mpbios code.
  > (jsg@)

arch/i386/include

  ~ cpu.h                                 

  > Enable use of mwait in non-MP boxes and report # of C-substates up to C7,
  > truncating trailing zeros.
  > Testing by many as part of a larger change to use ACPI _CST objects
  > ok krw@ (guenther@)

  ~ specialreg.h                          

  > Add CR4_FSGSBASE (guenther@)

arch/macppc/conf

  ~ GENERIC                               ~ files.macppc

  > Add a new HT-PCI bridge driver and the necessary glue to openpic(4)
  > to get interrupts working on U4 machines.
  > With this OpenBSD can run on PowerMac11,2 (Quad G5).
  > With inputs from and ok kettenis@, miod@, dlg@ (mpi@)

  ~ RAMDISK                               

  > Add hpb(4), reminded by Brad. (mpi@)

arch/macppc/dev

  ~ openpic.c                             

  > Add a new HT-PCI bridge driver and the necessary glue to openpic(4)
  > to get interrupts working on U4 machines.
  > With this OpenBSD can run on PowerMac11,2 (Quad G5).
  > With inputs from and ok kettenis@, miod@, dlg@ (mpi@)

  ~ i2s.c                                 

  > Check for the correct bit in the interrupts property of the device-tree
  > to determin if interrupts should be established as edge/level triggered.
  > Fix audio interrupts on U4 systems.  On such systems the "interrupts"
  > fields in the device-tree has more bits set and cannot be compared to
  > 0. (mpi@)

  ~ smu.c                                 

  > The (no quite so) new kernel perfpolicy code calls cpu_setperf() from a
  > timeout.  Unfortunately the smu(4) CPU voltage slewing code sleeps, which
  > causes a kernel panic.  Prevent this by delegating the CPU frequency
  > switching
  > and voltage slewing to a task.
  > ok mpi@ (kettenis@)

arch/macppc/macppc

  ~ cpu.c                                 

  > The (no quite so) new kernel perfpolicy code calls cpu_setperf() from a
  > timeout.  Unfortunately the smu(4) CPU voltage slewing code sleeps, which
  > causes a kernel panic.  Prevent this by delegating the CPU frequency
  > switching
  > and voltage slewing to a task.
  > ok mpi@ (kettenis@)

  ~ ofw_machdep.c                         

  > Put spaces and commas where they belong. (mpi@)

arch/macppc/pci

  + hpb.c                                 

  > Add a new HT-PCI bridge driver and the necessary glue to openpic(4)
  > to get interrupts working on U4 machines.
  > With this OpenBSD can run on PowerMac11,2 (Quad G5).
  > With inputs from and ok kettenis@, miod@, dlg@ (mpi@)

  ~ mpcpcibus.c                           

  > Support for U4, missed in previous.
  > ok kettenis@, miod@, dlg@ (mpi@)

arch/mips64/mips64

  ~ trap.c                                

  > trunc_page() generally.... succeeds at clearing the page offset
  > bits the first time it is called, so don't do it again.
  > ok miod (deraadt@)

arch/powerpc/include

  ~ pmap.h                                

  > Add bits missed in previous... I suck at cvs. (mpi@)

arch/powerpc/powerpc

  ~ pmap.c                                

  > Remove unneeded splvm() calls and the pool_setipl(9) hack of r1.140.
  > By instructing spl(9) calls on MP machines I figured out that their high
  > cost was hiding a race condition involving PTE reuse in our pmap.  Thanks
  > to deraadt@ for finding a way to trigger such panic by adding a couple of
  > splvm().
  > This should make the races easier to trigger but will be addressed
  > shortly.
  > This commit starts your PowerPC pmap SMP show of the week.
  > ok kettenis@, deraadt@, dlg@ (mpi@)

  ~ pmap.c                                

  > Remove the MANAGED flag when removing a PV entry.
  > Even if this change is not strickly needed, because the memory will be
  > returned to the pool it helped me track the use-after-free. (mpi@)

  ~ pmap.c                                

  > Do only one VP lookup when removing a page.
  > This simplify pmap_remove() & friends by re-using an already fetched PTE
  > descriptor.
  > There's currently a race on MP system where one CPU can reuse a pted
  > while another one is still trying to insert it in the HASH.  This commit
  > starts reducing the number of pmap_vp_lookup() calls to help fix this
  > race.
  > ok kettenis@, deraadt@, dlg@ (mpi@)

  ~ pmap.c                                

  > Introduce pmap_pted_ro() a simple wrapper for the 32/64 bits versions
  > that does not call pmap_vp_lookup().
  > Carreful readers would have notice the removal of the bits on the virtual
  > address with a page mask, this change allows me to find the 13 years old
  > bug fixed in r1.145.
  > ok kettenis@, deraadt@, dlg@ (mpi@)

  ~ pmap.c                                

  > Merge various copies of the same code into a new function to determine
  > if a PTE is present in the HASH.
  > Note that atomicity is currently not guaranteed between this check and
  > the following operations.
  > ok kettenis@, deraadt@, dlg@ (mpi@)

  ~ pmap.c                                

  > Make use of ptesr() instead of rerolling it. (mpi@)

  ~ pmap.c                                

  > Remove DEBUG stuff. (mpi@)

  ~ pmap.c                                

  > More usages of pmap_ptedinhash().
  > If you wonder why pte_insert{32,64}() is not using pmap_hash_remove() if
  > it finds a conflicting PTE in the HASH, it's because in the current state
  > trying to grab the same lock a second time would lead to a deadlock.
  > This is much easier to reproduce on G5 (or G4 with BAT disabled).
  > ok kettenis@, deraadt@, dlg@ (mpi@)

  ~ pmap.c                                

  > Split pteclrbits() into pmap_{test,clear}_attrs().
  > This should not introduce any behavior change but makes the code easier
  > to read and later easier to protect.  This also brings this pmap closer
  > to what others do.
  > Thanks to kettenis@ for spotting a bad typo!
  > ok kettenis@, deraadt@, dlg@ (mpi@)

  ~ pmap.c                                

  > Rewrite PTE manipulation routines to better match the PEM.
  > Document every operation, make sure to call "sync" when appropriate so
  > that other CPUs see the bit changes and finally grab a lock where it was
  > missing to grantee atomicity.
  > ok kettenis@, deraadt@, dlg@ (mpi@)

  ~ pmap.c                                

  > Call pte_spill_v() from the real mode fault handler instead of rerolling
  > it.  This will reduce the number of places to audit for locking.
  > Note that for profiling purposes pte_spill_v() is now marked a __noprof
  > since per-CPU profiling buffers are not guaranteed to be 1:1 mapped and
  > cannot be accessed from the real mode fault handler.
  > ok kettenis@, deraadt@, dlg@ (mpi@)

  ~ pmap.c                                

  > Replace the per-entry locks by a global HASH lock.
  > Since this lock is recursive we can now guarantee the atomicity of
  > pte_inser{32,64}() when a pted has to be removed first.  This fixes
  > one of the races.
  > Using a __mp_lock here also allowed dlg@ to provide me useful traces
  > to fix the next race.  Thanks for your help!
  > ok kettenis@, deraadt@, dlg@ (mpi@)

  ~ pmap.c                                

  > Don't try to be clever when unrolling the loop in pmap_remove().
  > Needed for upcoming locking. (mpi@)

  ~ pmap.c                                

  > Finally protect VP lookups to guarantee that a pted won't be freed or
  > reused by a CPU while another CPU is manipulating it.
  > This races occurs because the virtual spill handlers are run without
  > taking the KERNEL_LOCK for obvious reasons.  So use a per-pmap mutex
  > that CPUs must hold when modifying a pted in order to guarantee the
  > atomicity of operations *and* the coherence between pmap VPs tree and
  > what's in the HASH.
  > Thanks to dlg@ for assisting me debugging this.  This change ends your
  > PowerPC pmap SMP show of the week.  GENERIC.MP on macppc should now be
  > stable enough to build ports without corrupting its own memory.
  > ok kettenis@, deraadt@, dlg@ (mpi@)

arch/sparc/include

  ~ vmparam.h                             

  > Override pie range constants (well, only VM_PIE_MAX_ADDR) with a variable
  > which value is decided at runtime, in order to only enable PIE on sun4m
  > which has a large enough address space. (miod@)

arch/sparc/sparc

  ~ machdep.c                             

  > Override pie range constants (well, only VM_PIE_MAX_ADDR) with a variable
  > which value is decided at runtime, in order to only enable PIE on sun4m
  > which has a large enough address space. (miod@)

arch/sparc64/sparc64

  ~ trap.c                                

  > These days p->p_addr will never be NULL.
  > ok deraadt@ (kettenis@)

dev

  ~ mulaw.c                               

  > remove the now unused alawtolin16 table
  > ok ratchov@ (jsg@)

dev/gpio

  ~ files.gpio                            ~ gpiodcf.c

  > The Swiss Federal Government decided to shut down HBG at the end of 2011.
  > On 6 September 2012 at 12:02:00 UTC both antenna towers were demolished by
  > controlled explosives. So this is not coming back and we can tedu the
  > support for HBG form the DCF77 drivers.
  > Remided by mbalmer (claudio@)

dev/mii

  ~ rgephyreg.h                           

  > Add support for em(4) on Teak 3020, a Tolopai (EP80579)
  > based devices. This introduces Realtek PHY into em driver
  > code and is only a temporary solution to the problem.
  > OK deraadt@ (dms@)

dev/pci

  ~ pcidevs                               

  > fix typo: Wirelsss -> Wireless (stsp@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (stsp@)

  ~ pcireg.h                              

  > Add missing define for hpb(4). (mpi@)

  ~ drm/drm_memory.c                      

  > use mallocarray instead of malloc in drm_calloc (jsg@)

  ~ drm/i915/i915_drv.h                   

  > Switch intel_gmbus_is_port_valid and intel_gmbus_is_forced_bit from
  > extern inline back to static inline so the kernel will build on
  > compilers that default to c99 inline semantics. (jsg@)

  ~ if_vmx.c                              

  > Check if interface was stopped before calling rx/tx interrupt routines.
  > Report & tests by [email protected], thanks!
  > OK deraadt, chris (mikeb@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (dms@)

  ~ pcidevs                               

  > Add more of Tolopai (EP80579) Gigabit controllers id. (dms@)

  ~ if_em.c                               ~ if_em_hw.c
  ~ if_em_hw.h                            ~ if_em_soc.h

  > Add support for em(4) on Teak 3020, a Tolopai (EP80579)
  > based devices. This introduces Realtek PHY into em driver
  > code and is only a temporary solution to the problem.
  > OK deraadt@ (dms@)

  ~ pcidevs                               

  > + REALTEK RT8191SE (deraadt@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > sync (deraadt@)

  + if_rtwn.c                             + if_rtwnreg.h

  > New rtwn(4) driver for RTL8188CE wifi cards.
  > This is a PCI card from the same chip family as supported by urtwn(4) on
  > USB.
  > Development started in 2013 using urtwn(4) as a starting point but was
  > dormant
  > for much of the time since. I finally unslacked after uwe@ provided help
  > with
  > lifting this driver on its feet. As usual we got helpful hints from Theo.
  > Requires firmware which will be available in ports soon.
  > There are rate adaptation issues that still need to be fixed, cause
  > unknown.
  > In my testing the hardware rarely transmits more than 1Mbit/s.
  > Committing over MAC/BB RTL8188CE, RF 6052 1T1R. (stsp@)

  ~ files.pci                             

  > attach rtwn at pci (stsp@)

  ~ pcidevs                               

  > Add another PCI ID for Intel Dual Band Wireless AC 3165. From brad. (stsp@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (stsp@)

  ~ files.pci                             

  > mark the usb hci driver pci glue code as only needed by the pci attachment,
  > not all usb controllers.
  > this lets jsg build ehci on a platform that lacks a pci bus.
  > ok jsg@ (dlg@)

dev/usb

  ~ udcf.c                                

  > The Swiss Federal Government decided to shut down HBG at the end of 2011.
  > On 6 September 2012 at 12:02:00 UTC both antenna towers were demolished by
  > controlled explosives. So this is not coming back and we can tedu the
  > support for HBG form the DCF77 drivers.
  > Remided by mbalmer (claudio@)

kern

  ~ uipc_mbuf.c                           

  > If the first list was empty, ml_join() did not not clear the second
  > list after transferring all elements away.  Reorder the conditionals
  > to make sure that ml_init() is always called for a non empty second
  > list.  This makes all cases consistent and is less surprising.
  > OK dlg@ (bluhm@)

net

  ~ if_tun.c                              

  > Convert tun(4) to if_input().
  > Tested by Norman Golisz and <mxb AT alumni DOT chalmers DOT se>, thanks!
  > ok bluhm@ (mpi@)

  ~ if_ethersubr.c                        

  > Take carp(4) out of ether_input().
  > Tested by <mxb AT alumni DOT chalmers DOT se>, thanks!
  > ok bluhm@, dlg@ (mpi@)

  ~ if_bridge.c                           

  > Use if_input() instead of ether_input_mbuf().
  > ok jasper@, bluhm@ (mpi@)

  ~ if.c                                  ~ if_var.h

  > RIP ether_input_mbuf(). (mpi@)

  ~ if_ppp.c                              ~ if_pppvar.h
  ~ ppp_tty.c                             

  > there's been a long standing issue in ppp on a tty/serial line where it
  > allocates mbufs at IPL_SOFTTTY, which is above the IPL_NET the mbuf layer
  > protects itself at.
  > recent improvements to diagnostics in pools and mbufs now panic
  > instead of letting these things silently corrupt.
  > this reworks the ppp handling in the tty layer so it has its own
  > private pool to allocate packet memory out of. these packets get
  > built and then queued for softnet to process. softnet dequeues the
  > packet and attaches it to mbufs as external storage before handing
  > it on to the rest of the stack.
  > this was reported on bugs@ and tested by both Walter Daugherity and
  > Martin van den Nieuwelaar
  > ok deraadt@ mpi@ (dlg@)

  ~ pf_lb.c                               

  > Fix pf_map_addr() not to cause dividing by 0.  This fixes problem when
  > using table or dynamic interface addresses for source-hash.  Also
  > avoid calling arc4random_uniform() with upper_bound == 0.
  > ok mikeb (yasuoka@)

  ~ if.c                                  

  > Adjust yielding condition slightly in the if_input_process thread.
  > ok mpi, kettenis (mikeb@)

  ~ pf.c                                  ~ pfvar.h

  > Improve error handling and recovery during state insertion
  > Reshuffle the code around a bit and greatly improve error handling
  > fixing a few bugs along the way.
  > Problem reported by and fix was written with Alexandr Nedvedicky.
  > OK henning (mikeb@)

  ~ route.c                               

  > Put the link-layer address back into the gateway field of RTF_LOCAL
  > routes.
  > Since such routes are also flagged with RTF_LLINFO various code path
  > assume correctly that they contain valid ARP or ND information.
  > This fixes the "arpresolve: unresolved and rt_expire == 0" issue
  > reported on tech@ by mxb <mxb AT alumni DOT chalmers DOT se>.
  > ok claudio@, phessler@ (mpi@)

  ~ if.c                                  ~ if.h
  ~ if_pflow.c                            ~ pf.c
  ~ pf_table.c                            

  > Introduce unhandled_af() for cases where code conditionally does
  > something based on an address family and later assumes one of the paths
  > was taken.  This was initially just calls to panic until guenther
  > suggested a function to reduce the amount of strings needed.
  > This reduces the amount of noise with static analysers and acts
  > as a sanity check.
  > ok guenther@ bluhm@ (jsg@)

netinet

  ~ ip_carp.c                             ~ ip_carp.h

  > Take carp(4) out of ether_input().
  > Tested by <mxb AT alumni DOT chalmers DOT se>, thanks!
  > ok bluhm@, dlg@ (mpi@)

  ~ udp_usrreq.c                          

  > Try harder to avoid (very unlikely) NULL pointer de-ref by tweaking
  > code to use sotopf() like tcp_usrreq() does. Also following
  > tcp_usrreq(), put more stuff under splsoftnet. And as a result
  > in-line code in udp_detach() and nuke udp_detach().
  > Most ideas from and ok mikeb@ (krw@)

  ~ if_ether.c                            ~ ip_icmp.c
  ~ ip_input.c                            ~ ip_output.c
  ~ raw_ip.c                              ~ tcp_input.c
  ~ tcp_output.c                          ~ tcp_usrreq.c

  > Replace a bunch of == 0 with == NULL in pointer tests. Nuke some
  > annoying trailing, leading and embedded whitespace. No change to
  > .o files.
  > ok deraadt@ (krw@)

  ~ tcp_input.c                           ~ tcp_usrreq.c

  > Introduce unhandled_af() for cases where code conditionally does
  > something based on an address family and later assumes one of the paths
  > was taken.  This was initially just calls to panic until guenther
  > suggested a function to reduce the amount of strings needed.
  > This reduces the amount of noise with static analysers and acts
  > as a sanity check.
  > ok guenther@ bluhm@ (jsg@)

netinet6

  ~ nd6_rtr.c                             

  > Remove unused sa_dl. (mpi@)

  ~ nd6.c                                 

  > Put the link-layer address back into the gateway field of RTF_LOCAL
  > routes.
  > Since such routes are also flagged with RTF_LLINFO various code path
  > assume correctly that they contain valid ARP or ND information.
  > This fixes the "arpresolve: unresolved and rt_expire == 0" issue
  > reported on tech@ by mxb <mxb AT alumni DOT chalmers DOT se>.
  > ok claudio@, phessler@ (mpi@)

scsi

  ~ cd.c                                  ~ mpath.c
  ~ mpath_hds.c                           ~ safte.c
  ~ scsi_all.h                            ~ scsi_base.c
  ~ scsi_changer.h                        ~ scsi_debug.h
  ~ scsi_disk.h                           ~ scsi_ioctl.c
  ~ scsi_tape.h                           ~ scsiconf.c
  ~ scsiconf.h                            ~ sd.c
  ~ st.c                                  

  > More damned eye searing whitespace. (krw@)

== usr.bin =========================================================== 13/14 ==

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

file

  ~ sandbox.c                             

  > systrace(4) STRIOCATTACH can only fail for file(1) if it is already
  > systraced. If so, silently ignore the error and do not attempt to apply
  > our own systrace policy. From Patrick Keshishian. (nicm@)

from

  ~ from.1                                ~ from.c

  > Modernize from(1) a bit.  Use getline() to support longer lines and
  > document the environment variables used.  OK deraadt@ (millert@)

  ~ from.c                                

  > Move warning on open failure to open_mbox() where we have the file name.
  > (millert@)

  ~ from.c                                

  > Treat a missing mail spool the same as a zero-length mail spool
  > unless the -f option was specified.  OK deraadt@ (millert@)

mandoc

  ~ roff.c                                

  > Implement the roff(7) `r' (register exists) conditional.
  > Missing feature found by Markus <Waldeck at gmx dot de>
  > in Debian's bash(1) manual page. (schwarze@)

mg

  ~ def.h                                 ~ line.c
  ~ match.c                               

  > Remove unused defines and functions.
  > "Looks fine." deraadt@ (bcallah@)

ssh

  ~ ssh_config.5                          

  > mention CheckHostIP adding addresses to known_hosts;
  > bz#1993; ok dtucker@ (djm@)

  ~ sshd_config.5                         

  > typo: accidental repetition; bz#2386 (djm@)

  ~ channels.c                            

  > For "ssh -L 12345:/tmp/sock" don't fail with "No forward host name."
  > (we have a path, not a host name).  Based on a diff from Jared Yanovich.
  > OK djm@ (millert@)

tmux

  ~ server.c                              

  > does not need syslog.h (deraadt@)

  ~ server.c                              

  > Clear signal handlers before event_reinit as apparently it can otherwise
  > cause libevent to go strange. (nicm@)

  ~ input.c                               

  > Missing t at end of response, from Vincent Bernat. (nicm@)

  ~ input.c                               

  > teminal -> terminal, from Corey Farwell. (nicm@)

  ~ cmd-find.c                            ~ cmd-join-pane.c
  ~ cmd-select-pane.c                     ~ cmd-swap-pane.c
  ~ cmd-swap-window.c                     ~ key-bindings.c
  ~ screen-redraw.c                       ~ server.c
  ~ tmux.1                                ~ tmux.h
  ~ window.c                              

  > Add support for a single "marked pane". There is one marked pane in the
  > server at a time; it may be toggled or cleared with select-pane -m and
  > -M (the border is highlighted). A new target '~' or '{marked}' specifies
  > the marked pane to commands and it is the default target for the
  > swap-pane and join-pane -s flag (this makes them much simpler to use -
  > mark the source pane and then change to the target pane to run swapp or
  > joinp). (nicm@)

  ~ cmd-set-option.c                      ~ tmux.1

  > Make unsetting a global option restore it to the default. Diff lying
  > around for a while, I have forgotten who suggested it :-/. (nicm@)

  ~ tmux.1                                ~ tmux.c

  > tweak SYNOPSIS and usage(); (jmc@)

  ~ client.c                              ~ cmd-attach-session.c
  ~ cmd-new-session.c                     ~ server-client.c
  ~ tmux.h                                

  > Move the nested check from client to server and compare the client tty
  > name to all the pane pty names instead of comparing socket paths. This
  > means that "new -d" will work without unsetting $TMUX. (nicm@)

  ~ cmd-find.c                            ~ key-bindings.c
  ~ tmux.1                                

  > Make it so that if a window or session target is prefixed with an =,
  > only an exact name or index match is accepted, no special character,
  > prefix match, or fnmatch. (nicm@)

  ~ cmd-find.c                            

  > Fix a warning. (nicm@)

  ~ tty-keys.c                            

  > Do not use the key variable uninitialized (in a debug log statement),
  > reported by jungleboogie0 at gmail dot com. (nicm@)

  ~ cmd-confirm-before.c                  ~ cmd-load-buffer.c
  ~ server-client.c                       ~ server.c
  ~ tmux.h                                

  > Instead of putting dead clients on a list and checking it every loop,
  > use event_once to queue a callback to deal with them. Also dead clients
  > with references would never actually be freed because the wrap-up
  > functions (the callback for stdin, or status_prompt_clear) would never
  > be called. So call them in server_client_lost. (nicm@)

  ~ cfg.c                                 ~ cmd-confirm-before.c
  ~ cmd-load-buffer.c                     ~ notify.c
  ~ server-client.c                       ~ tmux.h

  > Change deref to the more sensible unref, and add a couple I missed before.
  > (nicm@)

  ~ notify.c                              ~ server.c
  ~ session.c                             ~ tmux.h
  ~ window-choose.c                       

  > Similarly, for sessions use a callback to free rather than checking
  > every loop. (nicm@)

  ~ colour.c                              

  > Use fixed colour tables rather than generated and do a quick search for
  > exact match before doing the distance comparison. (nicm@)

  ~ colour.c                              ~ input.c
  ~ tmux.h                                

  > Handle the RGB colour escape sequence (\033[38;2;<r>;<g>;<b>m and 48;2)
  > like xterm(1) does, by mapping to the nearest in the 256 colour palette.
  > (nicm@)

  ~ colour.c                              

  > Use ints for the calculations rather than u_char, they could end up
  > signed. (nicm@)

  ~ cmd-attach-session.c                  ~ cmd-new-session.c
  ~ cmd-switch-client.c                   ~ tmux.1
  ~ tmux.h                                

  > Add -E flag when attaching or switching client to bypass
  > update-environment, from Steven Lu. (nicm@)

units

  ~ units.lib                             

  > update currency exchange rates;
  > note: no updates for iceland, ukraine, and vietnam as they're showing "n/a"
  > for the past two months on the economist (no idea) (jmc@)

== usr.sbin ========================================================== 14/14 ==

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

arp

  ~ arp.c                                 

  > Explicitly request the sockaddr_dl when doing a RTM_GET rather than
  > assuming that it will be in the gateway sa.
  > Fixes a regression introduced with the support of multiple connected
  > routes, found the hardway by deraadt@.
  > ok claudio@ (mpi@)

dhcpd

  ~ dhcp-options.5                        

  > write Mobile IP{,v6} in a consistent way, as given in RFCs 5944 and 6275.
  > ok jmc@ (sobrado@)

httpd

  ~ httpd.c                               

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

ldapd

  ~ btree.c                               ~ index.c
  ~ ldape.c                               ~ search.c

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

ndp

  ~ ndp.c                                 

  > Explicitly request the sockaddr_dl when doing a RTM_GET rather than
  > assuming that it will be in the gateway sa.
  > Fixes a regression introduced with the support of multiple connected
  > routes, found the hardway by deraadt@.
  > ok claudio@ (mpi@)

pkg_add

  ~ OpenBSD/FwUpdate.pm                   

  > Add rtwn(4) to fw_update. ok espie@, czarkoff@ suggested a similar diff
  > (stsp@)

relayctl

  ~ Makefile                              

  > Turn off -Werror in relayctl. (reyk@)

relayd

  ~ relay_http.c                          

  > Fix memory leak in error case. OK bluhm@ benno@ (claudio@)

  ~ relayd.c                              

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

rtadvd

  ~ rtadvd.8                              

  > write Mobile IP{,v6} in a consistent way, as given in RFCs 5944 and 6275.
  > ok jmc@ (sobrado@)

  ~ dump.c                                

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

sensorsd

  ~ sensorsd.c                            

  > Don't leak value returned by cgetstr().  OK deraadt@ (millert@)

smtpd

  ~ smtpd.c                               

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

  ~ smtpd.conf.5                          

  > spacing, makes example fit on display.
  > no objection from gilles@ (sobrado@)

snmpd

  ~ snmpd.c                               

  > Do not assume that asprintf() clears the pointer on failure, which
  > is non-portable.  Also add missing asprintf() return value checks.
  > OK deraadt@ guenther@ doug@ (millert@)

sysmerge

  ~ sysmerge.sh                           

  > fix variable name typo
  > ok ajacoutot@ (jung@)

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

Reply via email to