OpenBSD src changes summary for 2016-08-22
==========================================

distrib/sets                            lib/libtls
libexec/makewhatis                      regress/sbin
share/man                               sys/arch/arm/arm
sys/arch/arm/cortex                     sys/arch/arm/include
sys/arch/armv7/dev                      sys/arch/armv7/sunxi
sys/dev/ofw                             sys/kern
sys/net                                 sys/netinet
sys/netinet6                            sys/netmpls
usr.bin/ftp                             usr.bin/mandoc
usr.bin/openssl                         usr.bin/tmux
usr.sbin/httpd                          

== distrib =========================================================== 01/08 ==

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

sets

  ~ lists/base/md.alpha                   ~ lists/base/md.amd64
  ~ lists/base/md.armv7                   ~ lists/base/md.hppa
  ~ lists/base/md.i386                    ~ lists/base/md.landisk
  ~ lists/base/md.loongson                ~ lists/base/md.luna88k
  ~ lists/base/md.macppc                  ~ lists/base/md.octeon
  ~ lists/base/md.sgi                     ~ lists/base/md.socppc
  ~ lists/base/md.sparc                   ~ lists/base/md.sparc64
  ~ lists/base/md.zaurus                  ~ lists/comp/mi

  > sync (deraadt@)

  ~ lists/base/mi                         

  > sync (deraadt@)

== lib =============================================================== 02/08 ==

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

libtls

  ~ tls.c                                 ~ tls_internal.h
  ~ tls_server.c                          

  > Create contexts for server side SNI - these include the additional SSL_CTX
  > that is required for certificate switching with libssl and the certificate
  > itself so that we can match against the subject and SANs. Hook up the
  > servername callback and switch to the appropriate SSL_CTX if we find a
  > matching certificate.
  > ok beck@ (jsing@)

  ~ tls.h                                 ~ tls_config.c
  ~ tls_conninfo.c                        ~ tls_init.3
  ~ tls_internal.h                        

  > Provide an API that enables server side SNI support - add the ability to
  > provide additional keypairs (via tls_config_add_keypair_{file,mem}()) and
  > allow the server to determine what servername the client requested (via
  > tls_conn_servername()).
  > ok beck@ (jsing@)

  ~ shlib_version                         

  > Bump libtls minor due to the addition of symbols. (jsing@)

  ~ tls.h                                 

  > Bump TLS_API due to the addition of server side SNI functions. (jsing@)

  ~ tls_peer.c                            

  > Stick with the usual 'if NULL return NULL' idiom.
  > ok beck@ (jsing@)

  ~ tls.c                                 ~ tls_conninfo.c
  ~ tls_internal.h                        

  > Various clean up and reorganisation of the connection info handling code.
  > In particular, rename tls_free_conninfo() to tls_conninfo_free() and make
  > it a real free function. Rename tls_get_conninfo() to
  > tls_conninfo_populate() and have it allocate the struct tls_conninfo (after
  > freeing any existing one).
  > ok beck@ (jsing@)

== libexec =========================================================== 03/08 ==

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

makewhatis

  - Makefile                              - makewhatis
  - makewhatis.8                          - OpenBSD/Makewhatis.pm
  - OpenBSD/Makewhatis/Check.pm           - OpenBSD/Makewhatis/Find.pm
  - OpenBSD/Makewhatis/Formated.pm        - OpenBSD/Makewhatis/Subject.pm
  - OpenBSD/Makewhatis/Unformated.pm      - OpenBSD/Makewhatis/Whatis.pm

  > This code served us well for many years,
  > but we are unlikely to reactivate it; espie@ agrees.
  > The new code is in /usr/src/usr.bin/mandoc/mandocdb.c. (schwarze@)

== regress =========================================================== 04/08 ==

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

sbin

  ~ route/rttest12.ok                     

  > Sync refcount with recent change. (mpi@)

  ~ route/rttest1.ok                      ~ route/rttest10.ok
  ~ route/rttest11.ok                     ~ route/rttest12.ok
  ~ route/rttest14.ok                     ~ route/rttest15.ok
  ~ route/rttest16.ok                     ~ route/rttest17.ok
  ~ route/rttest18.ok                     ~ route/rttest19.ok
  ~ route/rttest2.ok                      ~ route/rttest21.ok
  ~ route/rttest3.ok                      ~ route/rttest4.ok
  ~ route/rttest5.ok                      ~ route/rttest6.ok
  ~ route/rttest7.ok                      ~ route/rttest8.ok
  ~ route/rttest9.ok                      

  > Sync counters now that ifa_ifwithroute() no longer uses ifa_ifwithnet().
  > (mpi@)

  ~ route/Makefile                        

  > Use a reachable next hop for test 13, which make it fail as it should.
  > (mpi@)

== share ============================================================= 05/08 ==

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

man

  ~ man4/umb.4                            

  > fix typos (tedu@)

== sys =============================================================== 06/08 ==

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

arch/arm/arm

  ~ bus_dma.c                             ~ cpufunc.c

  > Before pmap7.c rev 1.35 and pmap.h rev 1.44 DMA'able memory with the
  > BUS_DMA_COHERENT flag was mapped as device memory which does not use the
  > store buffer.  It is now mapped as normal inner and outer non-cacheable
  > which does.
  > While we drain the cpu store buffer for this case, on cortex a9 systems we
  > also need to explicitly drain the PL310 L2's store buffer.  With PL310
  > revisions r3p2 and later this is done automatically after being present in
  > the store buffer for 256 cycles.  On i.MX6 PL310 is rev r3p1 which does
  > not have this behaviour.  This issue is i.MX6 errata ERR055199 and PL310
  > errata 769419.
  > This change restores io performance with a usb flash drive attached to
  > my cubox.  Raw reads go from 3 MB/s to 19 MB/s for example.
  > Based on code written by patrick@ some time ago.
  > ok kettenis@ patrick@ (jsg@)

arch/arm/cortex

  ~ arml2cc.c                             

  > Before pmap7.c rev 1.35 and pmap.h rev 1.44 DMA'able memory with the
  > BUS_DMA_COHERENT flag was mapped as device memory which does not use the
  > store buffer.  It is now mapped as normal inner and outer non-cacheable
  > which does.
  > While we drain the cpu store buffer for this case, on cortex a9 systems we
  > also need to explicitly drain the PL310 L2's store buffer.  With PL310
  > revisions r3p2 and later this is done automatically after being present in
  > the store buffer for 256 cycles.  On i.MX6 PL310 is rev r3p1 which does
  > not have this behaviour.  This issue is i.MX6 errata ERR055199 and PL310
  > errata 769419.
  > This change restores io performance with a usb flash drive attached to
  > my cubox.  Raw reads go from 3 MB/s to 19 MB/s for example.
  > Based on code written by patrick@ some time ago.
  > ok kettenis@ patrick@ (jsg@)

arch/arm/include

  ~ cpufunc.h                             

  > Before pmap7.c rev 1.35 and pmap.h rev 1.44 DMA'able memory with the
  > BUS_DMA_COHERENT flag was mapped as device memory which does not use the
  > store buffer.  It is now mapped as normal inner and outer non-cacheable
  > which does.
  > While we drain the cpu store buffer for this case, on cortex a9 systems we
  > also need to explicitly drain the PL310 L2's store buffer.  With PL310
  > revisions r3p2 and later this is done automatically after being present in
  > the store buffer for 256 cycles.  On i.MX6 PL310 is rev r3p1 which does
  > not have this behaviour.  This issue is i.MX6 errata ERR055199 and PL310
  > errata 769419.
  > This change restores io performance with a usb flash drive attached to
  > my cubox.  Raw reads go from 3 MB/s to 19 MB/s for example.
  > Based on code written by patrick@ some time ago.
  > ok kettenis@ patrick@ (jsg@)

arch/armv7/dev

  ~ com_fdt.c                             

  > Use the new clock API to get the clock frequency from the device tree and
  > the
  > actual hardware that controls the clock.  This gets rid of all the
  > hardcoded
  > clock frequencies for specific hardware.
  > Tested by jsg@ on the BBB, mglocker@ on the C.H.I.P. and myself on the
  > Banana Pi and Raspberry Pi 3.
  > ok jsg@ (kettenis@)

arch/armv7/sunxi

  ~ sxiccmu.c                             

  > Add code to enable the pll6 clock. (kettenis@)

  ~ sxiahci.c                             

  > Use the new clock API. (kettenis@)

  ~ sxiccmu.c                             

  > Add support for the usb clock.  Also implements reset signal support.
  > (kettenis@)

  ~ sxiehci.c                             

  > Move all the platform-specific code into a new function
  > sxiehci_attach_phy()
  > making use of pinctrl, clock and reset APIs where appropriate. (kettenis@)

  ~ sxiccmu.c                             

  > Add support for the gmac clock. (kettenis@)

  ~ if_dwge_fdt.c                         

  > Use new clock API to manipulate clocks. (kettenis@)

  ~ sxie.c                                

  > Use new clock API. (kettenis@)

  ~ sxiccmu.c                             ~ sxiccmuvar.h

  > Remove unused code and definitions. (kettenis@)

dev/ofw

  ~ ofw_clock.c                           ~ ofw_clock.h

  > Implement interfaces to disable clocks and add interfaces that enable or
  > disable all clocks for a device.  The latter interfaces are useful for
  > devices that have multiple clocks that don't have specific names/purposes
  > such as sxiahci(4). (kettenis@)

  ~ ofw_clock.c                           ~ ofw_clock.h

  > Add a reset signal API alongside the clock API. (kettenis@)

  ~ ofw_clock.c                           ~ ofw_clock.h

  > Add an API to set the clock frequency. (kettenis@)

  ~ ofw_clock.c                           

  > Fix two small bugs in the new reset API code. (kettenis@)

kern

  ~ uipc_socket.c                         

  > Refactor the uio to mbuf code out of sosend and start to make use of
  > MCLGETI and large mbuf clusters. This should speed up local connections
  > a fair bit. OK dlg@ and bluhm@ (after reverting the M_WAIT change on the
  > cluster allocation) (claudio@)

net

  ~ bpf.c                                 ~ bpfdesc.h

  > Call csignal() and selwakeup() from a KERNEL_LOCK'd task.
  > This will allow us make bpf_tap() KERNEL_LOCK() free.
  > Discussed with dlg@ and input from guenther@ (mpi@)

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

  > Make the ``rt_gwroute'' pointer of RTF_GATEWAY entries immutable.
  > This means that no protection is needed to guarantee that the next hop
  > route wont be modified by CPU1 while CPU0 is dereferencing it in a L2
  > resolution functions.
  > While here also fix an ``ifa'' leak resulting in RTF_GATEWAY being always
  > invalid.
  > dlg@ likes it, inputs and ok bluhm@ (mpi@)

  ~ route.c                               

  > Use rtalloc(9) instead of ifa_ifwithnet() to find an interface
  > when adding a route to gateway to ensure a most specific match.
  > This makes "# route add"  coherent to "# route get" even with
  > p2p interfaces.  Fix a problem reported by Mart Tõnso.
  > This also fix rttest20 after the introduction of RTF_CACHED.
  > ok vgross@ (mpi@)

netinet

  ~ ip_icmp.c                             

  > Do not dereference ``rt->rt_ifa'' after calling rtfree(9).
  > This could result in a use after free if the route entry was holding
  > the last reference of the address descriptor.
  > ok jca@, bluhm@, claudio@ (mpi@)

  ~ if_ether.c                            

  > Make the ``rt_gwroute'' pointer of RTF_GATEWAY entries immutable.
  > This means that no protection is needed to guarantee that the next hop
  > route wont be modified by CPU1 while CPU0 is dereferencing it in a L2
  > resolution functions.
  > While here also fix an ``ifa'' leak resulting in RTF_GATEWAY being always
  > invalid.
  > dlg@ likes it, inputs and ok bluhm@ (mpi@)

netinet6

  ~ frag6.c                               ~ in6.c
  ~ ip6_output.c                          ~ nd6.c
  ~ nd6_nbr.c                             ~ nd6_rtr.c
  ~ raw_ip6.c                             

  > Sizes for free(9) from David Hill. (mpi@)

  ~ nd6.c                                 

  > Make the ``rt_gwroute'' pointer of RTF_GATEWAY entries immutable.
  > This means that no protection is needed to guarantee that the next hop
  > route wont be modified by CPU1 while CPU0 is dereferencing it in a L2
  > resolution functions.
  > While here also fix an ``ifa'' leak resulting in RTF_GATEWAY being always
  > invalid.
  > dlg@ likes it, inputs and ok bluhm@ (mpi@)

netmpls

  ~ mpls_input.c                          

  > Do not dereference ``rt->rt_ifa'' after calling rtfree(9).
  > This could result in a use after free if the route entry was holding
  > the last reference of the address descriptor.
  > ok jca@, bluhm@, claudio@ (mpi@)

== usr.bin =========================================================== 07/08 ==

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

ftp

  ~ ftp.c                                 

  > Replace "union sockunion" with "union sockaddr_union" which is also
  > used in the kernel.  This makes it possible to remove the casts to
  > "struct sockaddr *" when calling networking syscalls.
  > OK jsing@ jca@ (millert@)

mandoc

  ~ dbm_map.c                             

  > When running into a mandoc.db(5) file still using the obsolete
  > format based on SQLite 3, say so in words that mortals can
  > understand rather than babbling about hex magic.
  > Suggested by espie@. (schwarze@)

  ~ mandocdb.c                            

  > When trying to edit an existing database with makewhatis(8) -d or -u
  > but reading the database fails, report the full path to the database
  > on standard error, and mention that the database is automatically
  > recreated from scratch.
  > Suggested by espie@. (schwarze@)

openssl

  ~ speed.c                               

  > Sorry Andrew and Luke, I'm pretty sure we deleted your IRIX and VMS code.
  > (deraadt@)

  ~ openssl.1                             

  > shorten the pkcs8 text; (jmc@)

tmux

  ~ tmux.1                                

  > Two minor fixes from dilyan palauzov. (nicm@)

== usr.sbin ========================================================== 08/08 ==

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

httpd

  ~ httpd.h                               ~ parse.y
  ~ server.c                              

  > Enable SNI support in httpd(8).
  > ok reyk@ (jsing@)

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

Reply via email to