OpenBSD src changes summary for 2017-05-10
==========================================

include/stdlib.h                        regress/sys
sys/arch/amd64/amd64                    sys/arch/arm64/arm64
sys/arch/arm64/include                  sys/arch/loongson/dev
sys/arch/loongson/include               sys/arch/loongson/loongson
sys/arch/mips64/include                 sys/dev/hid
sys/dev/usb                             sys/dev/wscons
sys/sys                                 usr.bin/fstat
usr.bin/nc                              usr.bin/tmux
usr.bin/vmstat                          

== include =========================================================== 01/04 ==

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

stdlib.h

  ~ stdlib.h                              

  > Add bounded attribute to freezero().  OK tom@ (millert@)

== regress =========================================================== 02/04 ==

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

sys

  ~ netinet/ipsec/Makefile                ~ netinet/ipsec/README

  > Run tcpdump(8) on the enc0 device while the test is sending IPsec
  > packets.  Then check whether decrypted packets have been processed
  > by bpf(4) as expected. (bluhm@)

== sys =============================================================== 03/04 ==

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

arch/amd64/amd64

  ~ identcpu.c                            

  > The setting of the cpu feature flags for PCLMUL and AES-NI was guarded with
  > !SMALL_KERNEL and CRYPTO. Move it out of !SMALL_KERNEL to make use of these
  > features on RAMDISK_CD. Fixes a performance regression in the installer
  > introduced with the new aes implementation. In particular, it halves the
  > time needed to extract baseXX.tgz and compXX.tgz on my T420.
  > tweaks & ok mikeb (tb@)

arch/arm64/arm64

  ~ bus_dma.c                             ~ pmap.c

  > Remove pmep_pa_is_mem().  Instead create write-back cachable mappings by
  > default an require callers of pmap_enter() and require pmap_kenter_pa()
  > to explicitly request uncached mappings by passing the PMAP_NOCACHE flag
  > in the low bits of the physical address like we do on other architectures.
  > ok drahn@, patrick@ (kettenis@)

arch/arm64/include

  ~ pmap.h                                

  > Remove pmep_pa_is_mem().  Instead create write-back cachable mappings by
  > default an require callers of pmap_enter() and require pmap_kenter_pa()
  > to explicitly request uncached mappings by passing the PMAP_NOCACHE flag
  > in the low bits of the physical address like we do on other architectures.
  > ok drahn@, patrick@ (kettenis@)

arch/loongson/dev

  ~ htb.c                                 ~ htbvar.h

  > Add a PCI attach hook mechanism for htb(4), similar to the one
  > in bonito(4). Use the hook for setting up the PIC.
  > Discussed with miod@ long ago (visa@)

arch/loongson/include

  ~ autoconf.h                            

  > Add a PCI attach hook mechanism for htb(4), similar to the one
  > in bonito(4). Use the hook for setting up the PIC.
  > Discussed with miod@ long ago (visa@)

arch/loongson/loongson

  ~ generic3a_machdep.c                   

  > Add a PCI attach hook mechanism for htb(4), similar to the one
  > in bonito(4). Use the hook for setting up the PIC.
  > Discussed with miod@ long ago (visa@)

  ~ generic3a_machdep.c                   

  > Hook up HPET as a timecounter. (visa@)

arch/mips64/include

  ~ loongson3.h                           

  > Hook up HPET as a timecounter. (visa@)

dev/hid

  ~ hidkbd.c                              

  > Make this compile with HIDKBD_DEBUG defined. (mpi@)

dev/usb

  ~ usbdi.c                               

  > Revert r1.61 and partially 1.60.  The resulting logic is currently a
  > noop and prevent us from fixing real use-after-free.
  > Since xfer->status is reset by *_device_intr_done(), checking for
  > USBD_IOERROR cannot be true.
  > Problem reported by tb@ because ubcmtp(4) triggers some I/O errors
  > when multiple fingers are used. (mpi@)

  ~ usbdi.c                               

  > It is unsafe to dereference ``xfer'' after calling the callback as it
  > might free it.
  > Prevent a use-after-free in various aynchronous cases.  Found while
  > looking at another user-after-free pointed out by ehrhardt@.
  > Committing now to find if other drivers rely on this use-after-free.
  > tb@ confirmed ubcmtp(4) is now fixed. (mpi@)

dev/wscons

  ~ wstpad.c                              

  > Adapt the filter parameters to the X/Y ratio.
  > ok mpi@ (bru@)

sys

  ~ mbuf.h                                

  > Declare struct m_hdr as __aligned(8).  This forces the compiler to pad out
  > to
  > the next 8-byte boundary.  This avoids introducing additional padding
  > between struct m_hdr and union M_dat in struct mbuf when we add a 64-bit
  > timestamp in struct pkthdr, which would lead to a miscalculation of MLEN
  > and
  > panics on 32-bit architectures.  Note that using __aligned(sizeof(int64_t))
  > here would make the compiler crash!
  > Put back the packet timestamp now that it is (hopefully) safe to do so.
  > ok bluhm@, mikeb@ (kettenis@)

== usr.bin =========================================================== 04/04 ==

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

fstat

  ~ fstat.1                               

  > Explain about 0x0 PCB addresses in fstat(1) output. Suggestions/ok bluhm@
  > jmc@ (sthen@)

nc

  ~ nc.1                                  ~ netcat.c

  > Implement nc -W recvlimit to terminate netcat after receiving a
  > number of packets.  This allows to send a UDP request, receive a
  > reply and check the result on the command line.
  > input jmc@; OK millert@ (bluhm@)

tmux

  ~ cmd-send-keys.c                       ~ key-bindings.c
  ~ server-client.c                       ~ tmux.h

  > Insert copy mode bindings at the right place in the command queue. (nicm@)

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

  > Expand formats in option names and add -F flag to do so in option values as
  > well. (nicm@)

  ~ tty.c                                 

  > We can use ECH to clear sections of lines, so use it for internal panes
  > (that don't touch an edge). Move all the tty clear code into two common
  > functions rather than having the same bunch of checks everywhere. (nicm@)

  ~ cmd-refresh-client.c                  ~ resize.c
  ~ tmux.h                                

  > Prevent control clients from affecting the session size until they have
  > specified a size with refresh-client -C. Prompted by a different change
  > with the same purpose from George Nachman. (nicm@)

  ~ tty.c                                 

  > Move to the right cursor position before using spaces to clear. (nicm@)

vmstat

  ~ vmstat.8                              ~ vmstat.c

  > There's no difference between short and long sleepers, so just print
  > their number.
  > While here print the amount of memory in M instead of K to make the output
  > fit it 80 columns.
  > Reminded by tb@, ok visa@ (mpi@)

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

Reply via email to