OpenBSD src changes summary for 2017-08-27 to 2017-09-03 inclusive
==================================================================

bin/csh                                 bin/ksh
bin/ps                                  distrib/armv7
distrib/notes                           distrib/sets
distrib/syspatch                        etc/etc.armv7/Makefile.inc
etc/rc                                  lib/libc
lib/libcrypto                           lib/libkeynote
lib/libssl                              lib/libtls
libexec/ld.so                           regress/bin
regress/lib                             regress/sys
regress/usr.sbin                        sbin/dhclient
sbin/dmesg                              sbin/ifconfig
sbin/iked                               sbin/newfs_ext2fs
sbin/nfsd                               sbin/wsconsctl
share/man                               sys/arch/alpha/conf
sys/arch/amd64/amd64                    sys/arch/amd64/conf
sys/arch/arm/include                    sys/arch/arm64/arm64
sys/arch/arm64/conf                     sys/arch/arm64/dev
sys/arch/arm64/include                  sys/arch/armv7/armv7
sys/arch/armv7/conf                     sys/arch/armv7/dev
sys/arch/armv7/exynos                   sys/arch/armv7/imx
sys/arch/armv7/marvell                  sys/arch/armv7/omap
sys/arch/hppa/conf                      sys/arch/i386/conf
sys/arch/i386/i386                      sys/arch/landisk/conf
sys/arch/loongson/conf                  sys/arch/macppc/conf
sys/arch/mips64/include                 sys/arch/mips64/mips64
sys/arch/octeon/conf                    sys/arch/octeon/octeon
sys/arch/sgi/conf                       sys/arch/sparc64/conf
sys/dev                                 sys/dev/fdt
sys/dev/ic                              sys/dev/isa
sys/dev/microcode                       sys/dev/pci
sys/dev/sdmmc                           sys/dev/usb
sys/kern                                sys/net
sys/net80211                            sys/netinet
sys/netinet6                            sys/nfs
sys/sys                                 usr.bin/ctfconv
usr.bin/ctfdump                         usr.bin/cvs
usr.bin/diff                            usr.bin/lex
usr.bin/openssl                         usr.bin/rcs
usr.bin/rdist                           usr.bin/rdistd
usr.bin/ssh                             usr.bin/tmux
usr.bin/units                           usr.sbin/apmd
usr.sbin/bind                           usr.sbin/dhcpd
usr.sbin/httpd                          usr.sbin/ifstated
usr.sbin/ldapd                          usr.sbin/makefs
usr.sbin/mtrace                         usr.sbin/pcidump
usr.sbin/pkg_add                        usr.sbin/quot
usr.sbin/relayd                         usr.sbin/sasyncd
usr.sbin/slaacctl                       usr.sbin/smtpd
usr.sbin/switchd                        usr.sbin/syspatch
usr.sbin/tcpdump                        usr.sbin/vmctl
usr.sbin/vmd                            usr.sbin/ypldap

== bin =============================================================== 01/11 ==

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

csh

  ~ csh.c                                 ~ csh.h
  ~ file.c                                ~ func.c

  > Fix pasting of long (>BUFSIZ) lines in csh with filec enabled.
  > NUL-terminating
  > the input buffer instructs csh that the buffer contains a complete command.
  > This
  > is wrong and should only happen when buffer is not full, otherwise more
  > data has
  > to be read in order form a complete command.
  > While here, do not print the prompt again when the input exceeds the input
  > buffer and while inserting a line continuation (backslash). (anton@)

  ~ file.c                                

  > Respect inputline_size argument. No functional change since tenex() only
  > has one
  > call site where `inputline_size == sizeof(buf)`. (anton@)

  ~ lex.c                                 

  > Zap redundant assignment; ok jca@ (anton@)

ksh

  ~ eval.c                                

  > Remove unused copy_non_glob() in ksh.
  > Report and diff by David Crosby <[email protected]>
  > OK otto@ (nayden@)

  ~ history.c                             

  > Free history entries when resizing/reloading
  > Cluebat & ok tb@ (jca@)

  ~ history.c                             

  > Put history_write() in line with other functions that walk history
  > One method is enough: only access history lines between 'history' and
  > 'histptr'. Pointers outside these bounds might be invalid.
  > ok millert@, "go for it" tb@ (jca@)

  ~ history.c                             

  > Don't bother setting freed history lines to NULL.
  > Dead code that could send the wrong hint to an unsuspicious reader.  The
  > code should walk use 'history' & 'histptr' to walk the array.
  > ok millert@, "go for it" tb@ (jca@)

  ~ emacs.c                               

  > Kill a useless setlocale() query
  > Pointless since the removal of the setlocale() call in main.c:rev1.82,
  > the emacs-usemeta flag isn't used in the code since 2012.  This kills
  > a chunk of code in a statically linked ksh.
  > ok millert@ (jca@)

  ~ var.c                                 

  > No need for NULL checks before afree() (jca@)

  ~ emacs.c                               

  > Drop needless comment
  > ok anton@ millert@ (jca@)

  ~ emacs.c                               ~ ksh.1
  ~ misc.c                                ~ sh.h

  > Stop exposing the emacs-usemeta option, and warn when trying to set it.
  > Unused since 2012, to be removed after 6.2.  Input from anton@,
  > ok anton@ millert@ (jca@)

  ~ history.c                             ~ ksh.1
  ~ sh.h                                  ~ table.h
  ~ var.c                                 

  > Implement HISTCONTROL ignoredups & ignorespace features
  > ignoredups: don't save the current line if it is identical to the last
  > history line.
  > ignorespace: don't save the current line if it starts with a space
  > ok anton@ millert@ (jca@)

  ~ misc.c                                

  > Guard FEMACSUSEMETA uses behind #ifdef EMACS (jca@)

  ~ history.c                             

  > ignoredups implementation quirk
  > Reminded by tb@ (jca@)

  ~ vi.c                                  

  > whitespace commit from BC (deraadt@)

  ~ c_ksh.c                               ~ path.c
  ~ sh.h                                  

  > Use PATH_MAX instead of a local define
  > okk deraadt@ millert@ anton@ (jca@)

ps

  ~ Makefile                              

  > Since rev 1.61 of print.c exp(3) and log(3) are not used anymore.
  > Do not link ps(1) with libm.
  > from miod@; OK millert@ (bluhm@)

== distrib =========================================================== 02/11 ==

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

armv7

  - miniroot/beagle/Makefile              ~ miniroot/Makefile
  ~ ramdisk/Makefile                      ~ ramdisk/install.md
  ~ ramdisk/list                          

  > Remove the miniroot for the OMAP3 BeagleBoards.  Ethernet is on USB and
  > USB isn't supported.  The installer turns out to have been broken on
  > BeagleBoard for over a year and no one noticed.  The existing support
  > for OMAP3 in the kernel remains though it isn't clear if anyone has
  > tried it after the fdt changes went in.
  > ok patrick@ tom@ kettenis@ matthieu@ (jsg@)

notes

  ~ arm64/hardware                        

  > sync list of supported machines with arm64.html (jsg@)

  ~ armv7/contents                        ~ armv7/prep

  > Remove the miniroot for the OMAP3 BeagleBoards.  Ethernet is on USB and
  > USB isn't supported.  The installer turns out to have been broken on
  > BeagleBoard for over a year and no one noticed.  The existing support
  > for OMAP3 in the kernel remains though it isn't clear if anyone has
  > tried it after the fdt changes went in.
  > ok patrick@ tom@ kettenis@ matthieu@ (jsg@)

sets

  ~ lists/base/mi                         

  > sync (deraadt@)

  ~ lists/base/mi                         

  > sync (deraadt@)

  ~ lists/base/mi                         ~ lists/man/mi

  > sync (deraadt@)

  ~ lists/base/mi                         

  > sync (deraadt@)

syspatch

  ~ README                                

  > Previous fakeroot must be manually copied in case an errata does not apply
  > to the current architecture. (ajacoutot@)

== etc =============================================================== 03/11 ==

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

etc.armv7/Makefile.inc

  ~ etc.armv7/Makefile.inc                

  > Remove the miniroot for the OMAP3 BeagleBoards.  Ethernet is on USB and
  > USB isn't supported.  The installer turns out to have been broken on
  > BeagleBoard for over a year and no one noticed.  The existing support
  > for OMAP3 in the kernel remains though it isn't clear if anyone has
  > tried it after the fdt changes went in.
  > ok patrick@ tom@ kettenis@ matthieu@ (jsg@)

rc

  ~ rc                                    

  > Display that we are running the upgrade scripts when they exist. On slowish
  > machines, running sysmerge(8) can take a little while so don't let people
  > wonder about why the output seems stuck.
  > ok sthen@ tb@ rpe@ (ajacoutot@)

  ~ rc                                    

  > Based on previous work from deraadt, add relinking of ld.so to
  > reorder_libs() resulting in a unique ld.so on every system start.
  > Idea from and OK deraadt@
  > OK tb@ (rpe@)

== lib =============================================================== 04/11 ==

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

libc

  ~ gen/isgreater.3                       

  > isunordered() returns true if at least one of the arguments is NaN
  > OK espie@ (millert@)

  ~ gen/syslog.3                          

  > It is confusing to talk about priorities being ordered from high
  > to low when they are actually numbered in the opposite (numerical)
  > order.  Use "ordered by decreasing importance" instead.  Also try
  > to make it clear that LOG_UPTO uses the numerical priorities where
  > a larger value means a lower priority.  OK jmc@ (millert@)

  ~ string/strtok.3                       

  > Mention strtok_r in STANDARDS
  > POSIX 2001 instead of POSIX.1c suggested by millert@ and jmc@, ok jmc@
  > (jca@)

  ~ string/strtok.3                       

  > delete pointless .Tn ASCII found by jca@ with mandoc -Tlint (schwarze@)

libcrypto

  ~ Symbols.list                          ~ asn1/asn1_locl.h
  ~ x509/x509_vfy.c                       

  > Make the symbol for ASN1_time_tm_clamp_notafter visible so libtls
  > can get at it, so libtls can also deal with notafter's past the
  > realm of 32 bit time in portable (beck@)

  ~ opensslfeatures.h                     

  > Define OPENSSL_NO_NEXTPROTONEG since there is no longer any NPN. (jsing@)

  - rsa/rsa_ssl.c                         ~ rsa/rsa_pmeth.c
  ~ rsa/rsa_eay.c                         ~ rsa/rsa.h
  ~ man/EVP_PKEY_CTX_ctrl.3               ~ man/RSA_padding_add_PKCS1_type_1.3
  ~ man/RSA_public_encrypt.3              ~ Symbols.list
  ~ Makefile                              

  > Remove RSA_padding_add_SSLv23()/RSA_padding_check_SSLv23() and related
  > code. We removed SSLv2/SSLv3 a long time ago...
  > Discussed with doug@ (jsing@)

  ~ asn1/a_time_tm.c                      

  > Put the opening curly brace in the right place. (jsing@)

  ~ man/EVP_AEAD_CTX_init.3               

  > Remove documentation for EVP_aead_chacha20_poly1305_ietf() - this was
  > removed/renamed a long time back. (jsing@)

  ~ Symbols.list                          ~ evp/e_chacha20poly1305.c
  ~ evp/evp.h                             

  > Remove EVP_aead_chacha20_poly1305_old() now that the original/old
  > chacha20-poly1305 cipher suites have been removed from libssl. (jsing@)

  ~ shlib_version                         

  > Bump lib{crypto,ssl,tls} majors due to symbol removals. (jsing@)

  ~ modes/gcm128.c                        

  > Fix ifdef to if in gcm128.c
  > ok deraadt@ bcook@ (inoguchi@)

  ~ rsa/rsa.h                             

  > Bring back the RSA_SSLV23_PADDING define.
  > Several pieces of software expect this to be available unconditionally.
  > (jsing@)

  ~ opensslfeatures.h                     

  > Remove OPENSSL_NO_NEXTPROTONEG - some software creates conflicting
  > prototypes if we have both OPENSSL_NO_NEXTPROTONEG and the prototypes
  > defined. (jsing@)

  ~ modes/gcm128.c                        

  > Checking sizeof size_t by SIZE_MAX instead of _LP64
  > ok bcook@ (inoguchi@)

libkeynote

  ~ keynote-ver.l                         ~ keynote.l

  > Add %option noinput to suppress an unused function warning.
  > Noticed by and OK ottot@ (millert@)

libssl

  ~ d1_srtp.c                             ~ ssl_locl.h
  ~ ssl_tlsext.c                          ~ ssl_tlsext.h
  ~ t1_lib.c                              

  > Rewrite SRTP extension using CBB/CBS and the new extension framework.
  > input + ok beck@, jsing@ (doug@)

  ~ s3_lib.c                              ~ ssl_ciph.c
  ~ ssl_locl.h                            ~ tls1.h

  > Remove the original (pre-IETF) chacha20-poly1305 cipher suites.
  > Support for the IETF standardised chacha20-poly1305 cipher suites was
  > added 16 months ago, which means they exist in both of the currently
  > supported OpenBSD releases.
  > Also prompted by Andreas Bartelt <obsd at bartula dot de>.
  > ok beck@ doug@ (jsing@)

  ~ Symbols.list                          ~ ssl.h
  ~ ssl3.h                                ~ ssl_err.c
  ~ ssl_lib.c                             ~ tls1.h
  ~ man/SSL_CTX_set_alpn_select_cb.3      

  > Completely remove NPN remnants.
  > Based on a diff from doug@, similar diff from inoguchi@ (jsing@)

  ~ shlib_version                         

  > Bump lib{crypto,ssl,tls} majors due to symbol removals. (jsing@)

  ~ s3_lib.c                              

  > ECDHE-RSA-DES-CBC3-SHA should not be marked HIGH.
  > Spotted by Andreas Bartelt <obsd at bartula dot de> (jsing@)

  ~ ssl_tlsext.c                          

  > Actually parse the ALPN extension in a client hello, even if no ALPN
  > callback has been installed. This ensures that the ALPN extension is valid
  > and avoids leaving unprocessed extension data, which leads to a decode
  > error.
  > Found the hard way by jsg@ (jsing@)

  ~ ssl_tlsext.c                          

  > When OCSP status type is unknown, ignore the extension.
  > This needs to skip past the CBS data or it will be treated as a decode
  > error even though it returns 1.
  > ok jsing@ (doug@)

  ~ Symbols.list                          ~ ssl.h
  ~ ssl_lib.c                             

  > Bring back the NPN related symbols.
  > Several pieces of software make use of these based on a conditional around
  > OPENSSL_NPN_NEGOTIATED, rather than using the presence of the symbols, the
  > non-existence of a OPENSSL_NO_NEXTPROTONEG define or even the existence of
  > the TLS extension type.
  > Unfortunately we cannot remove OPENSSL_NPN_NEGOTIATED since the API for
  > ALPN was effectively botched and reuses two parts from the NPN
  > implementation, rather than providing ALPN specific or generic versions.
  > (jsing@)

  ~ shlib_version                         

  > Bump libssl/libtls minors due to symbol (re)addition. (jsing@)

  ~ ssl_tlsext.c                          ~ t1_lib.c

  > Move the full extension building into tlsext_{client,server}hello_build(),
  > leaving ssl_add_{client,server}hello_tlsext() as pointer to CBB wrappers.
  > ok doug@ (jsing@)

libtls

  ~ tls_conninfo.c                        

  > Make the symbol for ASN1_time_tm_clamp_notafter visible so libtls
  > can get at it, so libtls can also deal with notafter's past the
  > realm of 32 bit time in portable (beck@)

  ~ tls.c                                 

  > Fix unchecked return nit
  > ok bcook@ jsing@ (beck@)

  ~ shlib_version                         

  > Bump lib{crypto,ssl,tls} majors due to symbol removals. (jsing@)

  ~ shlib_version                         

  > Bump libssl/libtls minors due to symbol (re)addition. (jsing@)

== libexec =========================================================== 05/11 ==

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

ld.so

  ~ Makefile                              ~ dl_realpath.c
  ~ tib.c                                 ~ aarch64/ldasm.S
  ~ aarch64/syscall.h                     ~ alpha/ldasm.S
  ~ alpha/syscall.h                       ~ amd64/ldasm.S
  ~ amd64/syscall.h                       ~ arm/ldasm.S
  ~ arm/syscall.h                         ~ hppa/Makefile.inc
  ~ hppa/ldasm.S                          ~ hppa/syscall.h
  ~ i386/ldasm.S                          ~ i386/syscall.h
  ~ m88k/ldasm.S                          ~ m88k/syscall.h
  ~ mips64/Makefile.inc                   ~ mips64/ldasm.S
  ~ mips64/syscall.h                      ~ powerpc/ldasm.S
  ~ powerpc/syscall.h                     ~ sh/Makefile.inc
  ~ sh/ldasm.S                            ~ sh/syscall.h
  ~ sparc64/ldasm.S                       ~ sparc64/syscall.h
  + aarch64/SYS.h                         + alpha/SYS.h
  + amd64/SYS.h                           + arm/SYS.h
  + hppa/SYS.h                            + i386/SYS.h
  + m88k/SYS.h                            + mips64/SYS.h
  + powerpc/SYS.h                         + sh/SYS.h
  + sparc64/SYS.h                         

  > Replace heaps of hand-written syscall stubs with a simpler framework
  > which is largely MI.
  > ok visa kettenis (deraadt@)

  ~ Makefile                              ~ hppa/Makefile.inc
  ~ sh/Makefile.inc                       

  > hppa & sh use support functions from libgcc.  Rather than linking against
  > the library, extract the specific pieces and link them directly.
  > ok kettenis visa (deraadt@)

  ~ Makefile                              

  > Link the ~45 .o which become ld.so in a random order.
  > ok kettenis visa (deraadt@)

  ~ Makefile                              

  > The test program run before ld.so is installed was encoding the $OBJDIR
  > path to ld.so.  Since the testprogram is run from inside $OBJDIR, encode
  > with a ./ path instead.
  > ok kettenis visa (deraadt@)

  ~ Makefile                              

  > Place all .o files, Symbols.map, and the test program into
  > /usr/libdata/ld.so.a.
  > My work is done; the next piece is coming from rpe.
  > ok visa kettenis (deraadt@)

  ~ aarch64/syscall.h                     

  > fix arm64 build
  > ok deraadt@ (jsg@)

  ~ library_subr.c                        ~ sparc64/rtld_machine.c
  ~ sh/ldasm.S                            ~ m88k/ldasm.S

  > whitespace (deraadt@)

  ~ amd64/ldasm.S                         ~ arm/ldasm.S

  > whitespace (deraadt@)

  ~ dl_printf.c                           ~ dlfcn.c
  ~ util.h                                

  > rename *fdprint function to *dprintf, like libc version (deraadt@)

  ~ m88k/SYS.h                            ~ m88k/ldasm.S

  > Fix m88k problem in recent ld.so changes.
  > - move _dl_cerror function from SYS.h to ldasm.S to avoid duplicate
  > definition when linking
  > - [SYS.h] pull some macros from lib/libc/arch/m88k/DEFS.h
  > - [ldasm.S] add "'never hit' but needed" br again in _dl_cacheflush
  > (thanks to Miod Vallat)
  > - [ldasm.S] change ld.hu into ld.h in order to get a correctly signed
  > and sign-extended value (also thanks to Miod Vallat)
  > ok deraadt@ (aoyama@)

== regress =========================================================== 06/11 ==

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

bin

  ~ ksh/history.t                         

  > Add HISTCONTROL tests. (anton@)

lib

  ~ libssl/tlsext/tlsexttest.c            

  > check return value from CBB_init (beck@)

  ~ libssl/tlsext/tlsexttest.c            

  > Rewrite SRTP extension using CBB/CBS and the new extension framework.
  > input + ok beck@, jsing@ (doug@)

  ~ libssl/client/clienttest.c            

  > Update due to removal of original chacha20-poly1305 cipher suites. (jsing@)

  ~ libssl/unit/cipher_list.c             

  > Use current chacha20-poly1305 cipher suite values. (jsing@)

  ~ libcrypto/aead/aeadtest.c             ~ libcrypto/aead/aeadtests.txt

  > Remove chacha20-poly1305-old regress and test vectors. (jsing@)

  ~ libcrypto/ocsp/ocsp_test.c            

  > Some style(9). (jsing@)

  ~ libssl/tlsext/tlsexttest.c            

  > When parsing extensions by calling the parse functions directly, ensure
  > that we have consumed all of the extension data. This catches the ALPN
  > extension handling issue that was just fixed. (jsing@)

sys

  ~ net/pf_divert/Remote.pm               

  > Increase timeout, otherwise test may fail on slow machines. (bluhm@)

usr.sbin

  ~ snmpd/snmpd.sh                        ~ ifstated/ifstated
  ~ ifstated/statemachine                 

  > Update copyright notice contact info. (rob@)

  ~ ifstated/ifstated                     

  > Add support for interface departure and arrival.
  > Ok jca@, benno@ (rob@)

== sbin ============================================================== 07/11 ==

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

dhclient

  ~ dhcpd.h                               ~ options.c

  > No need for pretty_print_classless() to use
  > an internal 8K static buffer whose contents
  > are simply copied into another 8K buffer in
  > the caller.
  > Just pass a pointer to and length of the
  > outer buffer. (krw@)

  ~ dhcpd.h                               ~ kroute.c
  ~ options.c                             

  > Add a utility function extract_classless_route() and
  > use it to simplify logic at both places that process
  > RFC 3442 data. (krw@)

  ~ dhclient.c                            

  > Refactor interface_status() to call freeifaddrs()
  > before returning, plugging a memory leak.
  > Problem reported by Kamil Shakirov via bugs@.
  > tweaks, testing & ok jca@ (krw@)

  ~ dispatch.c                            ~ kroute.c
  ~ privsep.c                             ~ privsep.h

  > Don't delete v4 routes that are going to be
  > added back.
  > ok mpi@ (krw@)

  ~ dhclient.c                            ~ options.c

  > Two stray "if (p)" -> "if (p != NULL)" and
  > a stray "if (char)" -> "if (char != '\0'). (krw@)

dmesg

  ~ dmesg.c                               

  > free() the memory we allocate in dmesg.c.  While this memory would be
  > released on process exit, otto@ points out that various checks happen
  > on free(), so this helps detect memory management errors.
  > Based on a diff from Nan Xiao - thanks.
  > ok otto@ (tom@)

ifconfig

  ~ ifconfig.c                            

  > Don't use isset() from sys/param.h in ifconfig. Requested by deraadt
  > (stsp@)

  ~ ifconfig.c                            

  > quarterly rescan of the tree:  remove unneccessary sys/param.h, and
  > annotate the ones which are needed. (deraadt@)

iked

  ~ crypto.c                              

  > fix char ** to const char ** conversion warning; ok mikeb@ (otto@)

newfs_ext2fs

  ~ mke2fs.c                              

  > fix clang warning wrt const string and +; from joerg@netbsd; ok millert@
  > (otto@)

nfsd

  ~ nfsd.c                                

  > Unbreak DEBUG on nfsd(8) by changing the syslog macro. With this change a
  > few
  > of the syslog calls also needed to change since fprintf(3) doesn't know
  > about
  > %m and in these cases strerror(3) was added.
  > Caught with cppcheck
  > "looks good" to otto@ (mestre@)

wsconsctl

  ~ util.c                                

  > teach wsconsctl about efifb
  > OK patrick@ (phessler@)

== share ============================================================= 08/11 ==

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

man

  - man4/ualea.4                          ~ man4/Makefile
  ~ man4/usb.4                            + man4/urng.4

  > Add urng(4) which supports various USB RNG devices. Instead of adding one
  > driver per device, start bundling them into a single driver.
  > urng(4) supports the device currently supported by ualea(4) and adds
  > support for
  > the Altusmetrum ChaosKey 1.0, by abieber@
  > This was tested by abieber@ with a ChaosKey and Sean Levy with an Alea II
  > ok abieber@ deraadt@ naddy@ (jasper@)

  ~ man4/pf.4                             

  > Sync struct declarations with net/pfvar.h
  > ok deraadt@ jmc@ sashan@ (lteo@)

  ~ man4/urng.4                           

  > tweak previous; (jmc@)

  ~ man9/socreate.9                       

  > Reflect so{g,s}etopt() changes. (mpi@)

  ~ man9/socreate.9                       

  > tweak previous; (jmc@)

  ~ man4/rtwn.4                           

  > Document rtwn(4) RTL8192CE support. (stsp@)

  ~ man4/pci.4                            

  > update entry for rtwn; (jmc@)

  ~ man7/eqn.7                            

  > fix grammar; while here, improve spacing.
  > ok schwarze@ (sobrado@)

== sys =============================================================== 09/11 ==

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

arch/alpha/conf

  ~ GENERIC                               

  > swap ualea for urng (jasper@)

arch/amd64/amd64

  ~ ioapic.c                              

  > In previous change, misconfigured APICs were not being repaired.
  > noticed by Andrew Daugherity
  > ok kettenis (deraadt@)

  ~ acpi_wakecode.S                       

  > adjust ACPI resume-time saved stack location to account for a different
  > layout used by clang on i386. Also add a clarification to amd64's version
  > of the same (amd64 already had such an adjustment).
  > ok deraadt, tom, kettenis (mlarkin@)

arch/amd64/conf

  ~ GENERIC                               

  > swap ualea for urng (jasper@)

arch/arm/include

  ~ fdt.h                                 

  > Add glass console support for arm64.  This uses the "stdout-path" property
  > of the /chosen node in the device tree to decide whether the framebuffer
  > should be used as the console device.  Most, if not all, machines will
  > have that set to use a serial console and there is no easy way yet to
  > change that.
  > ok jsg@ (kettenis@)

arch/arm64/arm64

  ~ machdep.c                             

  > Clear second return register on exec.
  > ok guenther@ (kettenis@)

  ~ arm64_machdep.h                       ~ machdep.c

  > Add glass console support for arm64.  This uses the "stdout-path" property
  > of the /chosen node in the device tree to decide whether the framebuffer
  > should be used as the console device.  Most, if not all, machines will
  > have that set to use a serial console and there is no easy way yet to
  > change that.
  > ok jsg@ (kettenis@)

  ~ pmap.c                                

  > arm64 performance: use cache zeroing function in pmap_zero_page()
  > This improves page zeroing (a rather common occurance) by over 8x.
  > ok kettenis@, phessler@, tom@ (drahn@)

arch/arm64/conf

  ~ RAMDISK                               

  > Add glass console support for arm64.  This uses the "stdout-path" property
  > of the /chosen node in the device tree to decide whether the framebuffer
  > should be used as the console device.  Most, if not all, machines will
  > have that set to use a serial console and there is no easy way yet to
  > change that.
  > ok jsg@ (kettenis@)

  ~ GENERIC                               ~ RAMDISK

  > Add rkiic(4) a driver for the i2c controllers found on the Rockchip RK3399.
  > (kettenis@)

  ~ GENERIC                               ~ RAMDISK

  > Add rkpmic(4), a driver for the RK808 Power Management IC.  For now, this
  > driver only provides support for the RTC embedded on this device.  Support
  > for the voltage regulators will come later.  With this diff the
  > Firefly-RK3399
  > gains a proper clock (if you connect a battery to the board). (kettenis@)

  ~ GENERIC                               

  > swap ualea for urng (jasper@)

arch/arm64/dev

  ~ com_fdt.c                             ~ pluart.c

  > remove uneeded includes after recent fdt header changes (jsg@)

arch/arm64/include

  ~ fdt.h                                 

  > Add glass console support for arm64.  This uses the "stdout-path" property
  > of the /chosen node in the device tree to decide whether the framebuffer
  > should be used as the console device.  Most, if not all, machines will
  > have that set to use a serial console and there is no easy way yet to
  > change that.
  > ok jsg@ (kettenis@)

  ~ pmap.h                                

  > arm64 performance: use cache zeroing function in pmap_zero_page()
  > This improves page zeroing (a rather common occurance) by over 8x.
  > ok kettenis@, phessler@, tom@ (drahn@)

arch/armv7/armv7

  ~ armv7_machdep.h                       

  > Add glass console support for arm64.  This uses the "stdout-path" property
  > of the /chosen node in the device tree to decide whether the framebuffer
  > should be used as the console device.  Most, if not all, machines will
  > have that set to use a serial console and there is no easy way yet to
  > change that.
  > ok jsg@ (kettenis@)

arch/armv7/conf

  ~ GENERIC                               ~ RAMDISK

  > Enable generic sdhc(4) on FDT attachment driver.
  > ok kettenis@ (patrick@)

  ~ GENERIC                               ~ RAMDISK

  > Add mvpxa(4), a driver for the SDHC compliant controller on
  > the ARMADA 38x series (SolidRun ClearFog, Turris Omnia).
  > ok kettenis@ (patrick@)

  ~ GENERIC                               

  > swap ualea for urng (jasper@)

arch/armv7/dev

  ~ com_fdt.c                             ~ pluart.c

  > remove uneeded includes after recent fdt header changes (jsg@)

arch/armv7/exynos

  ~ exuart.c                              

  > remove uneeded includes after recent fdt header changes (jsg@)

arch/armv7/imx

  ~ imxuart.c                             

  > remove uneeded includes after recent fdt header changes (jsg@)

arch/armv7/marvell

  ~ files.marvell                         + mvpxa.c

  > Add mvpxa(4), a driver for the SDHC compliant controller on
  > the ARMADA 38x series (SolidRun ClearFog, Turris Omnia).
  > ok kettenis@ (patrick@)

arch/armv7/omap

  ~ amdisplay.c                           ~ amdisplayreg.h
  ~ nxphdmi.c                             ~ nxphdmivar.h

  > Add OpenBSD CVS tags at the top of amdisplay/nxphdmi(4) files.
  > thanks Artturi Alm, ok patrick@ (ians@)

arch/hppa/conf

  ~ GENERIC                               

  > swap ualea for urng (jasper@)

arch/i386/conf

  ~ GENERIC                               

  > swap ualea for urng (jasper@)

arch/i386/i386

  ~ ioapic.c                              

  > In previous change, misconfigured APICs were not being repaired.
  > noticed by Andrew Daugherity
  > ok kettenis (deraadt@)

  ~ acpi_wakecode.S                       

  > adjust ACPI resume-time saved stack location to account for a different
  > layout used by clang on i386. Also add a clarification to amd64's version
  > of the same (amd64 already had such an adjustment).
  > ok deraadt, tom, kettenis (mlarkin@)

  ~ machdep.c                             

  > fix boot on older 486DX CPUs that lack CPUID.
  > ok tom, kettenis (mlarkin@)

arch/landisk/conf

  ~ GENERIC                               

  > swap ualea for urng (jasper@)

arch/loongson/conf

  ~ GENERIC                               

  > swap ualea for urng (jasper@)

arch/macppc/conf

  ~ GENERIC                               

  > swap ualea for urng (jasper@)

arch/mips64/include

  ~ asm.h                                 

  > Rely on the hardware to clear hazards on octeon. (visa@)

  ~ cpu.h                                 

  > Let the kernel utilize the FPU if one is available, even when the
  > FPUEMUL option is enabled. This benefits OCTEON III systems which can
  > run floating-point operations natively.
  > Feedback from and OK miod@; he also helped with testing.
  > Tested on octeon without FPU (CN5020, CN6120) and with FPU (CN7130),
  > as well as on sgi/IP27 (MP R16000), sgi/IP32 (R5000), and
  > loongson (3A1000). (visa@)

arch/mips64/mips64

  ~ fp_emulate.c                          ~ trap.c

  > Prefer copyin32() to copyin() when fetching instructions
  > from user space. This improves performance slightly.
  > Discussed with miod@ (visa@)

  ~ softintr.c                            

  > Zap stray prototype. (visa@)

  ~ mips64_machdep.c                      ~ process_machdep.c
  ~ sys_machdep.c                         ~ vm_machdep.c

  > Ansify function definitions. (visa@)

  ~ cpu.c                                 ~ fp_emulate.c
  ~ mips64_machdep.c                      ~ trap.c
  ~ vm_machdep.c                          

  > Let the kernel utilize the FPU if one is available, even when the
  > FPUEMUL option is enabled. This benefits OCTEON III systems which can
  > run floating-point operations natively.
  > Feedback from and OK miod@; he also helped with testing.
  > Tested on octeon without FPU (CN5020, CN6120) and with FPU (CN7130),
  > as well as on sgi/IP27 (MP R16000), sgi/IP32 (R5000), and
  > loongson (3A1000). (visa@)

arch/octeon/conf

  ~ GENERIC                               

  > swap ualea for urng (jasper@)

arch/octeon/octeon

  ~ machdep.c                             

  > Let the kernel utilize the FPU if one is available, even when the
  > FPUEMUL option is enabled. This benefits OCTEON III systems which can
  > run floating-point operations natively.
  > Feedback from and OK miod@; he also helped with testing.
  > Tested on octeon without FPU (CN5020, CN6120) and with FPU (CN7130),
  > as well as on sgi/IP27 (MP R16000), sgi/IP32 (R5000), and
  > loongson (3A1000). (visa@)

arch/sgi/conf

  ~ GENERIC-IP27                          ~ GENERIC-IP30
  ~ GENERIC-IP32                          

  > swap ualea for urng (jasper@)

arch/sparc64/conf

  ~ GENERIC                               

  > swap ualea for urng (jasper@)

dev

  ~ softraid.c                            

  > Report the rebuild state properly, so that in the case of a rebuild
  > the sensor does not show the drive state as "unknown".
  > ok phessler@ (patrick@)

dev/fdt

  ~ rkclock.c                             ~ rkclock_clocks.h

  > Add RK3399 i2c-related clocks and fix a typo. (kettenis@)

  ~ simplefb.c                            

  > Add glass console support for arm64.  This uses the "stdout-path" property
  > of the /chosen node in the device tree to decide whether the framebuffer
  > should be used as the console device.  Most, if not all, machines will
  > have that set to use a serial console and there is no easy way yet to
  > change that.
  > ok jsg@ (kettenis@)

  ~ files.fdt                             + rkiic.c

  > Add rkiic(4) a driver for the i2c controllers found on the Rockchip RK3399.
  > (kettenis@)

  ~ files.fdt                             + rkpmic.c

  > Add rkpmic(4), a driver for the RK808 Power Management IC.  For now, this
  > driver only provides support for the RTC embedded on this device.  Support
  > for the voltage regulators will come later.  With this diff the
  > Firefly-RK3399
  > gains a proper clock (if you connect a battery to the board). (kettenis@)

  ~ rkpmic.c                              

  > tyop and whitespace nit (jasper@)

  ~ sxipio.c                              

  > Decode pin mux configuration correctly in gpio(4) support code such that
  > we knock out the correct pins.  Sptted by Artturi Alm. (kettenis@)

  ~ rkclock.c                             ~ rkclock_clocks.h

  > handle rk3288 i2c clocks
  > with help from kettenis@ (jsg@)

  ~ sxiccmu.c                             ~ sxiccmu_clocks.h

  > Support Allwinner A64's ethernet controller clocks and reset
  > based on the H3 code which is essentially the same apart from
  > differing device tree indices.
  > ok phessler@ (patrick@)

dev/ic

  ~ r92creg.h                             

  > When I merged rtwn(4) and urtwn(4) register definitions, an extra
  > line snuck into the rtl8192ce_bb_vals_2t array. Remove it again.
  > This broke baseband initialization for RTL8192CE which went unnoticed
  > because at the time nobody had tested rtwn(4) with that chip and the
  > driver didn't attach to it.
  > Problem reported by Martin Wanvik who eventually did this test.
  > ok kevlo@ (stsp@)

dev/isa

  ~ fdc.c                                 ~ fd.c

  > fdc: defer probing of floppy drives
  > Defer probing of the drives to a kthread. This avoids several seconds of
  > delay() during boot. However, drives may now appear only after init has
  > started. But this does not affect installs from floppy. In that case the
  > root
  > ramdisk is linked into the kernel and loaded by the boot loader.
  > Approach suggested by deraadt@, tested by miod@ (sf@)

dev/microcode

  ~ myx/build.c                           ~ bnx/build.c

  > always use %s to print a non-constant string; ok deraadt@ guenther@ (otto@)

  ~ kue/build.c                           ~ yds/build.c

  > Fix clang warnings; ok guenther@ deraadt@
  > (guenther says: code could need a rewrite using writev(2) though) (otto@)

dev/pci

  ~ if_iwm.c                              ~ if_iwmvar.h

  > Make it possible for iwm_stop() to sleep by always running it in
  > a process context. In interrupt context, schedule the init task
  > instead of calling iwm_stop() directly.
  > ok procter@ (stsp@)

  ~ pcidevs                               

  > Add PCI device IDs for audio and USB OTG devices found on Atom z8300 SoC.
  > ok jsg@ kettenis@ (stsp@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (stsp@)

  ~ drm/drm_gem.c                         

  > drm: Release driver tracking before making the object available again
  > From Chris Wilson
  > 2a9d7664ffb2c223c488058ee6bee61512db9396 in linux-4.4.y/4.4.85
  > fe4600a548f2763dec91b3b27a1245c370ceee2a in mainline linux (jsg@)

  ~ drm/drm_atomic.c                      

  > drm/atomic: If the atomic check fails, return its value first
  > From Maarten Lankhorst
  > 3416ee45a8cbeb5bc4b13a754873fbb26a27dccb in linux-4.4.y/4.4.85
  > a0ffc51e20e90e0c1c2491de2b4b03f48b6caaba in mainline linux (jsg@)

  ~ drm/i915/intel_uncore.c               

  > drm/i915: fix compiler warning in drivers/gpu/drm/i915/intel_uncore.c
  > From Greg Kroah-Hartman
  > c81c4d453edf242af644f7e71f673fc7632f337c in linux-4.4.y/4.4.86 (jsg@)

  ~ if_rtwn.c                             

  > Attach rtwn(4) to RTL8192CE. Tested by me.
  > ok kevlo@ (stsp@)

dev/sdmmc

  ~ sdmmc_io.c                            

  > Fix a memory leak in an error path.  Coverity CID 1453042.
  > ok visa@ (jsg@)

dev/usb

  - ualea.c                               ~ files.usb
  + urng.c                                

  > Add urng(4) which supports various USB RNG devices. Instead of adding one
  > driver per device, start bundling them into a single driver.
  > urng(4) supports the device currently supported by ualea(4) and adds
  > support for
  > the Altusmetrum ChaosKey 1.0, by abieber@
  > This was tested by abieber@ with a ChaosKey and Sean Levy with an Alea II
  > ok abieber@ deraadt@ naddy@ (jasper@)

  ~ files.usb                             

  > "urng" is needed on the file lines... or these end up in all kernels,
  > including ramdisks without usb support... (deraadt@)

  ~ urng.c                                

  > rename sc_pipe to sc_outpipe to indicate it's direction as there'll come an
  > sc_inpipe too (jasper@)

  ~ urng.c                                

  > add _MEASURE_RATE bits from uonerng(4)
  > tested by abieber@ (jasper@)

  ~ urng.c                                

  > Use endpoint 5 for chaoskey, it should have been 5 from the start, this
  > puts us in line with the linux driver. Also add a DPRINTF for endpoints.
  > "i'd say go for it" jasper@ (abieber@)

  ~ xhci.c                                

  > Fix a remaining length miscalculation in xhci(4).
  > Each TRB contains a remaining TD size, which allows hardware to tell
  > whether
  > additional TRBs follow within the current transfer without reading ahead.
  > The length of the first TRB was subtracted from the total length before
  > calculating the remaining TD sizes. This is wrong because remaining TD
  > sizes
  > are relative to the size of the entire transfer, including the first TRB.
  > Our current USB code does not trigger this bug because there is no code in
  > upper layers yet which triggers use of multiple TRBs per transfer.
  > ok mpi@ (stsp@)

  ~ usb.h                                 

  > Add macros for reading the bmAttributes field of the USB super speed
  > endpoint companion descriptor.
  > ok mpi@ (stsp@)

kern

  ~ vfs_bio.c                             

  > Revisit 2q queue sizes. Limit the hot queue to 1/20th the cache size up
  > to a max of 4096 pages. Limit the warm and cold queues to half the cache.
  > This allows us to more effectively notice re-interest in buffers instead
  > of losing it in a large hot queue.  Discussed and shown with claudio@
  > and benno@ at tk217 (beck@)

  ~ kern_exec.c                           ~ kern_exit.c
  ~ kern_fork.c                           ~ kern_pledge.c
  ~ vfs_lookup.c                          

  > Remove old deactivated pledge path code.  A replacement mechanism is
  > being brewed.
  > ok beck (deraadt@)

  ~ uipc_socket.c                         ~ uipc_syscalls.c

  > Change sosetopt() to no longer free the mbuf it receives and change
  > all the callers to call m_freem(9).
  > Support from deraadt@ and tedu@, ok visa@, bluhm@ (mpi@)

net

  ~ bfd.c                                 ~ rtsock.c

  > Change sosetopt() to no longer free the mbuf it receives and change
  > all the callers to call m_freem(9).
  > Support from deraadt@ and tedu@, ok visa@, bluhm@ (mpi@)

net80211

  ~ ieee80211_crypto.c                    ~ ieee80211_crypto.h
  ~ ieee80211_node.c                      ~ ieee80211_node.h
  ~ ieee80211_pae_input.c                 ~ ieee80211_proto.c

  TAGGED OPENBSD_6_1
  > MFC:
  > Add an entry to dmesg if pairwise WPA keys arrive unexpectedly or if WPA
  > group keys are being reused. OpenBSD wireless clients will now leave a
  > trail of such events in their message log.
  > Clear WPA group keys from memory before initiating a key exchange
  > with an access point. Prevents false positive 'reused group key'
  > warnings in dmesg when re-associating to the same access point.
  > (OpenBSD 6.1 errata 027, August 30, 2017) (stsp@)

  ~ ieee80211_crypto.c                    ~ ieee80211_crypto.h
  ~ ieee80211_node.c                      ~ ieee80211_node.h
  ~ ieee80211_pae_input.c                 ~ ieee80211_proto.c

  TAGGED OPENBSD_6_0
  > MFC:
  > Add an entry to dmesg if pairwise WPA keys arrive unexpectedly or if WPA
  > group keys are being reused. OpenBSD wireless clients will now leave a
  > trail of such events in their message log.
  > Clear WPA group keys from memory before initiating a key exchange
  > with an access point. Prevents false positive 'reused group key'
  > warnings in dmesg when re-associating to the same access point.
  > (OpenBSD 6.0 errata 041, August 30, 2017) (stsp@)

netinet

  ~ ip_mroute.c                           ~ ip_output.c
  ~ ip_var.h                              ~ raw_ip.c
  ~ tcp_usrreq.c                          

  > Change sosetopt() to no longer free the mbuf it receives and change
  > all the callers to call m_freem(9).
  > Support from deraadt@ and tedu@, ok visa@, bluhm@ (mpi@)

  ~ ip_input.c                            

  > Simplify list traversal in ip_freef(), and replace a hand-rolled
  > list traversal with LIST_FOREACH_SAFE().
  > OK bluhm@, mpi@ (visa@)

netinet6

  ~ icmp6.c                               ~ ip6_output.c
  ~ raw_ip6.c                             

  > Change sosetopt() to no longer free the mbuf it receives and change
  > all the callers to call m_freem(9).
  > Support from deraadt@ and tedu@, ok visa@, bluhm@ (mpi@)

  ~ in6.h                                 ~ in6_ifattach.c

  > Use in6_get_rand_ifid() instead of get_last_resort_ifid() and delete the
  > get_last_resort_ifid() function because eww.
  > Also if your system is so constraint that you end up in
  > in6_get_rand_ifid() you don't deserve a random ifid that stays
  > stable over reboots.
  > Simplify code a bit since get_ifid() can no longer fail. It couldn't
  > fail before either because that code path was #if 0'ed.
  > While here sprinkle in some in6_ prefixes, pointed out by stsp.
  > OK stsp (florian@)

nfs

  ~ nfs_subs.c                            

  > Remove old deactivated pledge path code.  A replacement mechanism is
  > being brewed.
  > ok beck (deraadt@)

  ~ krpc_subr.c                           ~ nfs_socket.c
  ~ nfs_syscalls.c                        

  > Change sosetopt() to no longer free the mbuf it receives and change
  > all the callers to call m_freem(9).
  > Support from deraadt@ and tedu@, ok visa@, bluhm@ (mpi@)

sys

  ~ namei.h                               ~ pledge.h
  ~ proc.h                                

  > Remove old deactivated pledge path code.  A replacement mechanism is
  > being brewed.
  > ok beck (deraadt@)

  ~ socketvar.h                           

  > Change sosetopt() to no longer free the mbuf it receives and change
  > all the callers to call m_freem(9).
  > Support from deraadt@ and tedu@, ok visa@, bluhm@ (mpi@)

== usr.bin =========================================================== 10/11 ==

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

ctfconv

  ~ ctfstrip.1                            

  > spelling/grammar fixes; (jmc@)

  ~ ctfconv.c                             ~ elf.c
  ~ parse.c                               ~ pool.c

  > quarterly rescan of the tree:  remove unneccessary sys/param.h, and
  > annotate the ones which are needed. (deraadt@)

ctfdump

  ~ ctfdump.c                             ~ elf.c

  > quarterly rescan of the tree:  remove unneccessary sys/param.h, and
  > annotate the ones which are needed. (deraadt@)

cvs

  ~ rcs.c                                 

  > Use xasprintf() instead of calloc() + strlcpy() + memcpy() to
  > generate the log line.  Fixes a clang warning about using the wrong
  > size argument in strlcpy().  The existing code was safe but not
  > good strlcpy() practice.  OK otto@ (millert@)

  ~ init.c                                ~ init.h
  ~ rcs.h                                 ~ rcsnum.c
  ~ remote.c                              ~ remote.h
  ~ server.c                              ~ util.c
  ~ util.h                                

  > fix const related warnings; ok millert@ (otto@)

diff

  ~ diffdir.c                             

  > Fix exit value when diffing directories with missing files and the -N
  > or -P options are not used.  From Ibrahim Khalifa (millert@)

lex

  ~ filter.c                              

  > Remove unused variable; no binary change.
  > From Michael W. Bombardieri, thanks! (lteo@)

openssl

  ~ rsautl.c                              ~ openssl.1

  > Remove SSLv23 padding mode. (jsing@)

rcs

  ~ co.c                                  ~ rcs.h
  ~ rcsnum.c                              ~ rcsutil.c

  > kill const and string artithmetic related warnings; ok millert@ (otto@)

rdist

  ~ client.h                              

  > Avoid clang warning by explicitly marking a constant unsigned; ok millert@
  > (otto@)

rdistd

  ~ server.c                              

  > gid_t is unsigned, so < 0 test is always false, compare against (gid_t)-1
  > explicitly; ok millert@ (otto@)

ssh

  ~ sshconnect2.c                         

  > Increase the buffer sizes for user prompts to ensure that they won't be
  > truncated by snprintf.  Based on patch from cjwatson at debian.org via
  > bz#2768, ok djm@ (dtucker@)

  ~ ssh-add.1                             ~ ssh-add.c

  > add a -q option to ssh-add to make it quiet on success.
  > if you want to silence ssh-add without this you generally redirect
  > the output to /dev/null, but that can hide error output which you
  > should see.
  > ok djm@ (dlg@)

  ~ ssh-add.1                             

  > sort options; (jmc@)

  ~ channels.c                            ~ channels.h
  ~ clientloop.c                          ~ serverloop.c

  > pass packet state down to some of the channels function (more
  > to come...); ok markus@ (djm@)

  ~ sshd_config.5                         

  > document available AuthenticationMethods; bz#2453 ok dtucker@ (djm@)

  ~ dns.c                                 ~ dns.h
  ~ sshconnect.c                          

  > identify the case where SSHFP records are missing but other DNS RR
  > types are present and display a more useful error message for this
  > case; patch by Thordur Bjornsson; bz#2501; ok dtucker@ (djm@)

  ~ sshd_config.5                         

  > remove blank line; (jmc@)

  ~ readconf.c                            ~ readconf.h
  ~ ssh_config.5                          ~ sshconnect.c

  > Expand ssh_config's StrictModes option with two new settings:
  > StrictModes=accept-new will automatically accept hitherto-unseen keys
  > but will refuse connections for changed or invalid hostkeys.
  > StrictModes=off is the same as StrictModes=no
  > Motivation:
  > StrictModes=no combines two behaviours for host key processing:
  > automatically learning new hostkeys and continuing to connect to hosts
  > with invalid/changed hostkeys. The latter behaviour is quite dangerous
  > since it removes most of the protections the SSH protocol is supposed to
  > provide.
  > Quite a few users want to automatically learn hostkeys however, so
  > this makes that feature available with less danger.
  > At some point in the future, StrictModes=no will change to be a synonym
  > for accept-new, with its current behaviour remaining available via
  > StrictModes=off.
  > bz#2400, suggested by Michael Samuel; ok markus (djm@)

tmux

  ~ tmux.h                                ~ tty-keys.c
  ~ tty-term.c                            

  > Use kind and kri for S-Up/Down as well as kUP and kDN. (nicm@)

  ~ mode-tree.c                           

  > Do not allow the current line of screen when the preview is toggled,
  > from Thomas Adam. (nicm@)

  ~ cmd-find.c                            ~ resize.c
  ~ tmux.h                                ~ window.c

  > Do not forbid targets to specify non-visible panes - the checks for
  > visibility are better where the target is used. GitHub issue 1049. (nicm@)

  ~ server-fn.c                           ~ tty-keys.c

  > Check for complete keys before escape prefix, allows keys to be defined
  > with a leading escape. GitHub issue 1048. (nicm@)

  ~ input.c                               

  > Support REP escape sequence (\033[b). (nicm@)

  ~ window-copy.c                         

  > Redraw rectangle selections properly when cursor at end, GitHub issue 992.
  > (nicm@)

  ~ cmd-attach-session.c                  ~ cmd-break-pane.c
  ~ cmd-find.c                            ~ cmd-join-pane.c
  ~ cmd-new-session.c                     ~ cmd-new-window.c
  ~ cmd-queue.c                           ~ cmd-rotate-window.c
  ~ cmd-run-shell.c                       ~ cmd-select-pane.c
  ~ cmd-select-window.c                   ~ cmd-split-window.c
  ~ cmd-switch-client.c                   ~ notify.c
  ~ server-client.c                       ~ tmux.h
  ~ window-tree.c                         

  > Pass flags into cmd_find_from_* to fix prefer-unattached, reported by
  > Thomas Sattler. (nicm@)

  ~ grid-view.c                           ~ grid.c
  ~ tmux.h                                

  > Instead of overloading the line clear function to mean free if
  > background is default (8), introduce an explicit free function and use
  > it where a free alone is needed. Likewise, use memmove directly rather
  > than grid_move_lines where it makes sense. Based on a memory leak fix by
  > Dan Aloni in GitHub issue 1051. (nicm@)

  ~ cmd-select-pane.c                     ~ tmux.1

  > Add selectp -T to set pane title. (nicm@)

units

  ~ units.lib                             

  > update currency exchange rates; (jmc@)

== usr.sbin ========================================================== 11/11 ==

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

apmd

  ~ apmd.8                                ~ apmd.c

  > add -z and -Z options to auto suspend or hibernate when low on battery.
  > from Jesper Wallin (tedu@)

  ~ apmd.8                                

  > zap trailing whitespace; (jmc@)

bind

  ~ configure                             

  > disable a few warnings so we can start to see the relevant ones;
  > ok sthen@ (otto@)

dhcpd

  ~ dhcpd.8                               

  > do not claim that this is isc dhcpd (but retain credit);
  > issue pointed out by miod
  > ok krw miod (jmc@)

httpd

  ~ parse.y                               

  > 65535 is a valid port to listen on.
  > Off-by-one pointed out by and diff from Kris Katterjohn katterjohn AT
  > gmail, thanks!
  > chris@ pointed out that more than httpd(8) is effected.
  > OK gilles@ (florian@)

ifstated

  ~ ifstated.c                            

  > Add support for interface departure and arrival.
  > Ok jca@, benno@ (rob@)

ldapd

  ~ parse.y                               

  > 65535 is a valid port to listen on.
  > Off-by-one pointed out by and diff from Kris Katterjohn katterjohn AT
  > gmail, thanks!
  > chris@ pointed out that more than httpd(8) is effected.
  > OK gilles@ (florian@)

makefs

  ~ msdos/msdosfs_lookup.c                

  > assorted warning fixes; ok millert@ (otto@)

mtrace

  ~ mtrace.c                              

  > assorted warning fixes; ok millert@ (otto@)

pcidump

  ~ pcidump.c                             

  > assorted warning fixes; ok millert@ (otto@)

pkg_add

  ~ OpenBSD/PkgInfo.pm                    

  > avoid double search. Fix abieber's commit vaguely. (todo: speed-ups)
  > (espie@)

quot

  ~ quot.c                                

  > assorted warning fixes; ok millert@ (otto@)

relayd

  ~ parse.y                               

  > 65535 is a valid port to listen on.
  > Off-by-one pointed out by and diff from Kris Katterjohn katterjohn AT
  > gmail, thanks!
  > chris@ pointed out that more than httpd(8) is effected.
  > OK gilles@ (florian@)

  ~ relay.c                               

  > Do not close the relay if data is still in the output buffer.
  > Otherwise data not written could get lost.  Also try to drain the
  > buffers when socket splicing should be enabled.  The latter was
  > lost when the expicit bufferevent_enable() was added in relay_write().
  > bug report, analysis, initial fix, testing Rivo Nurges; OK beck@ (bluhm@)

sasyncd

  ~ carp.c                                

  > enum can be signed or unsigned depending on the compiler; so make sure we
  > cast to unsigned and test for > X to avoid warnings that comparing an
  > unsigned < 0 make no sense; ok deraadt@ (otto@)

slaacctl

  ~ slaacctl.c                            

  > print id first to make this symetrical to address proposals (florian@)

smtpd

  ~ parse.y                               

  > 65535 is a valid port to listen on.
  > Off-by-one pointed out by and diff from Kris Katterjohn katterjohn AT
  > gmail, thanks!
  > chris@ pointed out that more than httpd(8) is effected.
  > OK gilles@ (florian@)

  ~ table_static.c                        

  > Change the table parser logic. If the table is untyped, determine
  > its type by examining the first entry: if it contains a separator, type
  > is "mapping", otherwise type is "list".  All entries are then parsed
  > according to the table type.  The "list" type can also be forced by using
  > the "@list" directive in a comment. This allows to define list of entries
  > containing a separator.
  > Also, log parse errors.
  > ok gilles@ (eric@)

  ~ smtp_session.c                        

  > remove smtp_filter_*() indirections.
  > ok gilles@ (eric@)

  ~ smtp_session.c                        

  > rename function (eric@)

  ~ smtp_session.c                        

  > rename smtp_filter_fd() to smtp_message_fd() and cleanup code.
  > ok gilles@ (eric@)

  - filter.c                              

  > unused file (eric@)

  ~ smtp_session.c                        

  > the wait_filter_data session set is now pointless (eric@)

  ~ smtp_session.c                        

  > more code cleanup after filter removal
  > ok gilles@ (eric@)

switchd

  ~ parse.y                               

  > 65535 is a valid port to listen on.
  > Off-by-one pointed out by and diff from Kris Katterjohn katterjohn AT
  > gmail, thanks!
  > chris@ pointed out that more than httpd(8) is effected.
  > OK gilles@ (florian@)

syspatch

  ~ syspatch.sh                           

  > Inform the user when we are relinking the kernel. (ajacoutot@)

  ~ syspatch.sh                           

  > Fix logic to not error out. (ajacoutot@)

  ~ syspatch.sh                           

  > While failing to relink the kernel is not fatal to syspatch, we still need
  > to warn the user and return a proper error code. (ajacoutot@)

tcpdump

  ~ print-enc.c                           

  > quarterly rescan of the tree:  remove unneccessary sys/param.h, and
  > annotate the ones which are needed. (deraadt@)

  ~ print-atalk.c                         ~ print-bgp.c
  ~ print-wb.c                            

  > unsigneds cannot be < 0; ok jca@ (otto@)

  ~ print-802_11.c                        

  > Make 'tcpdump -v' decode RSN information elements in beacons
  > instead of lazily dumping them in hex.
  > ok mpi@ (stsp@)

vmctl

  ~ vmctl.c                               

  > quarterly rescan of the tree:  remove unneccessary sys/param.h, and
  > annotate the ones which are needed. (deraadt@)

  ~ vmctl.c                               

  > remove use of PAGE_SIZE and #include <sys/param.h>
  > ok deraadt (mlarkin@)

  ~ vmctl.c                               

  > vmd/vmctl: disallow use of block or character devices as disks in VMs.
  > These don't work today and present the user with a confusing error
  > message if an attempt is made to use them. This commit detects attempts
  > to use block or character devices and if detected, presents the user with
  > a better message.
  > ok jasper
  > From Carlos Cardenas, thanks! (mlarkin@)

  ~ vmctl.c                               

  > vmctl: change a feedback message displayed to the user from "terminated
  > vm X" to "sent request to terminate vm X".
  > vmctl/vmd have not forcibly terminated VMs in a while, we try to let
  > vmmci(4) gracefully shutdown the VM, so "vmctl stop" commands are
  > really requests to stop, not forced stops. The new message indicates
  > that a shutdown is (possibly) in progress and not "complete". (mlarkin@)

  ~ vmctl.8                               

  > vmctl: -L option clarification in man page (mlarkin@)

vmd

  ~ disklabel.c                           ~ ufs.c
  ~ vmboot.c                              

  > quarterly rescan of the tree:  remove unneccessary sys/param.h, and
  > annotate the ones which are needed. (deraadt@)

  ~ vm.conf.5                             

  > match vmctl.8 vm name constraints
  > from Carlos Cardenas (jasper@)

  ~ config.c                              ~ vmd.h

  > vmd/vmctl: disallow use of block or character devices as disks in VMs.
  > These don't work today and present the user with a confusing error
  > message if an attempt is made to use them. This commit detects attempts
  > to use block or character devices and if detected, presents the user with
  > a better message.
  > ok jasper
  > From Carlos Cardenas, thanks! (mlarkin@)

  ~ priv.c                                

  > vmd: fix two wrong comments I stumbled across while updating the vmctl(8)
  > man page (mlarkin@)

ypldap

  ~ parse.y                               

  > 65535 is a valid port to listen on.
  > Off-by-one pointed out by and diff from Kris Katterjohn katterjohn AT
  > gmail, thanks!
  > chris@ pointed out that more than httpd(8) is effected.
  > OK gilles@ (florian@)

  ~ ypldap.8                              

  > missing word; from raf czlonka (jmc@)

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

Reply via email to