OpenBSD src changes summary for 2017-07-16 to 2017-07-23 inclusive
==================================================================

bin/csh                                 distrib/miniroot
etc/MAKEDEV.common                      etc/etc.amd64/MAKEDEV
etc/etc.i386/MAKEDEV                    etc/netstart
etc/rc                                  gnu/lib/libobjc
gnu/usr.bin/cc                          lib/libc
lib/libcrypto                           lib/libexpat
lib/libssl                              libexec/ld.so
libexec/login_skey                      regress/bin
regress/lib                             regress/sbin
regress/sys                             regress/usr.bin
sbin/dhclient                           sbin/iked
sbin/isakmpd                            sbin/pfctl
sbin/pflogd                             sbin/slaacd
sbin/sysctl                             sbin/wsconsctl
share/man                               share/mk
sys/arch/alpha/conf                     sys/arch/amd64/amd64
sys/arch/amd64/conf                     sys/arch/amd64/stand/efiboot
sys/arch/amd64/stand/libsa              sys/arch/arm/arm
sys/arch/arm64/arm64                    sys/arch/arm64/conf
sys/arch/arm64/stand/efiboot            sys/arch/armv7/armv7
sys/arch/armv7/conf                     sys/arch/armv7/imx
sys/arch/hppa/conf                      sys/arch/hppa/hppa
sys/arch/hppa/include                   sys/arch/i386/conf
sys/arch/i386/i386                      sys/arch/i386/stand/libsa
sys/arch/landisk/conf                   sys/arch/loongson/conf
sys/arch/luna88k/conf                   sys/arch/luna88k/luna88k
sys/arch/macppc/conf                    sys/arch/macppc/macppc
sys/arch/mips64/mips64                  sys/arch/octeon/conf
sys/arch/sgi/conf                       sys/arch/sgi/dev
sys/arch/socppc/conf                    sys/arch/sparc64/conf
sys/conf                                sys/dev
sys/dev/acpi                            sys/dev/fdt
sys/dev/i2c                             sys/dev/ic
sys/dev/microcode                       sys/dev/pci
sys/dev/pckbc                           sys/dev/pv
sys/dev/usb                             sys/dev/wscons
sys/kern                                sys/net
sys/net80211                            sys/nfs
sys/sys                                 sys/uvm
usr.bin/aucat                           usr.bin/bc
usr.bin/cvs                             usr.bin/libtool
usr.bin/make                            usr.bin/mandoc
usr.bin/newsyslog                       usr.bin/rpcinfo
usr.bin/sed                             usr.bin/sndiod
usr.bin/ssh                             usr.bin/systat
usr.bin/telnet                          usr.bin/tmux
usr.bin/vi                              usr.sbin/apm
usr.sbin/config                         usr.sbin/hostctl
usr.sbin/httpd                          usr.sbin/ifstated
usr.sbin/pkg_add                        usr.sbin/rebound
usr.sbin/sensorsd                       usr.sbin/vmd

== bin =============================================================== 01/12 ==

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

csh

  ~ file.c                                

  > Restore tty when aborting loop.
  > ok deraadt@ (anton@)

== distrib =========================================================== 02/12 ==

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

miniroot

  ~ install.sub                           

  > Fix IPv6 default router selection
  > - adjust to changed ping6 output
  > - tighten sed expression
  > - remove second sed, bsort() prints a unique list
  > reported by Paul de Weerd and others
  > prompted by a diff from Klemens Nanni
  > OK florian@ (rpe@)

  ~ install.sub                           

  > Zap space between function name and parens.
  > ok deraadt@ rpe@ tb@ (anton@)

  ~ install.sub                           

  > Move the execution of the {install,upgrade}.site script to the end
  > of the install/upgrade process.
  > OK tb@ (rpe@)

  ~ install.sub                           

  > autoinstall(8) related global variables are prefixed with AI_.
  > RESPFILE -> AI_RESPFILE
  > OK krw@ tb@ (rpe@)

  ~ install.sub                           

  > Align ifstart() in netstart and install.sub.
  > - in netstart, rename _file to _hn referencing hostname.if files
  > - in install.sub switch ifstart() to be used with _if instead of
  > _hn as parameter
  > ok krw@ tb@ (rpe@)

  ~ install.sub                           

  > Rename _hn to AI_HOSTNAME and export it as global variable so it's
  > visible in the MODE.site scripts too.
  > This is useful for reporting back the autoinstall status at the end
  > of installs or upgrades from within the MODE.site scripts.
  > OK krw@ tb@ (rpe@)

== etc =============================================================== 03/12 ==

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

MAKEDEV.common

  ~ MAKEDEV.common                        

  > Multiple virtualization layers may be available at the same time
  > reachable through different pvbus device nodes.
  > Suggestion and OK deraadt, OK reyk (mikeb@)

etc.amd64/MAKEDEV

  ~ etc.amd64/MAKEDEV                     

  > sync (mikeb@)

etc.i386/MAKEDEV

  ~ etc.i386/MAKEDEV                      

  > sync (mikeb@)

netstart

  ~ netstart                              

  > Align ifstart() in netstart and install.sub.
  > - in netstart, rename _file to _hn referencing hostname.if files
  > - in install.sub switch ifstart() to be used with _if instead of
  > _hn as parameter
  > ok krw@ tb@ (rpe@)

rc

  ~ rc                                    

  > Optimize and simplify the selection of the latest library version in
  > reorder_libs().
  > From Klemens Nanni with input from rpe.
  > ok rpe, zhuk (tb@)

  ~ rc                                    

  > Now that choosing the library versions is much faster, we can do
  > it after remounting the filesystem containing /usr/lib as rw:
  > the former is pointless if the latter should happen to fail.
  > From Klemens Nanni
  > ok rpe (tb@)

  ~ rc                                    

  > Use a more compact way to compose the initial pf ruleset.
  > Diff from Klemens Nanni
  > OK tb@ zhuk@ (rpe@)

  ~ rc                                    

  > Tweak previous. (rpe@)

  ~ rc                                    

  > Use numerical sysctl output to check for nfs mounts.
  > OK tb@ (rpe@)

  ~ rc                                    

  > Use a bit better idiom to get most recent version of the library
  > being reordered.
  > okay tb@ deraadt@ (zhuk@)

== gnu =============================================================== 04/12 ==

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

lib/libobjc

  ~ Makefile.bsd-wrapper                  

  > more depends gc / yacc rules overhaul
  > okay millert@ (espie@)

usr.bin/cc

  ~ cc_tools/Makefile                     

  > more depends gc / yacc rules overhaul
  > okay millert@ (espie@)

== lib =============================================================== 05/12 ==

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

libc

  ~ sys/sendsyslog.2                      

  > Both syslog(3) and syslogd(8) truncate the message at 8192 bytes.
  > Do the same in sendsyslog(2) and document the behavior.
  > reported by Ilja Van Sprundel; OK millert@ deraadt@ (bluhm@)

  ~ gen/syslog_r.c                        

  > Rename TBUF_LEN and FMT_LEN to _SIZE as they contain a NUL byte.
  > Change FMT_SIZE to 1024+1 for consistency.  Do not loop over the
  > format string if there is no output space left.
  > OK deraadt@ millert@ (bluhm@)

  ~ sys/mmap.2                            

  > Accessing a mmap(2)ed file behind its end should result in a SIGBUS
  > according to POSIX.  Bring regression test and kernel in line for
  > amd64 and i386.  Other architectures have to follow.
  > OK deraadt@ kettenis@ (bluhm@)

  ~ crypt/crypt_checkpass.3               

  > rework the page a bit, clarify a few things, maybe better wording (tedu@)

libcrypto

  ~ x509v3/v3_ncons.c                     

  > Allow leading . in nameConstraints. from openssl via jabberwock. ok jsing
  > (tedu@)

libexpat

  ~ Changes                               ~ README
  ~ lib/expat.h                           ~ lib/siphash.h
  ~ lib/xmlparse.c                        ~ tests/memcheck.c
  ~ tests/minicheck.h                     ~ tests/runtests.c

  > Update libexpat to 2.2.2.  Fixes NULL parser dereference.
  > no objections deraadt@ (bluhm@)

libssl

  ~ Makefile                              ~ t1_lib.c
  + ssl_tlsext.c                          + ssl_tlsext.h

  > Start rewriting TLS extension handling.
  > Introduce a TLS extension handling framework that has per-extension type
  > functions to determine if an extension is needed, to build the extension
  > data and parse the extension data. This is somewhat analogous to BoringSSL,
  > however these build and parse functions are intentionally symetrical. The
  > framework is hooked into the existing TLS handling code in such a way that
  > we can gradual convert the extension handling code.
  > Convert the TLS Server Name Indication extension to the new framework,
  > while rewriting it to use CBB/CBS and be more strict in the process.
  > Discussed with beck@
  > ok inoguchi@ (jsing@)

  ~ t1_lib.c                              

  > Check the return value of CBB_init_fixed(), since it can fail. (jsing@)

  ~ t1_lib.c                              

  > Hook the TLS extension parsing framework into the serverhello parsing.
  > Missed in the original commit. (jsing@)

== libexec =========================================================== 06/12 ==

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

ld.so

  ~ malloc.c                              

  > from libc malloc: only access offset if canaries are enabled *and* size > 0
  > and initialize ->offset to a definite value in the size == 0 case (otto@)

login_skey

  ~ login_skey.c                          

  > When login_skey was called for a user without skey, it crashed with
  > NULL pointer dereference.  It tried to pass a file descriptor that
  > did not exist.  This has to be done conditionally.
  > bug found by Raimund Specht with process accounting; OK millert@ (bluhm@)

== regress =========================================================== 07/12 ==

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

bin

  ~ csh/filec.sh                          ~ ksh/edit/edit.c
  ~ ksh/edit/emacs.sh                     ~ ksh/edit/subr.sh
  ~ ksh/edit/vi.sh                        

  > The first version of the edit program used to test csh, ksh and mail was
  > based
  > on the following reasoning: once the program to test has written some data
  > it
  > has entered the main-loop and is by now ready to receive user input. At
  > this
  > point it should be safe to start writing input and once the program once
  > again
  > enters a blocking reading state, its done processing the input. This
  > approach
  > was sensitive to timing and determining when a shell is done processing its
  > input (if ever) is tricky.
  > This iteration of the edit program takes a new approach and uses presence
  > of a
  > prompt for synchronisation of I/O. It doesn't solve all problems but is a
  > step
  > in the right direction.
  > Joint work with bluhm@ (anton@)

lib

  ~ libssl/Makefile                       + libssl/tlsext/Makefile
  + libssl/tlsext/tlsexttest.c            

  > Provide a new regress test for TLS extension handlers, currently covering
  > the newly converted SNI code. (jsing@)

sbin

  ~ pfctl/Makefile                        + pfctl/pf105.in
  + pfctl/pf106.in                        + pfctl/pf107.in
  + pfctl/pf108.in                        + pfctl/pf109.in
  + pfctl/pf105.ok                        + pfctl/pf106.ok
  + pfctl/pf107.ok                        + pfctl/pf108.ok
  + pfctl/pf109.ok                        + pfctl/pf110.in
  + pfctl/pf111.in                        + pfctl/pf110.ok
  + pfctl/pf111.ok                        + pfctl/pfail58.in
  + pfctl/pfail59.in                      + pfctl/pfail58.ok
  + pfctl/pfail59.ok                      + pfctl/pfail60.in
  + pfctl/pfail61.in                      + pfctl/pfail62.in
  + pfctl/pfail60.ok                      + pfctl/pfail61.ok
  + pfctl/pfail62.ok                      

  > Regression tests asserting various HFSC and FQ-CoDel functionality (mikeb@)

  ~ pfctl/pf109.ok                        ~ pfctl/pf110.in
  ~ pfctl/pf110.ok                        

  > Fixup pf109.ok and rewrite pf110 (mikeb@)

sys

  ~ kern/noexec/Makefile                  ~ kern/noexec/noexec.c

  > The function getaddr() compares the stack address of the caller
  > with its own local variable.  This way it detects the direction of
  > stack growth.  This does not work if the functions gets inlined.
  > Pass -fno-inline to the compiler to avoid sporadic tests fails. (bluhm@)

  ~ kern/siginfo-fault/siginfo-fault.c    

  > Accessing a mmap(2)ed file behind its end should result in a SIGBUS
  > according to POSIX.  Bring regression test and kernel in line for
  > amd64 and i386.  Other architectures have to follow.
  > OK deraadt@ kettenis@ (bluhm@)

usr.bin

  ~ mandoc/mdoc/Bl/Makefile               ~ mandoc/mdoc/Bl/diag.in
  ~ mandoc/mdoc/Bl/diag.out_ascii         ~ mandoc/mdoc/Bl/diag.out_markdown
  ~ mandoc/mdoc/Bl/inset.in               + mandoc/mdoc/Bl/diag.out_lint
  + mandoc/mdoc/Bl/inset.out_lint         

  > test -diag -width and -inset -width (schwarze@)

  ~ mandoc/mdoc/Bl/diag.out_ascii         ~ mandoc/mdoc/Bl/diag.out_markdown
  ~ mandoc/mdoc/Bl/inset.out_ascii        ~ mandoc/mdoc/Bl/inset.out_markdown

  > fix dates (schwarze@)

  ~ mail/send.sh                          

  > Fix failing tests when executed as a user without a ~/.mailrc configuration
  > file.
  > While here, fix a flaky test. (anton@)

  ~ mail/send.sh                          

  > The first version of the edit program used to test csh, ksh and mail was
  > based
  > on the following reasoning: once the program to test has written some data
  > it
  > has entered the main-loop and is by now ready to receive user input. At
  > this
  > point it should be safe to start writing input and once the program once
  > again
  > enters a blocking reading state, its done processing the input. This
  > approach
  > was sensitive to timing and determining when a shell is done processing its
  > input (if ever) is tricky.
  > This iteration of the edit program takes a new approach and uses presence
  > of a
  > prompt for synchronisation of I/O. It doesn't solve all problems but is a
  > step
  > in the right direction.
  > Joint work with bluhm@ (anton@)

  ~ mandoc/mdoc/Sh/before.in              ~ mandoc/mdoc/Sh/before.out_ascii
  ~ mandoc/mdoc/Sh/before.out_markdown    ~ mandoc/mdoc/Sh/subbefore.in
  ~ mandoc/mdoc/Sh/subbefore.out_ascii    
  ~ mandoc/mdoc/Sh/subbefore.out_markdown

  > Avoid cross reference to mandoc(1) because it may cause a message
  > on other operating systems where mandoc is not installed,
  > causing the test to fail in the portable test suite. (schwarze@)

  ~ make/Makefile                         + make/mk38bis

  > extra test because mk38 triggers two issues and fixing the first one
  > makes the second one vanish (espie@)

== sbin ============================================================== 08/12 ==

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

dhclient

  ~ dhclient.8                            ~ dhclient.c
  ~ dhcpd.h                               

  > Remove some magic formerly used to detect the presence of another
  > dhclient taking control of the interface.
  > In particular do not exit when addresses are manually added to or
  > deleted from the interface dhclient(8) is concerned about. Note that
  > such changes will still be removed whenever dhclient(8) is re-started
  > or gets a different lease during renewal. (krw@)

  ~ dhclient.c                            

  > Nuke findproto() and get_ifa(). They are unused now that
  > RTM_DELADDR and RTM_NEWADDR are no longer of interest.
  > Pointed out by jca@ (krw@)

  ~ kroute.c                              

  > Nuke unused variables 'deleting' and 'adding'. (krw@)

  ~ dhclient.c                            

  > Restore RTM_DELADDR/RTM_NEWADDR monitoring to the
  > minimum required to ensure that resolv.conf is
  > written out on startup/HUP.
  > Noticed by and fix tested by jmc@ (krw@)

  ~ dhclient.c                            

  > whitespace botch. (krw@)

  ~ dhclient.c                            ~ dhcpd.h
  ~ kroute.c                              ~ privsep.c
  ~ privsep.h                             

  > s/set_interface_mtu/set_mtu/g (krw@)

  ~ dhclient.c                            ~ dhcpd.h
  ~ kroute.c                              

  > Add set_routes() and move bind_lease() route magic
  > into it. Swap parameter order in add_default_route() to
  > be consistant with other add_*_route() functions. (krw@)

  ~ privsep.h                             ~ kroute.c

  > Cease pretending to support option 33 (classFULL static routes). They
  > are dead to the internet. And the current code actually creates /32
  > routes since kernel magic for classfull routes died a while ago.
  > ok phessler@ claudio@ reyk@ sthen@ (krw@)

iked

  ~ Makefile                              

  > more depends gc / yacc rules overhaul
  > okay millert@ (espie@)

isakmpd

  ~ ipsec.c                               

  > Prevent a NULL dereference when comparing incomplete SAs.
  > This deference can occur because sa_find() is called from a timer and
  > iterates over all existing `sa'.  At that time the corresponding
  > `finalize_exchange' might not have been called, in which case it is
  > unsafe to dereference `src_net', `dst_net' & co.
  > Issue reported by Michał Koc. ok hshoexer@, markus@ (mpi@)

pfctl

  ~ parse.y                               ~ pfctl.c
  ~ pfctl_queue.c                         

  > Rework HFSC vs FQ-CoDel checks
  > The selection mechanism introduced in pf_ioctl.c -r1.316 suffers
  > from being too ambiguous and lacks robustness. Instead of relying
  > on composition of multiple flags in the queue specification, it's
  > easier to identify the root class (if it exists) and derive all
  > further checks from it. (mikeb@)

  ~ parse.y                               ~ pfctl.c
  ~ pfctl_parser.c                        

  > Allow HFSC classes to use flow queues
  > The FQ-CoDel related configuration (flows, quantum) becomes available
  > for the regular bandwidth queue.  Internally the kernel will pick the
  > FQ-CoDel for use as a queue manager for the specified class instead of
  > the FIFO.
  > Discussed with and OK henning@ at d2k17 as a part of a larger diff.
  > (mikeb@)

  ~ pfctl.8                               

  > "no-route" is also shown by -sinfo; (jmc@)

pflogd

  ~ pflogd.c                              

  > Don't hit pledge(2) restrictions on interface departure
  > if_exists() can't be used after dropping privileges, since it uses
  > socket(2) and ioctl(SIOCGIFDATA).  We're just trying to know whether an
  > interface exists, and if_nametoindex(3) is enough for that.
  > ok deraadt@ (jca@)

slaacd

  ~ engine.c                              

  > Overhaul handling of vltime and pltime processing
  > - make sure to not send solicitations at a very high rate indefinitely
  > if pltime is 0
  > (we still need some sort of rate limiting here)
  > - implement RFC 4862 5.5.3 two hours rule wrt vltime
  > - allow pltime of 0 so that a router can withdraw a prefix (florian@)

sysctl

  ~ sysctl.c                              

  > add support for binary sysctl payloads by handling them as hex strings.
  > this was part of a demo showing how to implement the kernel side of
  > sysctl(3) for setting Semantically Opaque Interface Identifier key
  > material, but it seems to be the most straightforward path toward
  > integrating soiikey handling and rc.
  > ok florian@ sthen@ naddy@ tb@ (dlg@)

  ~ sysctl.c                              

  > revert previous; the code this was supposed to be used for is moving
  > in the wrong direction. (florian@)

wsconsctl

  ~ Makefile                              ~ mouse.c
  ~ util.c                                ~ wsconsctl.c
  ~ wsconsctl.h                           + mousecfg.c
  + mousecfg.h                            

  > Add fields for wsmouse/touchpad configuration. (bru@)

== share ============================================================= 09/12 ==

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

man

  ~ man7/mdoc.7                           

  > update link to mandoc.bsd.lv (schwarze@)

  ~ man4/ciss.4                           

  > Fixup too much indentation (mikeb@)

  ~ man4/xen.4                            

  > Document settings for XenServer
  > Figured out by Dinar Talypov and Maxim Khitrov.  With input from
  > deraadt@ and schwarze@.  OK schwarze. (mikeb@)

mk

  ~ bsd.README                            

  > 1. The cleandir target no longer deletes manual pages, that's a
  > remnant from the remote past when we used to install preformatted
  > manuals.
  > 2. The list of files deleted by the clean target grew out of date
  > and was incomplete, but we already know that it will change again
  > soon, so delete overdocumentation.
  > Feedback and OK espie@. (schwarze@)

  ~ bsd.README                            

  > Avoid the historical term "loader", consistently talk about the "linker".
  > Outdated terminology noticed by espie@. (schwarze@)

  ~ bsd.prog.mk                           

  > Garbage collect unused manual page .SUFFIXES, left over
  > years ago when we formatted manual pages at build time.
  > Opportunity for cleanup discovered by espie@.
  > Make build & release in base and Xenocara checked myself,
  > and checked in a bulk build by ajacoutot@.
  > OK espie@ millert@ deraadt@ (schwarze@)

  ~ bsd.man.mk                            

  > document that usage of .PHONY, since it's not exactly obvious.
  > okay schwarze@ (espie@)

== sys =============================================================== 10/12 ==

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

arch/alpha/conf

  ~ Makefile.alpha                        

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.alpha                        

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

arch/amd64/amd64

  ~ db_interface.c                        

  > Add a enter_ddb() "accessop" to wsdisplay(4) to allow KMS drivers to bypass
  > the modeset lock when entering ddb.  This avoids triggering various asserts
  > when the kernel panics while running X.
  > ok deraadt@ (kettenis@)

  ~ trap.c                                

  > Accessing a mmap(2)ed file behind its end should result in a SIGBUS
  > according to POSIX.  Bring regression test and kernel in line for
  > amd64 and i386.  Other architectures have to follow.
  > OK deraadt@ kettenis@ (bluhm@)

arch/amd64/conf

  ~ Makefile.amd64                        

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.amd64                        

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

  ~ Makefile.amd64                        

  > permit kernel building with clang as the base compiler; ok kettenis@
  > (naddy@)

arch/amd64/stand/efiboot

  ~ efidev.c                              

  > Check the hibernation signature for softraid disks and select valid bsd
  > for unhibernation.  reported by Natasha Kerensikova.  tested by Theo
  > Buehler.
  > ok deraadt (yasuoka@)

arch/amd64/stand/libsa

  ~ biosdev.c                             ~ disk.h
  ~ diskprobe.c                           

  > Check the hibernation signature for softraid disks and select valid bsd
  > for unhibernation.  reported by Natasha Kerensikova.  tested by Theo
  > Buehler.
  > ok deraadt (yasuoka@)

arch/arm/arm

  ~ fault.c                               

  > Accessing a mmap(2)ed file behind its end should result in a SIGBUS
  > according to POSIX.
  > ok bluhm@, deraadt@ (kettenis@)

arch/arm64/arm64

  ~ trap.c                                

  > Bring SIBUS/SIGSEGV reporting in line with amd64 and i386.
  > ok deraadt@, bluhm@ (kettenis@)

arch/arm64/conf

  ~ Makefile.arm64                        

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.arm64                        

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

arch/arm64/stand/efiboot

  ~ Makefile                              

  > Use .c instead of .o here too.
  > ok espie@ (kettenis@)

arch/armv7/armv7

  ~ locore0.S                             

  > Replace CPWAIT with an isb instruction, which is the proper way to make
  > sure
  > CP15 updates are visible.  Also add an isb instruction before switching on
  > the MMU to make sure that all the MMU-related CP15 registers updates are
  > visible.
  > Makes booting on a Cortex-A12/A17 get a bit further.
  > ok drahn@, jsg@ (kettenis@)

arch/armv7/conf

  ~ Makefile.armv7                        

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.armv7                        

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

  ~ GENERIC                               ~ RAMDISK

  > Add sxitwi(4), a driver for the (i2c compatible) two-wire bus found on
  > several Allwinner SoCs.  From Artturi Alm, based on code from NetBSD.
  > Also add axppmic(4), a driver for the AXP209 i2c PMIC, which provides
  > power down support.  Written by Artturi Alm. (kettenis@)

arch/armv7/imx

  ~ imxccm.c                              ~ imxccm_clocks.h

  > Add clock support for the i.MX6UL variant of the i.MX6 series.  The
  > device tree uses completely differently numbered indices compared to
  > the i.MX6QDL variant.  This means we have to add another clock list
  > and use the right one depending on the compatible.  Also, on the UL
  > variant there is another mux in front of the perclk divider, so we
  > have to cope with that as well.
  > With feedback from and "looks reasonable" kettenis@ (patrick@)

  ~ imxesdhc.c                            

  > Add sdmmc support for the i.MX6UL variant of the i.MX6 series.  This
  > variant is essentially the same in regards to sdmmc as the i.MX6SX
  > variant, which is why the device tree specifies that version.  The
  > i.MX6SX has a few quirks.  One of these is related to tuning, which
  > we don't do, the other one to the CAP1 register, which we don't use,
  > and the third is for high speed support, where the "support bit" is
  > missing for HS200.  Of all these, only the one where the CAP1 register
  > spills into the CAP register seems relevant to us.  With this I can
  > mount and newfs on the SD card.
  > ok kettenis@ (patrick@)

arch/hppa/conf

  ~ Makefile.hppa                         

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.hppa                         

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

arch/hppa/hppa

  ~ locore.S                              ~ vm_machdep.c

  > Clear the framepointer (r3) in switch_trampoline to avoid faults in stack
  > trace
  > Reduce size of switch stack frame to match normal 64byte alignment
  > Eliminate useless 'osp' variable when setting up initial frame in
  > cpu_fork()
  > ok visa@ kettenis@ (guenther@)

  ~ db_interface.c                        ~ lock_machdep.c

  > Add WITNESS support
  > ok visa@ kettenis@ (guenther@)

arch/hppa/include

  ~ mplock.h                              

  > Add WITNESS support
  > ok visa@ kettenis@ (guenther@)

arch/i386/conf

  ~ Makefile.i386                         

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.i386                         

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

  ~ Makefile.i386                         

  > permit kernel building with clang as the base compiler; ok kettenis@
  > (naddy@)

arch/i386/i386

  ~ db_interface.c                        

  > Add a enter_ddb() "accessop" to wsdisplay(4) to allow KMS drivers to bypass
  > the modeset lock when entering ddb.  This avoids triggering various asserts
  > when the kernel panics while running X.
  > ok deraadt@ (kettenis@)

  ~ trap.c                                

  > Accessing a mmap(2)ed file behind its end should result in a SIGBUS
  > according to POSIX.  Bring regression test and kernel in line for
  > amd64 and i386.  Other architectures have to follow.
  > OK deraadt@ kettenis@ (bluhm@)

arch/i386/stand/libsa

  ~ biosdev.c                             ~ disk.h
  ~ diskprobe.c                           

  > Check the hibernation signature for softraid disks and select valid bsd
  > for unhibernation.  reported by Natasha Kerensikova.  tested by Theo
  > Buehler.
  > ok deraadt (yasuoka@)

arch/landisk/conf

  ~ Makefile.landisk                      

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.landisk                      

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

arch/loongson/conf

  ~ Makefile.loongson                     

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.loongson                     

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

arch/luna88k/conf

  ~ Makefile.luna88k                      

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

  ~ Makefile.luna88k                      

  > Kernel relinking for luna88k, first step.
  > Not yet split locore.S to locore.S and locore0.S.
  > ok deraadt@ (aoyama@)

  ~ Makefile.luna88k                      

  > More consistent with other architectures. (aoyama@)

  ~ Makefile.luna88k                      ~ files.luna88k

  > Splitting early startup code out of locore.S into locore0.S, like other
  > architectures.
  > "Looking good" deraadt@ (aoyama@)

arch/luna88k/luna88k

  ~ locore.S                              + locore0.S

  > Splitting early startup code out of locore.S into locore0.S, like other
  > architectures.
  > "Looking good" deraadt@ (aoyama@)

arch/macppc/conf

  ~ Makefile.macppc                       

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.macppc                       

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

arch/macppc/macppc

  ~ ofw_machdep.c                         

  > Initialize the brightness to a valid value if found.
  > ok deraadt@ (anton@)

arch/mips64/mips64

  ~ trap.c                                

  > Rename variables for clarity.
  > It does not seem necessary to provide initial value for `sicode'.
  > When `signal' gets set, `sicode' is set as well.
  > OK deraadt@, kettenis@ (visa@)

arch/octeon/conf

  ~ Makefile.octeon                       

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.octeon                       

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

arch/sgi/conf

  ~ Makefile.sgi                          

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.sgi                          

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

arch/sgi/dev

  ~ if_iec.c                              

  > Fix memory leak in iec_get(). If MCLGET fails free the mbuf as well.
  > Found by Ilja Van Sprundel
  > OK bluhm@ deraadt@ (claudio@)

arch/socppc/conf

  ~ Makefile.socppc                       

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

arch/sparc64/conf

  ~ Makefile.sparc64                      

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

  ~ Makefile.sparc64                      

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

conf

  ~ makegap.sh                            

  > Pass the linker from make environment to makegap.sh. This is (only)
  > a partial solution to cross compiling the kernel with KARL.
  > OK deraadt@ a while ago (visa@)

dev

  ~ vnd.c                                 

  > Avoid division by zero of vnd_secsize
  > Found by Ilja Van Sprundel
  > ok claudio kettenis (deraadt@)

  ~ vnd.c                                 

  > Avoid additional div0 in case both ntracks & nsectors passed in
  > via ioctl are 0.
  > Noticed by bluhm
  > ok bluhm millert (deraadt@)

  ~ midi.c                                ~ midivar.h

  > Remove SIGIO support.  The audio(4) driver doesn't implement it either and
  > the preferred method to access MIDI hardware is through sndiod(8) which
  > doesn't use it.
  > Fixes a potential issue with a stale struct proc pointer found by Ilja van
  > Sprundel.
  > ok deraadt@, ratchov@ (kettenis@)

dev/acpi

  ~ acpi.c                                

  > Start a list of isa(4) device names such that we can avoid printing them
  > as "not configured".
  > ok mikeb@, millert@, deraadt@ (kettenis@)

  ~ acpi.c                                ~ acpibat.c
  ~ acpidev.h                             

  > acpibat: look for _BIX first before falling back on _BIF
  > ACPI 4.0 deprecated _BIF for battery status so some newer machines
  > are exporting _BIX which extends _BIF's package with a few extra
  > fields.  When using _BIX, export the new discharge cycle count as a
  > sensor.
  > feedback from kettenis and anton
  > ok deraadt (jcs@)

dev/fdt

  ~ sxiccmu.c                             

  > Match /clocks node on Allwinner H5. (kettenis@)

  ~ sxiccmu.c                             

  > The Linux kernel device trees use "allwinner,sun50i-h5-ccu" as the
  > compatible
  > propert for the clock controller module.  Prepare for the day when the
  > u-boot device trees get update. (kettenis@)

  ~ sxiccmu.c                             

  > fix previous to make sxiccmu compile again (jsg@)

  ~ rkclock.c                             ~ rkclock_clocks.h

  > Add RK3288 support. (kettenis@)

  ~ dwmmc.c                               

  > Tweak timeouts a bit such that this works on the RK3288. (kettenis@)

  ~ rkclock.c                             ~ rkclock_clocks.h

  > Add a few more RK3288 clocks. (kettenis@)

  ~ rkgrf.c                               

  > RK3288 support. (kettenis@)

  ~ rkpinctrl.c                           

  > RK3288 support. (kettenis@)

  ~ if_dwge_fdt.c                         

  > RK3288 support. (kettenis@)

  ~ files.fdt                             + axp20x.c
  + sxitwi.c                              

  > Add sxitwi(4), a driver for the (i2c compatible) two-wire bus found on
  > several Allwinner SoCs.  From Artturi Alm, based on code from NetBSD.
  > Also add axppmic(4), a driver for the AXP209 i2c PMIC, which provides
  > power down support.  Written by Artturi Alm. (kettenis@)

dev/i2c

  ~ imt.c                                 

  > this is imt, not ims (jcs@)

dev/ic

  ~ ar5008.c                              

  > Make athn(4) send RTS frames at 2 Mbit/s again. I changed this to 1 Mbit/s
  > in r1.38 of this file, however for some reason the hardware sends RTS
  > frames
  > at rates other than 1 Mbit/s which of course doesn't help. Not sure what is
  > causing this problem, but the old behaviour worked better, so revert.
  > ok krw@ (stsp@)

dev/microcode

  ~ aic7xxx/Makefile                      

  > more depends gc / yacc rules overhaul
  > okay millert@ (espie@)

dev/pci

  ~ pcidevs                               

  > Update Skylake Graphics IDs. (kettenis@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (kettenis@)

  ~ if_iwm.c                              

  > Some net80211 state changes are triggered by incoming frames, and it is
  > possible for such frames to move iwm(4) to the same state, e.g. AUTH->AUTH.
  > Do not bother the firmware with such no-op state changes because that runs
  > a high risk of hitting firmware errors.
  > Problem reported by Gregor Best. (stsp@)

  ~ if_iwm.c                              

  > Remove the AP from iwm's firmware station table when moving out of AUTH
  > state.
  > Fixes "could not remove MAC context" errors seen during AUTH->SCAN
  > transitions. (stsp@)

  ~ if_iwmvar.h                           

  > Add comments to the definitions of iwm(4) driver-private flags. (stsp@)

  ~ if_iwm.c                              

  > Fix missing splx() in iwm_newstate_task(). Bug introduced 2 hours ago in
  > r1.200. (stsp@)

  ~ drm/drm_linux.h                       

  > Implement a proper hash table instead of lumping evrything into a single
  > list. (kettenis@)

  ~ xspd.c                                

  > Fixup the printf string, spacing (mikeb@)

  ~ drm/i915/intel_bios.h                 

  > Remove stray whitespace. (kettenis@)

  ~ if_vte.c                              

  > Fix possible double free in the TX dma ring handling. If the allocation of
  > the cluster fails in vte_init_tx_ring() the mbuf is removed but the slot
  > in the ring still holds the pointer. A possible call to vte_stop() would
  > then cause a double free. Again set pointer to NULL to prevent this.
  > Found by Ilja Van Sprundel
  > OK bluhm@ (claudio@)

  ~ if_et.c                               

  > Check if mbuf cluster allocation succeeded and on failure free mbuf and
  > return ENOBUFS.
  > Found by Ilja Van Sprundel
  > OK bluhm@ deraadt@ (claudio@)

  ~ drm/i915/i915_drv.c                   

  > Add a enter_ddb() "accessop" to wsdisplay(4) to allow KMS drivers to bypass
  > the modeset lock when entering ddb.  This avoids triggering various asserts
  > when the kernel panics while running X.
  > ok deraadt@ (kettenis@)

  ~ drm/radeon/radeon_kms.c               

  > Implement the enter_ddb() "accessop" here as well. (kettenis@)

  ~ drm/drmP.h                            ~ drm/drm_drv.c
  ~ drm/i915/i915_drv.h                   ~ drm/i915/i915_gem.c
  ~ drm/i915/intel_display.c              ~ drm/i915/intel_overlay.c
  ~ drm/i915/intel_ringbuffer.c           

  > Implement drm_pci_alloc() and drm_pci_free() and use them to reduce the
  > diffs with Linux. (kettenis@)

  ~ if_iwm.c                              

  > Prevent a possible "MAC context already removed" panic in iwm_auth().
  > This panic happens if iwm_newstate_task() sleeps and wakes up after
  > iwm_stop().
  > The error path of iwm_newstate_task() attempts to reset driver flags and
  > firmware state, which should not be done if iwm_stop() has already done so.
  > A more comprehensive fix for such races is being worked on but not ready
  > yet.
  > For now, check the generation counter in the error path of iwm_auth() and
  > only clean up state if that counter hasn't changed.
  > Problem reported and workaround tested by giovanni@ (stsp@)

dev/pckbc

  ~ pms.c                                 

  > Show Synaptics Model IDs. (bru@)

dev/pv

  ~ xbf.c                                 

  > Grant table entries must be disassociated once CCB is complete
  > Attempting to unload the map before all chunks are done may lead
  > to unnecessary looping. (mikeb@)

  ~ if_xnf.c                              

  > Reimplement mbuf/map to descriptor mapping
  > Previously descriptors have referenced DMA maps too loosely which
  > led to bus_dmamap_unload being called before all fragments have been
  > completed.  This eliminates the last instance of excessive looping
  > while waiting for a grant table entry to become available. (mikeb@)

  ~ if_xnf.c                              

  > Pick the correct TX buffer when unrolling (mikeb@)

  ~ xen.c                                 

  > Reduce amount of CAS attempts in a busy-wait loop by a factor of 100
  > (mikeb@)

  ~ xen.c                                 

  > Forbid overwriting a grant table entry currently in use (mikeb@)

  ~ xen.c                                 

  > Turn this into a panic since there's no way to recover from it (mikeb@)

  ~ xen.c                                 ~ xenvar.h

  > Replace MD _bus_dmamap_* function calls with MI ones (mikeb@)

dev/usb

  ~ if_urndis.c                           

  > Add a handler for RNDIS status messages
  > RNDIS status messages may indicate various conditions reported by
  > the hardware, including link status events. They're not supposed
  > to be universally treated as errors.
  > Issue reported by Artturi Alm, ok armani (mikeb@)

  ~ if_ure.c                              

  > Enable RX aggregation, fix configuring custom MAC address and remove
  > double reset sequence.
  > From and tested by sc.dying at gmail on RTL8152 (ver 4c10) and RTL8153
  > (ver 5c20). (mpi@)

  ~ uhid.c                                

  > Remove SIGIO support.  Base tools do not implement it and ports relying
  > on libusbhid, generally via SDL, shouldn't do it either since it's not
  > portable.
  > Suggested by deraadt@ after Ilja van Sprundel reported an issue with a
  > stale struct proc pointer in similar code.
  > ok kettenis@, deraadt@ (mpi@)

  ~ if_otus.c                             

  > Make otus(4) drop frames larger than MCLBYTES.
  > Problem reported by Ilja Van Sprundel.
  > ok deraadt@ tb@ (stsp@)

  ~ if_run.c                              

  > Drop Rx'd frames larger than MCLBYTES.
  > Problem reported by Ilja Van Sprundel.
  > ok stsp@, tb@ (kevlo@)

  ~ if_rsu.c                              

  > Fix frame length bounds checks in rsu(4).
  > Due to signedness issues the existing checks didn't work as intended.
  > Problem reported by Ilja Van Sprundel.
  > ok deraadt@ (stsp@)

  ~ if_rsu.c                              

  > Unbreak the rsu(4) driver which was not kept up-to-date with recent WPA
  > supplicant and net80211 state machine changes. While here, make rsu(4)
  > report the correct channel for received frames to tcpdump(8).
  > ok deraadt@ (stsp@)

  ~ if_atu.c                              

  > Add frame length boundary checks to the input path of atu(4).
  > Problem found by Ilja Van Sprundel.
  > ok kevlo (stsp@)

  ~ ugen.c                                ~ usb.c

  > Do not permit USB ioctl handler malloc(9)'s to block as this interferes
  > with expected behavior.
  > OK mpi@ patrick@ (ians@)

dev/wscons

  ~ wstpad.c                              

  > Minor changes in the setup.
  > 1. Add middle-button areas to the clickpad defaults.
  > 2. Handle the edge areas more uniformly.
  > 3. Don't disable sw buttons at the bottom edge. (bru@)

  ~ wsmouse.c                             

  > Explain the multi-touch tracking function. (bru@)

  ~ wsdisplay.c                           

  > Prevent integer overflow in WSDISPLAYIO_LDFONT ioctl.
  > Issue found by Ilja van Sprundel.
  > ok deraadt@ (kettenis@)

  ~ wsdisplay.c                           ~ wsdisplayvar.h

  > Add a enter_ddb() "accessop" to wsdisplay(4) to allow KMS drivers to bypass
  > the modeset lock when entering ddb.  This avoids triggering various asserts
  > when the kernel panics while running X.
  > ok deraadt@ (kettenis@)

  ~ wsdisplay.c                           

  > Fix previous commit; check the enter_ddb function pointer instead of the
  > "accessops" pointer before calling it. (kettenis@)

kern

  ~ uipc_socket2.c                        

  > soreserve() modifies `so_snd' and `so_rcv' so asserts that it is called
  > with the socket lock.
  > This change is safe because sbreserve() already asserts that the lock is
  > held, but it acts as implicit documentation and indicates that I looked
  > at the function. (mpi@)

  ~ subr_log.c                            

  > Both syslog(3) and syslogd(8) truncate the message at 8192 bytes.
  > Do the same in sendsyslog(2) and document the behavior.
  > reported by Ilja Van Sprundel; OK millert@ deraadt@ (bluhm@)

  ~ uipc_syscalls.c                       

  > Move KTRPOINT call up. The lenght variable i is getting aligned and so
  > uninitialised data can be dumped into the ktrace message.
  > Found by Ilja Van Sprundel
  > OK bluhm@ (claudio@)

  ~ sys_process.c                         

  > Uninitialized variable can leak kernel memory.
  > Found by Ilja Van Sprundel
  > ok kettenis (deraadt@)

  ~ uipc_socket.c                         

  > Prepare filt_soread() to be locked.  No functionnal change.
  > ok bluhm@, claudio@, visa@ (mpi@)

  ~ sys_socket.c                          

  > Extend the scope of the socket lock in soo_stat() to protect `so_state'
  > and `so_rcv'.
  > ok bluhm@, claudio@, visa@ (mpi@)

  ~ uipc_socket.c                         

  > If pool_get() sleeps while allocating additional memory for socket
  > splicing, another process may allocate it in the meantime.  Then
  > one of the splicing structures leaked in sosplice().  Recheck that
  > no struct sosplice exists after a protential sleep.
  > reported by Ilja Van Sprundel; OK mpi@ (bluhm@)

  ~ kern_descrip.c                        

  > Initialize a local variable to not leak kernel stack info to userland
  > if TIOCGPGRP fail.
  > Issue found by Ilja van Sprundel.
  > ok bluhm@, millert@, deraadt@ (mpi@)

  ~ uipc_syscalls.c                       

  > When receiving a struct sockaddr from userland, enforce that memory
  > for sa_len and sa_family is provided.  This will make handling of
  > socket name mbufs within the kernel safer.
  > issue reported by Ilja Van Sprundel; OK claudio@ (bluhm@)

net

  ~ if_pppoe.c                            

  > Fix double free in pppoe_dispatch_disc_pkt(). If m_pulldown() fails m is
  > freed but another m_freem call happens later. Set m to NULL if m_pulldown()
  > fails like in all other cases of this function.
  > Found by Ilja Van Sprundel
  > OK bluhm@ (claudio@)

  ~ switchofp.c                           

  > The proper way to check for successful allocation of an mbuf cluster is
  > by checking M_EXT flag. m_freem() the mbuf in the errorcase to prevent
  > a mbuf leak. MCLGET does not set the mbuf to NULL on failure.
  > Found by Ilja Van Sprundel
  > OK bluhm@ deraadt@ (claudio@)

  ~ pf_ioctl.c                            ~ pfvar.h

  > Rework HFSC vs FQ-CoDel checks
  > The selection mechanism introduced in pf_ioctl.c -r1.316 suffers
  > from being too ambiguous and lacks robustness. Instead of relying
  > on composition of multiple flags in the queue specification, it's
  > easier to identify the root class (if it exists) and derive all
  > further checks from it. (mikeb@)

  ~ hfsc.c                                

  > Factor out internal FIFO queue manager
  > HFSC internal queue becomes accessible via pf queueing ops. It will
  > also select an alternative queue manager based on the queue spec.
  > Discussed with and OK henning@ at d2k17 as a part of a larger diff.
  > (mikeb@)

  ~ hfsc.c                                

  > Fix the test condition weakened a recent change (mikeb@)

net80211

  ~ ieee80211_node.c                      

  > Improve the heuristic which selects 5GHz APs over 2GHz APs.
  > The previous code wasn't quite right: it didn't account for the fact that
  > some drivers don't set ic_max_rssi, and it compared 5GHz APs to a threshold
  > relative to the max RSSI, rather than comparing RSSI on 5GHz relative to
  > RSSI on 2GHz.
  > This heuristic is only used by SCANNALLBAND drivers: iwn(4), iwm(4), wpi(4)
  > In the future the AP selection heuristic should be made more intelligent,
  > e.g. it should take BSS load information in beacons into account.
  > Another open problem is inconsistent representation of RSSI measurement
  > values throughout our drivers and stack. Help is welcome!
  > For now, this hopefully improves AP selection at busy airports.
  > ok sthen@ deraadt@ (stsp@)

  ~ ieee80211_ioctl.c                     ~ ieee80211_ioctl.h

  > Plug an information leak in ieee80211_node2req().
  > Problem reported by Ilja Van Sprundel.
  > ok tb@ (stsp@)

nfs

  ~ nfs_boot.c                            

  > If second xdr_string_encode() fails in bp_getfile() m_freem() m since
  > this mbuf was allocated by the first call. Fixes possible memory leak.
  > Found by Ilja Van Sprundel
  > OK bluhm@ deraadt@ (claudio@)

sys

  ~ selinfo.h                             

  > Re-order members of struct selinfo
  > This reduces its size from 24 to 16 on 64bit archs.
  > ok deraadt@ (sf@)

uvm

  ~ uvm_fault.c                           

  > Accessing a mmap(2)ed file behind its end should result in a SIGBUS
  > according to POSIX.  Bring regression test and kernel in line for
  > amd64 and i386.  Other architectures have to follow.
  > OK deraadt@ kettenis@ (bluhm@)

== usr.bin =========================================================== 11/12 ==

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

aucat

  ~ aucat.c                               

  > Fix integer overflow that would causes >12 hours files
  > to not properly relocate. Found with coverity. (ratchov@)

bc

  ~ Makefile                              ~ scan.l

  > more depends gc / yacc rules overhaul
  > okay millert@ (espie@)

cvs

  ~ date.y                                ~ history.c

  > Add missing <time.h> header.
  > ok joris@ (okan@)

libtool

  ~ LT/UList.pm                           

  > Fix SPLICE in LT::UList, allowing more ports to build.
  > Initial prodding and bulk builds by aja@. (zhuk@)

  ~ LT/Mode/Link.pm                       

  > Recognize '-weak' in our libtool, helps at least xine-lib to build.
  > okay aja@ (zhuk@)

make

  ~ Makefile                              

  > depend is dead (espie@)

  ~ arch.c                                

  > fix two nasty out-of-bound accesses that killed (sporadically mk38 and
  > mk38bis.
  > prodded by bluhm@, okay bluhm@ (espie@)

mandoc

  ~ mandoc.css                            

  > The only elements using floats are dt.It-tag, so the only elements
  > allowed to the right of them are dd.It-tag.
  > Fixes overlapping rendering after long tag lists without bodies,
  > for example in the Xenocara apm(4) manual.  Issue reported by tj@.
  > (schwarze@)

  ~ mansearch.c                           

  > Prefer arch-dependent over arch-independent pages if the name priority,
  > the section number, and all names match.  Changes little on installed
  > systems except the ordering of apropos(1) results, because we install
  > base and Xenocara manuals in different trees, but fixes lookup of pages
  > like apm(4) vs. apm(4/amd64) in man.cgi(8).
  > Issue discovered by martian67 on freenode and reported via tj@. (schwarze@)

  ~ mdoc_validate.c                       

  > correctly handle letters in .Nx arguments; improves for example
  > getpgid(2), ac(8), ldconfig(8), mount_ffs(8), sa(8), ttyflags(8), ...
  > (schwarze@)

  ~ read.c                                

  > Do not call err(3) from the parser.  Call mandoc_vmsg() and
  > return failure such that we can continue with the next file. (schwarze@)

  ~ main.c                                ~ mandoc.1

  > For -Tlint, put parser messages on stdout instead of stderr.
  > Originally, naddy@ requested this in 2011 (or maybe even earlier).
  > It was discussed with joerg@, kristaps@, naddy@, and espie@ in 2011,
  > and everybody agreed in principle, but it was postponed because
  > kristaps@ wanted to do some cleanup of the message system first.
  > Meanwhile, message infrastructure was improved about a dozen times...
  > This makes long, tedious commands like "mandoc -Tlint *.1 2>&1 | less"
  > unnecessary and allows simple ones like "man -l -Tlint *.1". (schwarze@)

newsyslog

  ~ newsyslog.8                           ~ newsyslog.c

  > Don't exit on invalid config lines, yet return a proper exit status.
  > newsyslog(8) is mainly used to proces log files, not rotating them
  > because of an invalid field means that /var will end up full.
  > Initially I wanted to ignore only getpwnam/getgrnam errors, but millert@
  > convinced me otherwise.  malloc(3) errors are still fatal.
  > Diff prompted by a report from Harald Dunkel, ok millert@ (jca@)

rpcinfo

  ~ rpcinfo.8                             

  > I'm equally upset as Kurt Mosiejczuk, who found irrelevant 22-year
  > old history in this manual page. (deraadt@)

sed

  ~ sed.1                                 

  > remove some spacing; ok schwarze (jmc@)

sndiod

  ~ siofile.c                             

  > Fix debug printf used to report kernel bugs: print par.bps instead
  > of par.bits. Found by coverity. (ratchov@)

  ~ sock.c                                

  > Add comments to explain correct code that might look wrong. (ratchov@)

ssh

  ~ ssh-agent.c                           

  > switch from select() to poll() for the ssh-agent mainloop; ok markus (djm@)

  ~ sshkey.c                              

  > fix support for unknown key types; ok djm@ (markus@)

  ~ misc.c                                ~ ssh_config.5
  ~ sshd_config.5                         ~ packet.c

  > Allow IPQoS=none in ssh/sshd to not set an explicit ToS/DSCP value
  > and just use the operating system default; ok dtucker@ (djm@)

systat

  ~ pftop.c                               

  > Allow HFSC classes to use flow queues
  > The FQ-CoDel related configuration (flows, quantum) becomes available
  > for the regular bandwidth queue.  Internally the kernel will pick the
  > FQ-CoDel for use as a queue manager for the specified class instead of
  > the FIFO.
  > Discussed with and OK henning@ at d2k17 as a part of a larger diff.
  > (mikeb@)

telnet

  ~ commands.c                            ~ sys_bsd.c

  > A few cleanups.  This only needs to operate on systems with SIGWINCH,
  > SIGINFO, and Bxxxx values that equal xxxx.
  > ok tom millert (deraadt@)

tmux

  ~ cmd-new-session.c                     ~ cmd-new-window.c
  ~ cmd-respawn-pane.c                    ~ cmd-respawn-window.c
  ~ cmd-split-window.c                    ~ tmux.1

  > Add -c for respawn-pane and respawn-window, from J Raynor. (nicm@)

  ~ names.c                               

  > Allow ispunct() as well as isalnum() when parsing initial window names.
  > (nicm@)

  ~ tty.c                                 

  > Trim trailing spaces from full line when it is clearly OK to do so. (nicm@)

  ~ tty.c                                 

  > Use the actual width written rather than the possible width to clear.
  > (nicm@)

vi

  ~ cl/cl_term.c                          

  > Replace usage of strtol() with strtonum().
  > ok bentley@ deraadt@ millert@ tb@ (anton@)

== usr.sbin ========================================================== 12/12 ==

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

apm

  ~ apm.c                                 

  > Cleanup apm:
  > - Zap trailing whitespace in license, noted by tb@
  > - Sort and align function prototypes
  > - Add static and __dead when appropriate in order to compile using `clang
  > -Wall`
  > - Zap variable names from function prototypes, also noted by tb@
  > - Break long lines
  > ok tb@ (anton@)

config

  ~ mkmakefile.c                          

  > Stop automatically regenerating gap.o (and hence linking a new kernel)
  > whenever make is issued. Only do this when there are actual source changes
  > below /sys. This restores the behavior prior to the KARL implementation.
  > Problem noticed and patiently explained by mpi
  > implementation with a lot of help from espie
  > ok mpi, espie, deraadt (tb@)

hostctl

  ~ hostctl.8                             

  > Stress the fact that individual pvbus device nodes correspond to
  > a single key-value store and if there are other ones available,
  > different nodes must be used to access them. (mikeb@)

httpd

  ~ config.c                              ~ httpd.h
  ~ server.c                              

  > Rework the way that TLS configuration is sent/received via imsgs, so that
  > are no longer limited by the 16KB maximum size of a single imsg.
  > Configuration data that is larger than a single message is now chunked and
  > sent via multiple imsgs.
  > Prompted by a diff from Jack Burton <jack at saosce dot com dot au>.
  > ok reyk@ (jsing@)

ifstated

  ~ ifstated.c                            

  > No need for ioctl(SIOCGIFDATA), getifaddrs(3) gives us the link state
  > Noticed while reviewing a pledge(2) diff from Rob Pierce.  ok florian@
  > (jca@)

  ~ ifstated.c                            

  > Add a newline (jca@)

  ~ ifstated.c                            

  > No need for sys/ioctl.h any more (jca@)

  ~ ifstated.h                            

  > Time comparison variables should be time_t (I did check for signed vs
  > unsigned handling)
  > ok jca (deraadt@)

  ~ ifstated.c                            

  > use ssize_t; ok jca (deraadt@)

  ~ ifstated.c                            ~ parse.y

  > Don't bother initializing global variables to 0, since they will be in BSS.
  > ok jca (deraadt@)

pkg_add

  ~ OpenBSD/Ustar.pm                      

  > recent perls have more fun rules related to _ and - (espie@)

rebound

  ~ rebound.c                             

  > there's no nul byte after a name that ends in a crazy compression pointer.
  > (tedu@)

  ~ rebound.8                             

  > - listening on localhost is now adjustable; ok tedu
  > - document SIGUSR1, as noted by tedu (jmc@)

sensorsd

  ~ sensorsd.8                            ~ sensorsd.conf.5

  > Text improvements for precision and clarity, in particular properly
  > defining the terms "sensor" and "alert", avoiding fuzzy wording
  > like "reporting period" and "state dumping", explaining how Boolean
  > values are represented and that ranges are inclusive, and mentioning
  > the syslog facility used.  Also add relevant cross references and
  > drop irrelevant ones.
  > OK jmc@ (schwarze@)

vmd

  ~ vmd.8                                 

  > Update vmd man page to describe we have more processes running (aside from
  > one per VM plus "one more") (mlarkin@)

  ~ vm.conf.5                             

  > Don't recommend using /var/vmm for VM images.
  > Discussed with deraadt (mlarkin@)

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

Reply via email to