OpenBSD src changes summary for 2017-05-07 to 2017-05-14 inclusive ==================================================================
bin/ksh distrib/arm64 distrib/sets etc/netstart gnu include/stdlib.h lib/libc lib/libcompiler_rt lib/libcrypto lib/libkeynote lib/libssl lib/libtls libexec/ld.so regress/lib regress/sys regress/usr.bin sbin/ifconfig share/man sys/arch/alpha/include sys/arch/amd64/amd64 sys/arch/amd64/conf sys/arch/amd64/include sys/arch/amd64/stand/efiboot sys/arch/arm/include sys/arch/arm64/arm64 sys/arch/arm64/conf sys/arch/arm64/include sys/arch/arm64/stand/efiboot sys/arch/armv7/stand/efiboot sys/arch/hppa/include sys/arch/i386/i386 sys/arch/i386/include sys/arch/i386/stand/libsa sys/arch/landisk/include sys/arch/loongson/dev sys/arch/loongson/include sys/arch/loongson/loongson sys/arch/macppc/include sys/arch/mips64/include sys/arch/mips64/mips64 sys/arch/octeon/conf sys/arch/octeon/include sys/arch/octeon/octeon sys/arch/powerpc/include sys/arch/sgi/include sys/arch/sgi/localbus sys/arch/sgi/pci sys/arch/sgi/sgi sys/arch/sgi/xbow sys/arch/socppc/include sys/arch/sparc64/include sys/ddb sys/dev/fdt sys/dev/hid sys/dev/ic sys/dev/pci sys/dev/pckbc sys/dev/pv sys/dev/usb sys/dev/wscons sys/kern sys/lib/libsa sys/net sys/netinet sys/netinet6 sys/nfs sys/sys sys/uvm usr.bin/fstat usr.bin/mandoc usr.bin/nc usr.bin/netstat usr.bin/openssl usr.bin/ssh usr.bin/tic usr.bin/tmux usr.bin/vmstat usr.sbin/installboot usr.sbin/ocspcheck usr.sbin/pkg_add usr.sbin/smtpd usr.sbin/syspatch usr.sbin/user usr.sbin/vmd == bin =============================================================== 01/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ksh ~ README > a little tidy up; from raf czlonka (jmc@) ~ emacs.c > Improve UTF-8 handling on lines that are wider than the terminal, > in two respects: > 1. During output in x_e_putc(), when counting display columns, > skip UTF-8 continuation bytes. Fixes backward movements that > cause horizontal scrolling. > 2. After deleting characters, recalculate the last byte that fits > on the line. > Patch from <Anton dot Lindqvist at gmail dot com> on tech@. > OK millert@ tb@ (schwarze@) == distrib =========================================================== 02/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib arm64 ~ miniroot/Makefile ~ ramdisk/install.md > Increase the offset from the start of the disk to the FAT filesystem > from sector 2048/1MB to sector 8192/4MB. > This gives enough space for a combined U-Boot and ATF FIT image for the > Firefly-RK3399. > Requested by and ok kettenis@ (jsg@) sets ~ lists/comp/mi > sync (jsg@) == etc =============================================================== 03/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc netstart ~ netstart > Replace hardcoded script name with ${0##*/} > OK tb@ halex@ (rpe@) ~ netstart > Change test from [] to [[]] and simplify pattern. > OK tb@, krw@ (for [[]]) > Feedback and OK halex@ (rpe@) == gnu =============================================================== 04/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu gnu ~ gcc/gcc/opts.c ~ gcc/gcc/opts.h ~ gcc/gcc/toplev.c > gcc 4.9 makes unknown -Wno-* vanish. > Reimplement that from scratch in our ancient gcc, because it's really > useful for porting newer code and dealing with compiler variations. > (slightly tweaked to reset location to unknown location after the okays) > okay kettenis@ jasper@ > found out https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28322 > after the patch, which explains a similar reasoning better, and leads > to another patch for older GCC, possibly GPLv3. (espie@) ~ llvm/tools/clang/lib/Basic/Targets.cpp ~ llvm/tools/clang/lib/Driver/Tools.cpp > Enable TLS support but default to the emulatated TLS model. Enable the > runtime support code libcompiler_rt for this. This code uses functions > that > live in libpthread, so code that uses TLS support will need to be linked > with -lpthread. This should allow more ports to build with base clang. > ok espie@ (kettenis@) == include =========================================================== 05/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/include stdlib.h ~ stdlib.h > Add bounded attribute to freezero(). OK tom@ (millert@) ~ stdlib.h > arc4random_buf should be bounded buffer, not bounded string > ok millert@ (tom@) == lib =============================================================== 06/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ compat-43/killpg.c > Don't allow a negative process group ID, it would turn into a > process ID when negated. (millert@) ~ compat-43/killpg.3 > killpg() is covered by XSI so add a STANDARDS section to that effect > and document that handling of process group 0 is not specified by > the standard. (millert@) ~ gen/basename.3 ~ gen/dirname.3 > Update STANDARDS section, these are now in XSI BASE. (millert@) ~ gen/glob.c > Fix exponential CPU use with repeated '*' operators by changing '*' > handling to be interative instead of recursive. > Fix by Yves Orton, ported to OpenBSD glob.c by Ray Lai. OK tb@ (millert@) ~ stdlib/malloc.c ~ stdlib/posix_memalign.3 > - fix bug wrt posix_memalign(3) of blocks between half a page and a page > - document posix_memalign() does not play nice with reacallocarray(3) and > freezero(3) (otto@) libcompiler_rt ~ Makefile > Enable TLS support but default to the emulatated TLS model. Enable the > runtime support code libcompiler_rt for this. This code uses functions > that > live in libpthread, so code that uses TLS support will need to be linked > with -lpthread. This should allow more ports to build with base clang. > ok espie@ (kettenis@) libcrypto ~ man/BUF_MEM_new.3 > BUF_MEM_grow_clean() returns an int, not a size_t. Humourously, on success > it returns "len", which is a size_t value, as an int... (jsing@) ~ evp/e_chacha20poly1305.c > Fix a problem introduced in freezero() conversion and use > sizeof(struct) not sizeof(pointer). > otto@ points out that on OpenBSD currently freezero() would have still > zeroed the entire allocation, but this is not documented behaviour and > may change in future. > ok tom@ (jsg@) libkeynote ~ signature.c > Prevent memory leak on sbuf by freeing it unconditionally and ensure > finalbuf is also free'd if kn_encode_base64 somehow fails > hint from tb@, OK millert@ and tb@ (mestre@) libssl ~ d1_both.c ~ d1_clnt.c ~ d1_pkt.c ~ d1_srvr.c ~ s3_lib.c ~ ssl.h ~ ssl_both.c ~ ssl_clnt.c ~ ssl_err.c ~ ssl_lib.c ~ ssl_locl.h ~ ssl_pkt.c ~ ssl_srvr.c ~ ssl_stat.c ~ t1_lib.c > Move state from ssl->internal to the handshake structure. > while we are at it, convert SSLerror to use a function > internally, so that we may later allocate the handshake > structure and check for it > ok jsing@ (beck@) ~ bs_cbb.c > Instead of starting a 'zero-sized' CBB at the size of the first addition > to the CBB, then doubling, start with an initial size of 64 bytes. Almost > all uses will exceed this size and we avoid multiple small recallocarray() > calls during the initial usage. > ok beck@ (jsing@) ~ s3_lib.c > Drop cipher suites with DSS authentication - there is no good reason to > keep these around. > ok beck@ (jsing@) libtls ~ tls.c > Return an error if tls_handshake() is called on a TLS context that has > already completed a TLS handshake. (jsing@) ~ tls_client.c ~ tls_internal.h > Ensure that a client context has been connected before attempting to > complete a TLS handshake. (jsing@) == libexec =========================================================== 07/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ dlfcn.c ~ malloc.c ~ resolve.h > Always use the same callback to unlock as was used to lock. Permits > libpthread initialization from a shared object's init (or fini, I suppose) > routines. > ok kurt@ kettenis@ espie@ (guenther@) == regress =========================================================== 08/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress lib ~ libtls/tls/tlstest.c > An an initial sequencing/ordering test for libtls. (jsing@) ~ libtls/tls/tlstest.c > Add a test that calls tls_handshake() on a connection that has already > completed a TLS handshake. This should return a failure, but currently > succeeds (hence the regress currently fails). (jsing@) ~ libtls/tls/tlstest.c > Also test calling tls_handshake() on a server connection context that has > already completed a TLS handshake. (jsing@) ~ libtls/tls/tlstest.c > Add a (currently failing) call to tls_handshake() on a client context that > has not yet been connected. We expect this to fail, but it should fail > gracefully. (jsing@) ~ libssl/client/clienttest.c > Revise cipher suites in regress to match DSS cipher suite removal. (jsing@) ~ libsndio/cap/cap.c > Fix typos and spacing. From Andre Smagin <as at smagin.com>. Thanks. > (ratchov@) 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@) ~ netinet/ipsec/Makefile > Use the new netcat -W recvlimit feature to speed up the test. (bluhm@) ~ netinet/ipsec/Makefile > Enable IPv6 IPsec transport mode tests for ping and TCP over ESP > and IPComp. The kernel has been fixed. (bluhm@) ~ netinet/ipsec/Makefile ~ netinet/ipsec/README + netinet/ipsec/pf.conf > Run all IPsec tests with a pf rule that logs everything on the enc0 > interface. Use tcpdump to write the pflog0 output into a file. > Then grep can verify that all encrypted packets have been processed > by pf. (bluhm@) ~ crypto/enc/Makefile > Pick aes.c instead of rijndael.c (mikeb@) usr.bin ~ mandoc/roff/Makefile + mandoc/roff/ta/Makefile + mandoc/roff/ta/basic-man.in + mandoc/roff/ta/basic-man.out_ascii + mandoc/roff/ta/basic-mdoc.in + mandoc/roff/ta/basic-mdoc.out_ascii > Basic implementation of the roff(7) .ta (define tab stops) request. > This is the first feature made possible by the parser reorganization. > Improves the formatting of the SYNOPSIS in many Xenocara GL manuals. > Also important for ports, as reported by many, including naddy@. > (schwarze@) ~ ssh/dhgex.sh ~ ssh/putty-ciphers.sh ~ ssh/ssh-com.sh > remove arcfour, blowfish and CAST here too (djm@) ~ ssh/unittests/sshkey/test_sshkey.c > fix for new SSH_ERR_KEY_LENGTH error value (djm@) ~ mandoc/roff/Makefile + mandoc/roff/ti/Makefile + mandoc/roff/ti/basic-man.in + mandoc/roff/ti/basic-man.out_ascii + mandoc/roff/ti/basic-mdoc.in + mandoc/roff/ti/basic-mdoc.out_ascii > Basic implementation of the roff(7) .ti (temporary indent) request. > Needed by about four dozen ports (thanks to naddy@ for the research). > (schwarze@) ~ mdoclint/mdoclint ~ mdoclint/mdoclint.1 > remove the -s option, it is fully covered by mandoc -Tlint; > OK jmc@ (schwarze@) ~ mdoclint/mdoclint ~ mdoclint/mdoclint.1 > delete the -a option, it's now fully covered by mandoc -Tlint; > OK jmc@ wiz@ (schwarze@) == sbin ============================================================== 09/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin ifconfig ~ ifconfig.8 > Make the markup of negative parameters consistently use .Cm; > those are command modifiers, not flags. Inconsistency noticed > and patch sent in by Anton dot Lindqvist at gmail dot com. (schwarze@) == share ============================================================= 10/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man7/man.7 > implement .DT in terms of .ta; needed for print/ghostview, for example > (schwarze@) ~ man7/roff.7 > Convert REQUEST REFERENCE from using .Ss to .Bl -tag, allowing to > specify request arguments and supporting tag searching in less(1). > Improve some entries and document .ta. (schwarze@) ~ man7/roff.7 > Basic implementation of the roff(7) .ti (temporary indent) request. > Needed by about four dozen ports (thanks to naddy@ for the research). > (schwarze@) ~ man7/ports.7 > No more CD-ROM releases, and advertise HTTP for > package download rather than FTP. Based on a patch > from <timo dot myyra at wickedbsd dot net>, tweaked by me. (schwarze@) ~ man5/printcap.5 > Default lpd spool directory is /var/spool/output/lpd. > reported by martin at martinbrandenburg dot com > ok tb@ (ajacoutot@) == sys =============================================================== 11/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) arch/amd64/amd64 ~ vmm.c > further improvement to vmm fpu handling (support avx and avx2, block > avx512 and various xsave* instructions) > tested by many (mlarkin@) ~ db_trace.c > add printing of arguments in stack traces. > this relies on building the kernel with -msave-args, which has > functions save their register arguments on the stack, so ddb can > easily find them and print them. > while here try to print arguments out of registers if we're at the > top of the stack (ie, if we set a breakpoint on a function entry). > -msave-args is only added to the compiler flags if the kernel has > been configured with ddb. this means it wont waste the space on > RAMDISK kernels because they don't include ddb. > inspired by similar functionality that has been in use on solaris > and its derivatives for well over a decade. > ok deraadt@ (dlg@) ~ db_trace.c > After a break point at the beginning of a function, printing its > arguments faulted in ddb. Accessing the register arguments was off > by one and in wrong order. > OK dlg@ (bluhm@) ~ 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@) ~ vmm.c > panic doesn't need \n. > Suggested by Michael W. Bombardieri, thanks. (mlarkin@) ~ copy.S > Make copyin(9) and copyout(9) atomic for naturally aligned 32-bit words. > ok mpi@, visa@ (kettenis@) arch/amd64/conf ~ Makefile.amd64 > add printing of arguments in stack traces. > this relies on building the kernel with -msave-args, which has > functions save their register arguments on the stack, so ddb can > easily find them and print them. > while here try to print arguments out of registers if we're at the > top of the stack (ie, if we set a breakpoint on a function entry). > -msave-args is only added to the compiler flags if the kernel has > been configured with ddb. this means it wont waste the space on > RAMDISK kernels because they don't include ddb. > inspired by similar functionality that has been in use on solaris > and its derivatives for well over a decade. > ok deraadt@ (dlg@) arch/amd64/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) ~ atomic.h > Make atomic.h ready to be included in userland. > - prefix the LOCK macro with an underscore > - keep setbits/clearbits and virtio barriers inside _KERNEL > ok dlg@, kettenis@ (mpi@) arch/amd64/stand/efiboot ~ efidev.c > Casting int is required for passing uint64 value to "%u" since we don't > assume the size of int. The problem was spotted by Michele Curti. > (yasuoka@) arch/arm/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) ~ atomic.h > Make atomic.h ready to be included in userland. > - keep setbits/clearbits and virtio barriers inside _KERNEL > - prefix def_atomic_xxx macros with underscores (mpi@) 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/conf ~ GENERIC ~ RAMDISK > Enable dwge(4). If the network hardware is initialized by U-Boot, the > Gigabit Ethernet port on the FireFly-RK3399 actually works! (kettenis@) arch/arm64/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) ~ 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@) ~ atomic.h > Make atomic.h ready to be included in userland. > - keep setbits/clearbits and virtio barriers inside _KERNEL > ok dlg@, kettenis@ (mpi@) arch/arm64/stand/efiboot ~ conf.c ~ efiboot.c ~ fdt.c ~ fdt.h > Pass the address of the EFI system table and the EFI memory map through > properties in the /chosen node of the FDT. The properties match the ones > used by Linux (see Documentation/arm/uefi.txt in the Linux kernel source > tree) but with the "linux," prefix replaced by "openbsd,". > ok jmatthew@, tom@ (kettenis@) arch/armv7/stand/efiboot ~ fdt.c ~ fdt.h > Sync FDT code with arm64. (kettenis@) arch/hppa/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) arch/i386/i386 ~ vmm.c > panic doesn't need \n. > Suggested by Michael W. Bombardieri, thanks. (mlarkin@) ~ locore.s > Make atomic.h ready to be included in userland. > - prefix the LOCK macro with an underscore > - keep setbits/clearbits and virtio barriers inside _KERNEL > - Get rid of unused futex_atomic_ucas_int32(). > ok dlg@, kettenis@ (mpi@) arch/i386/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) ~ atomic.h > Make atomic.h ready to be included in userland. > - prefix the LOCK macro with an underscore > - keep setbits/clearbits and virtio barriers inside _KERNEL > - Get rid of unused futex_atomic_ucas_int32(). > ok dlg@, kettenis@ (mpi@) arch/i386/stand/libsa ~ pxe_net.c > Guard debug printf with NETIF_DEBUG ifdef like the other debug prints. > ok tom@ (patrick@) arch/landisk/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) arch/loongson/dev ~ htb.c > Fix range check. (visa@) ~ 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 ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) ~ 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 > Whitelist SMBus IO addresses to let the driver, piixpm(4), work again. > (visa@) ~ 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/macppc/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) arch/mips64/include ~ loongson3.h > Hook up HPET as a timecounter. (visa@) arch/mips64/mips64 ~ cpu.c > Set up IPI handling on the primary CPU before booting secondary CPUs. > This ensures the IPI handler is in place before the first IPI is sent. > Drop the comment about xheart because it is somewhat misleading. > Discussed with miod@ (visa@) arch/octeon/conf ~ ld.script > Mix bits from the built-in RNG with the randomdata section at boot time. > This should improve considerably the quality of early entropy and > stack protector guard data on octeon. > Suggested by and OK deraadt@ > OK kettenis@, jasper@ (visa@) arch/octeon/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) arch/octeon/octeon ~ locore.S > Mix bits from the built-in RNG with the randomdata section at boot time. > This should improve considerably the quality of early entropy and > stack protector guard data on octeon. > Suggested by and OK deraadt@ > OK kettenis@, jasper@ (visa@) arch/powerpc/include ~ atomic.h > Make atomic.h ready to be included in userland. > - keep setbits/clearbits inside _KERNEL > ok dlg@, kettenis@ (mpi@) arch/sgi/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) ~ bus.h > The device_to_pa routine really isn't needed. We always have physical > addresses. While there, pave the way for BUS_DMA_64BIT (not working > yet). > Diff from miod@; OK dlg@ (visa@) arch/sgi/localbus ~ imc.c ~ macebus.c > The device_to_pa routine really isn't needed. We always have physical > addresses. While there, pave the way for BUS_DMA_64BIT (not working > yet). > Diff from miod@; OK dlg@ (visa@) arch/sgi/pci ~ macepcibridge.c > The device_to_pa routine really isn't needed. We always have physical > addresses. While there, pave the way for BUS_DMA_64BIT (not working > yet). > Diff from miod@; OK dlg@ (visa@) arch/sgi/sgi ~ bus_dma.c > The device_to_pa routine really isn't needed. We always have physical > addresses. While there, pave the way for BUS_DMA_64BIT (not working > yet). > Diff from miod@; OK dlg@ (visa@) arch/sgi/xbow ~ xbridge.c > The device_to_pa routine really isn't needed. We always have physical > addresses. While there, pave the way for BUS_DMA_64BIT (not working > yet). > Diff from miod@; OK dlg@ (visa@) arch/socppc/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) arch/sparc64/include ~ bus.h > add a BUS_DMA_64BIT flag to bus_dma on all our archs. > this is so drivers can advertise that they can handle 64 dma addresses > to the platform. it may choose to handle dmamaps differently based > on this flag. > tweaks and ok tom@ > ok kettenis@ (dlg@) ddb ~ db_ctf.c > Use C99 types. (mpi@) dev/fdt ~ if_dwge_fdt.c > Refactor this code to support the GMAC found on the Rockchip RK3399 > alongside > the GMAC found on the Allwinner A20/A31. > With this diff I can receive packets on the Firefly-RK3399. Unfortunately > sending packets doesn't seem to work yet. (kettenis@) ~ rkpinctrl.c > Handle drive strength. (kettenis@) dev/hid ~ hidkbd.c > Make this compile with HIDKBD_DEBUG defined. (mpi@) ~ hidkbd.c > Introduce a new keyboard console hook to enter ddb(4) and make ukbd(4) > use it. > Instead of defering every input of a USB console keyboard to a timeout > via a queue of one element, only differ entering ddb(4) once a matching > control sequenece has been typed. > This prevent loosing inputs when a USB console keyboard is "too fast". > Fix a problem reported by matthieu@, Adam McDougall and Hrvoje Popovski. > ok stsp@, dlg@ (mpi@) dev/ic ~ dwc_gmac.c > Program hardware address in dwc_gmac_init() instead of dwc_gmac_attach() > such that "ifconfig dwge0 lladdr 00:11:22:33:44:55" actually works. > (kettenis@) ~ r92creg.h > Fix R92C_TXDW4_RTSRATE_M and R92C_TDECTRL_BLK_DESC_NUM_M definitions. > Same changes as FreeBSD r311948 and r287584. > Patch submitted by Kevin Lo. Tested by me. (stsp@) ~ rtwn.c > 8192C is the only MIMO chip supported by this driver, all others are 1T1R. > This diff corrects dmesg to properly show that all others are 1T1R, since > right > now it only applies to 8188C and all others incorrectly display 0T0R. > hint & OK stsp@ (mestre@) ~ nvme.c > subtract one sector from the disk size before passing it back to the > scsi layer, which will add one sector back > fixes incorrect disk size reporting which was causing fdisk to > create a protective MBR of one too many sectors, which caused our > EFI bootloader to fail to recognize it as a GPT disk > ok dlg (jcs@) dev/pci ~ if_iwm.c > Fix issues with iwm(4) firmware's retry rate table: > For a HT node, ni_txrate is always zero. We should be using ni_txmcs > instead. > Simplify the if-else logic to make sure of that. > The mimo delimiter in the link quality command was never set. > I don't know how important this is. But Linux sets it, so why not. > Hardcode the lowest rate at the tail of the retry table. > While debugging the old code I have encountered retry tables filled > with only 'MCS 8' which is obviously not ideal. > While here, fix a misspelled function prototype. > Tested by kettenis@, mpi@, and Stefan Wollny > ok mpi@ (stsp@) ~ if_iwm.c > In iwm(4) avoid locking the NIC redundantly and perform accounting of > locking and unlocking. Make sure we don't unlock 7000 family NICs while > a command is being processed (later NICs apparently don't need this). > Inspired by similar approaches in Linux and Dragonfly, and a patch given > to me by Imre Vadasz. > Tested by me on 7265 and 8260 devices, and on a 7260 device by Stefan > Wollny. (stsp@) ~ if_iwmvar.h > Unbreak the tree. I missed a header file change in my last iwm(4) commit. > (stsp@) ~ if_iwm.c > In iwm_send_cmd(), look at the generation counter instead of the STOPPED > flag > to determine whether the interface was reset while we were sleeping. The > flag > will be set if the interface is still down when the task wakes up, but the > interface could already be up again in which case the flag will be cleared. > ok mpi@ kettenis@ (stsp@) dev/pckbc ~ pms.c > improved coordinate filters > ok mpi@ (bru@) dev/pv ~ vioscsi.c > Align vioscsi's bus_dma* dancing with vioblk. Eliminates > creating/destroying maps on each i/o. > ok sf@, "makes sense" dlg@ as part of larger diff. (krw@) dev/usb ~ if_urtwn.c > For 8188EU chips, read the R92C_HSSI_PARAM2(0) register to detect whether > the driver needs to enable the CCK high power feature, as already done for > other chips supported by urtwn(4). > Same change as FreeBSD r311347. > Patch submitted by Kevin Lo. Tested by me. (stsp@) ~ ubcmtp.c > improved coordinate filters > ok mpi@ (bru@) ~ 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@) ~ ukbd.c > Introduce a new keyboard console hook to enter ddb(4) and make ukbd(4) > use it. > Instead of defering every input of a USB console keyboard to a timeout > via a queue of one element, only differ entering ddb(4) once a matching > control sequenece has been typed. > This prevent loosing inputs when a USB console keyboard is "too fast". > Fix a problem reported by matthieu@, Adam McDougall and Hrvoje Popovski. > ok stsp@, dlg@ (mpi@) dev/wscons ~ wsconsio.h ~ wsmouse.c ~ wsmouseinput.h ~ wstpad.c > improved coordinate filters > ok mpi@ (bru@) ~ wstpad.c > Adapt the filter parameters to the X/Y ratio. > ok mpi@ (bru@) ~ wskbd.c ~ wskbdvar.h > Introduce a new keyboard console hook to enter ddb(4) and make ukbd(4) > use it. > Instead of defering every input of a USB console keyboard to a timeout > via a queue of one element, only differ entering ddb(4) once a matching > control sequenece has been typed. > This prevent loosing inputs when a USB console keyboard is "too fast". > Fix a problem reported by matthieu@, Adam McDougall and Hrvoje Popovski. > ok stsp@, dlg@ (mpi@) kern ~ uipc_mbuf.c > add a compile time assertion MSIZE == sizeof(struct mbuf) > ok kettenis mpi tom (tedu@) ~ uipc_domain.c > Convert a splsoftnet()/splx() dance to NET_ASSERT_LOCKED(). > pfctlinput() is only called in the input path with the NET_LOCK() held. > ok bluhm@ (mpi@) lib/libsa ~ nfs.c > Guard debug printf with NFS_DEBUG ifdef like the other debug prints. > ok tom@ (patrick@) net ~ fq_codel.c > Fix stage transition from the initial one to DROPPING > When the initial state is set to DROPPING, the code immediately > jumps to a CONTROL state bypassing DROPPING. To fix this we start > with an explicit INITIAL state so that we do an INITIAL->DROPPING > transition right off the bat in the beginning of the loop and > then perform a DROPPING->CONTROL and either CONTROL->DROPPING and > restart the loop or CONTROL->RECOVERY/ACCEPTING and terminate. (mikeb@) ~ if_var.h > Added initial IPv6 multicast routing support for multiple rdomains: > * don't share mifs (multicast interface) between rdomains > * allow multiple routing sockets connected at the same time if they are > in different rdomains. > ok bluhm@ (rzalamena@) ~ hfsc.c > Add a compatibility shim for older pfctl binaries > Found by and input from dlg@, OK sthen, tedu, henning (mikeb@) ~ pf_table.c > Replace the global variables pfr_{sin,sin6} with stack local variables > so that we can run these parts of pf in parallel. Also replace a > single usage of pfr_mask with a stack local variable. > ok mpi@ (patrick@) ~ if.c > pfctlinput(PRC_IFDOWN, ...) has no effect on OpenBSD so remove it. > ok bluhm@ (mpi@) ~ fq_codel.c > Increment drop counter on the enqueue failure (mikeb@) ~ fq_codel.c ~ fq_codel.h > Add pf queue configuration glue for FQ-CoDel (mikeb@) ~ rtable.c > No need to go through a remove/insert cycle when there's a single route > entry on the multipath list. > Fix a NULL dereference triggered by a CPU doing a lookup when another one > is updating the priorities of some routes. By not doing a remove/insert > we ensure that ``an_rtlist'' is never empty and do not need a conditional > in the fast path. > Problem reported by and ok markus@ (mpi@) ~ fq_codel.c > Remove a leftover from the ifq_mfreeml conversion (mikeb@) ~ if_switch.c ~ switchofp.c > Make a kernel with switch(4) but without INET6 compile again. > Sprinkle some #ifdef INET6 and do not use in6addr_any from the > netinet6 code. > test and OK rzalamena@ (bluhm@) ~ fq_codel.c ~ fq_codel.h > Export delay statistics instead of bucket information (mikeb@) ~ if_bridge.c > Unify duplicate code from address family switch in bridge_ipsec(). > Remove an if condition that cannot happen. > OK mikeb@ (bluhm@) netinet ~ tcp_subr.c > Convert diagnostic panic to compile time assert in tcp6_ctlinput(). > No binary change. > OK mpi@ (bluhm@) ~ in_proto.c > Remove rip_output() and rip6_output() from inetsw and inet6sw. The > rip_output() function is never called via the pr_output pointer. > rip_usrreq(PRU_SEND) calls rip_output() directly. raw_usrreq() is > never called from inetsw. Situation in inet and inet6 is analog. > OK claudio@ mikeb@ (bluhm@) ~ igmp.c ~ ip_icmp.c TAGGED OPENBSD_6_1 > If m is not a continuous mbuf cluster, m_pullup() in pr_input may > change the pointer. Then *mp keeps the invalid pointer and it might > be used. Fix the potential use after free in igmp_input_if() and > icmp_input_if(). As the input buffers normally deal with mbuf > clusters, the use after free should not happen. > OK mikeb@ mpi@ (bluhm@) ~ ip_input.c TAGGED OPENBSD_6_1 > Fix white spaces and wrap long line. No binary change. (bluhm@) ~ ipsec_input.c TAGGED OPENBSD_6_1 > IPv6 IPsec transport mode did not work if pf is enabled. The > decrypted packets in the input path were not checked with pf. So > with stateful filtering on enc0, direction aware protocols like > ping or TCP did not pass. Add an explicit pf_test() in > ipsec_common_input_cb() for IPv6 transport mode to fix this. > OK mikeb@ (bluhm@) ~ ip_input.c ~ ip_var.h TAGGED OPENBSD_6_1 > Use the IPsec policy check from ipv4_input() also when forwarding > in ip6_input(). While there avoid an ugly #ifdef in ipv4_input(). > OK mikeb@ (bluhm@) ~ ipsec_input.c TAGGED OPENBSD_6_1 > Instead of printing a debug message at the end of processing, panic > early if the IPsec security protocol is unknown. ipsec_common_input() > and ipsec_common_input_cb() can only be called with the IP protocols > ESP, AH, or IPComp. Everything else is a programming mistake. > OK claudio@ (bluhm@) ~ tcp_usrreq.c TAGGED OPENBSD_6_1 > Use the common switch(af) construct for address family specific > code in tcp_usrreq(PRU_CONNECT). Do not access sockaddr_in before > checking the address family. Return EAFNOSUPPORT error in the > default case. > OK mikeb@ (bluhm@) ~ ip_input.c ~ ip_var.h ~ ipsec_input.c TAGGED OPENBSD_6_1 > IPsec packets were passed through ip_input() a second time after > they have been decrypted. That means that all the IP header fields > were checked twice. Also fragment reassembly was tried twice. > At pf incoming packets in tunnel mode appeared twice on the enc0 > interface, once as IP-in-IP and once as the inner packet. In the > outgoing path pf only sees the inner packet. Asymmetry is bad for > stateful filtering. > IPv6 shows that IPsec works without that. After decrypting immediately > continue with local delivery. In tunnel mode the IP-in-IP protocol > functions pass the inner header to ip6_input(). In transport mode > only pf_test() has to be called for the enc0 device. > Introduce ip_local() to avoid needless processing and cleaner pf > behavior in IPv4 IPsec. > OK mikeb@ (bluhm@) ~ tcp_usrreq.c TAGGED OPENBSD_6_1 > Do not check for mapped addresses in tcp_usrreq(PRU_CONNECT), > this is done in in6_pcbconnect(). > OK mpi@ (bluhm@) netinet6 ~ in6.c ~ ip6_input.c ~ ip6_mroute.c ~ ip6_mroute.h ~ ip6_output.c ~ ip6_var.h ~ raw_ip6.c > Added initial IPv6 multicast routing support for multiple rdomains: > * don't share mifs (multicast interface) between rdomains > * allow multiple routing sockets connected at the same time if they are > in different rdomains. > ok bluhm@ (rzalamena@) ~ icmp6.c ~ ip6_output.c > Remove icmp6_reflect() micro optimization to simplify code and avoid a > M_LOOP flag dance in ip6_output(). > ok bluhm@, mpi@ (rzalamena@) ~ icmp6.c > Fix a possible NULL pointer deference on icmp6 echo reply caught by > clang. > with tweak from and ok bluhm@ (rzalamena@) ~ mld6.c > Fix a compilation error on arm64 that was caught by clang. > Found by kettenis@ (rzalamena@) ~ ip6_output.c ~ nd6.c > Kill commented out code referencing pfctlinput2() and a wrong comment > about pfctlinput(PRC_HOSTDEAD). > ok bluhm@ (mpi@) ~ in6_proto.c > Remove rip_output() and rip6_output() from inetsw and inet6sw. The > rip_output() function is never called via the pr_output pointer. > rip_usrreq(PRU_SEND) calls rip_output() directly. raw_usrreq() is > never called from inetsw. Situation in inet and inet6 is analog. > OK claudio@ mikeb@ (bluhm@) ~ ip6_input.c > Fix white spaces and wrap long line. No binary change. (bluhm@) ~ ip6_input.c > Use the IPsec policy check from ipv4_input() also when forwarding > in ip6_input(). While there avoid an ugly #ifdef in ipv4_input(). > OK mikeb@ (bluhm@) ~ in6_pcb.c > Do not check for locally bound mapped addresses in in6_pcbconnect(), > this is done during bind(2) in in6_pcbaddrisavail(). > OK mpi@ (bluhm@) ~ raw_ip6.c > Check for mapped addesses in rip6_output() like it is done in > udp6_output(). Move the EAFNOSUPPORT error from rip6_usrreq() to > rip6_output() like it is done for UDP. > OK mpi@ (bluhm@) ~ udp6_output.c > Return EADDRNOTAVAIL if UDP sendto(2) is used with a mapped address. > OK mpi@ (bluhm@) nfs ~ nfs_socket.c > Sync nfs_connect() w/ sys_connect(). > ok bluhm@ (mpi@) sys ~ mbuf.h > Backout previous as it's causing problems on architectures that align > 64 bit integers on an 8 byte boundary such as armv7. MHLEN calculation > doesn't account for padding bytes inserted by the compiler after m_hdr. > Found the hard way by kettenis@. (mikeb@) ~ ctf.h > Use C99 types and add a couple of missing macros needed for ctfconvert(1). > (mpi@) ~ 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@) uvm ~ uvm_glue.c > Unifed PMAP_UAREA, unused since we stopped supporting ARM < v7. > ok kettenis@ (mpi@) ~ uvm_meter.c > Stop considering some sleeping threads are running. > PZERO used to be a special value in the first BSD releases but since > the introduction of tsleep(9) there's no way to tell if a thread is > going to sleep for a "short" period of time. > This remove the only (ab)use of ``p_priority'' outside the scheuler > logic, which will help moving avway from a priority-based scheduler. > ok visa@ (mpi@) ~ uvm_init.c ~ uvm_km.c ~ uvm_km.h > reorder uvm init to avoid use before initialisation. > the particular use before init was in uvm_init step 6, which calls > kmeminit to set up malloc(9), which calls uvm_km_zalloc, which calls > pmap_enter, which calls pool_get, which tries to allocate a page > using km_alloc, which isnt initalised until step 9 in uvm_init. > uvm_km_page_init calls kthread_create though, which uses malloc > internally, so it cant be reordered before malloc init. > to cope with this, uvm_km_page_init is split up. it sets up the > subsystem, and is called before kmeminit. the thread init is moved > to uvm_km_page_lateinit, which is called after kmeminit in uvm_init. (dlg@) ~ uvm_km.c > unbreak PMAP_DIRECT archs. > found by jmc@ (dlg@) == usr.bin =========================================================== 12/13 == 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@) mandoc ~ Makefile ~ man_term.c ~ mdoc_man.c ~ mdoc_term.c ~ roff.c ~ roff.h ~ roff_html.c ~ roff_term.c ~ roff_validate.c ~ term.c ~ term.h ~ term_ascii.c + term_tab.c > Basic implementation of the roff(7) .ta (define tab stops) request. > This is the first feature made possible by the parser reorganization. > Improves the formatting of the SYNOPSIS in many Xenocara GL manuals. > Also important for ports, as reported by many, including naddy@. > (schwarze@) ~ man_term.c > implement .DT in terms of .ta; needed for print/ghostview, for example > (schwarze@) ~ mdoc_man.c ~ roff.c ~ roff.h ~ roff_html.c ~ roff_term.c ~ roff_validate.c ~ term.h ~ term_ascii.c ~ term_ps.c > Basic implementation of the roff(7) .ti (temporary indent) request. > Needed by about four dozen ports (thanks to naddy@ for the research). > (schwarze@) ~ man.c ~ roff.c > Line-breaking roff(7) requests also break man(7) next-line scope. > Considering that real roff implements next-line scope using input > line traps, that isn't all that surprising. > Issue found in the games/xbattle port. (schwarze@) ~ man_html.c ~ man_term.c ~ mdoc_html.c ~ mdoc_term.c > Trailing \c suppresses the output line break even if > the next line is a text line starting with whitespace. > Quirk found in the sysutils/rancid port. (schwarze@) ~ Makefile > Fix the man.cgi target after the recent file additions; > this didn't break the build because it's not built by default. (schwarze@) ~ html.c ~ mdoc_html.c > Make the tag column in .Bl -tag lists wider: > 1. I forgot about the 2n padding between tag and body. > 2. The factor 1.1 was too small for bold fold, make it *1.15 + 1n. > Ugliness spotted by tb@. (schwarze@) ~ html.c > Tweak previous: tb@ noticed that some browser/font combinations > have so amazingly wide bold fonts (for the same nominal font size) > that adding 15% to the column width still isn't sufficient to make > text reliably fit, so go for 20%. (schwarze@) ~ mdoc_validate.c > warn about punctuation between .Xr and .Rs in SEE ALSO; > inspired by mdoclint (schwarze@) 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@) netstat ~ mroute6.c > Make netstat(8) always ask for IPv6 multicast routing information. Worst > case is that we get an empty response instead of a message saying that > there is no multicast support. > ok mpi@ (rzalamena@) openssl ~ Makefile > Limit -Werror to gcc4 as was done in libcrypto/libssl/libtls to avoid > failed builds with different compilers. > ok jsing@ (jsg@) ~ ca.c > simplify startdate/enddate validation > ok jsing@ (beck@) ssh ~ sshd_config.5 ~ sshd.8 ~ ssh_config.5 ~ ssh_config ~ packet.c ~ cipher.c ~ cipher.h > As promised in last release announcement: remove support for > Blowfish, RC4 and CAST ciphers. ok markus@ deraadt@ (djm@) ~ myproposal.h > Don't offer CBC ciphers by default in the client. ok markus@ (djm@) ~ ssh-keygen.c ~ ssh-rsa.c ~ ssh.h ~ ssherr.c ~ ssherr.h ~ sshkey.c ~ sshkey.h > Refuse RSA keys <1024 bits in length. Improve reporting for keys that > do not meet this requirement. ok markus@ (djm@) ~ packet.c > I was too aggressive with the scalpel in the last commit; > unbreak sshd, spotted quickly by naddy@ (djm@) ~ packet.c > helps if I commit the correct version of the file. fix missing > return statement. (djm@) ~ sshkey.c > make requesting bad ECDSA bits yield the same error (SSH_ERR_KEY_LENGTH) > as the same mistake for RSA/DSA (djm@) ~ digest-libc.c ~ digest-openssl.c ~ digest.h ~ mac.c > remove hmac-ripemd160; ok dtucker (djm@) tic ~ dump_entry.c > Fix the index check in the FNKEY macro. This is only used when > restricting the output to a version usable on AIX or HP-UX. > OK tb@ (millert@) tmux ~ input-keys.c ~ key-bindings.c ~ server-client.c ~ tmux.h ~ tty-keys.c ~ xterm-keys.c > Up to now, tmux sees \033\033[OA as M-Up and since we turned on > xterm-keys by default, generates \033[1;3A instead of > \033\033[OA. Unfortunately this confuses vi, which doesn't understand > xterm keys and now sees Escape+Up pressed within escape-time as Escape > followed by A. > The issue doesn't happen in xterm itself because it gets the keys from X > and can distinguish between a genuine M-Up and Escape+Up. > Because xterm can, tmux can too: xterm will give us \033[1;3A (that is, > kUP3) for a real M-Up and \033\033OA for Escape+Up - in fact, we can be > sure any \033 preceding an xterm key is a real Escape key press because > Meta would be part of the xterm key instead of a separate \033. > So change tmux to recognise both sequences as M-Up for its own purposes, > but generate the xterm version of M-Up only if it originally received > the xterm version from the terminal. > This means we will return to sending \033\033OA instead of the xterm key > for terminals that do not support xterm keys themselves, but there is no > practical way around this because they do not allow us to distinguish > between Escape+Up and M-Up. xterm style escape sequences are now the de > facto standard for these keys in any case. > Problem reported by jsing@ and subsequently by Cecile Tonglet in GitHub > issue 907. (nicm@) ~ format.c ~ tmux.1 ~ tmux.h ~ window-choose.c ~ window-clock.c ~ window-copy.c > Add a format for the name of the pane's mode, lets it be used as a > conditional for key bindings. (nicm@) ~ cmd-rotate-window.c > Set current pane in rotate-window. (nicm@) ~ server-client.c ~ tmux.h ~ tty.c > If the current screen was complex enough, it was possible to make redraw > itself hit the "terminal can't keep up" check. To avoid this, record how > much data we send during redraw (we know we will be starting with 0) and > skip the check until it has been flushed. GitHub issue 912. (nicm@) ~ cmd-send-keys.c > If the target pane for send-keys in in a mode with a key table (that is, > copy mode), then look the key up in the table and fire any command > instead of delivering the key to the pane directly where it will be > ignored. This makes C-b C-b (send-prefix) work in copy mode again. (nicm@) ~ 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@) ~ cmd-resize-pane.c > Change how we resolve which pane is dragging when there are multiple > options - choose the largest pane, which is more likely to be the one the > user wants to resize. Prompted by a report from Thomas Sattler. (nicm@) ~ environ.c ~ tmux.h > Make environ_log prefix take a format. (nicm@) ~ tty.c > Need to redraw out to cellsize (total cells used in a line) rather than > cellused (only non-space cells) because there may be cells with a > nondefault background. (nicm@) ~ screen-write.c > Clear to start of screen needs to use background colour. (nicm@) ~ format.c ~ tmux.h ~ window-copy.c ~ window.c > Store copy mode search string in pane so search-again command works even > if you exit and reenter copy mode (it doesn't remember the position, > just the search string), suggested by espie@. (nicm@) ~ tty.c > Can use DECFRA to clear area when not using default background. (nicm@) ~ input.c ~ screen-write.c ~ tmux.h ~ tty.c > ECH needs to use background colour. (nicm@) ~ tty.c > Can use INDN to clear regions with default background colour if margins > are supported. (nicm@) ~ tty.c > Regions can't be smaller than 2 so don't try to clear them by scrolling if > so. (nicm@) ~ grid-view.c ~ grid.c ~ input.c ~ screen-write.c ~ server-fn.c ~ tmux.h ~ tty.c ~ window-copy.c > Scrolling needs to use background colour. (nicm@) ~ format.c > Only redraw single client, and tweak some logging. (nicm@) ~ screen-write.c > Need to clear tty context before using it. (nicm@) ~ tty.c > Cannot rely on cursor position after DL and IL (some terminals move to > column 0, some do not). (nicm@) ~ screen-write.c > Need to store bg for ECH. (nicm@) ~ grid.c > When expanding a line in order to clear it, we need to use the default > background colour - there may be portions that we do not want to clear > with the new background colour. (nicm@) ~ format.c > Reset updated flag when restarting job so new output is detected, > reported by Gregory Pakosz in GitHub issue 922. (nicm@) ~ format.c > Remove an unused variable. (nicm@) ~ tty.c > Can scroll away full lines to clear them too. (nicm@) ~ tty.c > Compare >= for columns not >. (nicm@) ~ grid.c ~ tty.c > Some other unused variables. (nicm@) ~ tty.c > Scroll the right number of lines off the region when clearing. (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@) == usr.sbin ========================================================== 13/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin installboot ~ Makefile ~ armv7_installboot.c > Add arm64 support. > ok tom@ (kettenis@) ocspcheck ~ Makefile > Limit -Werror to gcc4 as was done in libcrypto/libssl/libtls to avoid > failed builds with different compilers. > ok jsing@ (jsg@) ~ ocspcheck.c > Print size_t's correctly. > Fix from Jonas 'Sortie' Termansen <sor...@maxsi.org> (beck@) pkg_add ~ pkg_add.1 > No more CD releases, and advertise HTTP rather than FTP for packages. > Patch from <Timo dot Myyra at wickedbsd dot net>. (schwarze@) smtpd ~ smtpd.c > queue is not owned by _smtpd but _smtpq so a bug in lookup process does not > allow read/write of envelopes and messages, unfortunately the purge_task() > function which is in charge of garbage collecting left-overs from aborted > transactions is still executed as _smtpd preventing it from working. > issue reported by Philippe Meunier, fix from Edgar Pettijohn (gilles@) syspatch ~ syspatch.sh > Only test the mirror if it's remote (and not a local directory). > (ajacoutot@) ~ syspatch.8 > Document that patches are cumulative and as such it is not possible to > install > only a subset of them. > with input from jmc@ (ajacoutot@) ~ syspatch.sh > Make sure we have a valid URL in /etc/installurl to prevent ending up stuck > in > ftp(1) interactive mode. > reported by and OK sthen@ (ajacoutot@) user ~ user.c > Replace memset(3) with explicit_bzero(3) on user(8) on sensitive data > (passwords) as soon as they are not needed on memory anymore. > OK millert@ (mestre@) vmd ~ Makefile ~ i8253.c ~ i8253.h ~ i8259.c ~ i8259.h ~ mc146818.c ~ mc146818.h ~ ns8250.c ~ ns8250.h ~ virtio.c ~ virtio.h + atomicio.c + atomicio.h > Adds functions to read and write state of devices in vmd. > This is required for implementing vmctl send and vmctl receive. vmctl > send / receive are two new options that will support snapshotting VMs > and migrating VMs from one host to another. The atomicio files are > copied from usr.bin/ssh. > Patch from Pratik Vyas; this project was undertaken at San Jose State > University along with his three teammates, Ashwin, Harshada and Siri > with mlarkin@ as the advisor. > OK mlarkin@ (reyk@) ~ virtio.c > typo, spotted by dhill. > ok reyk@ (mlarkin@) =============================================================================== _______________________________________________ owc mailing list owc@squish.net http://www.squish.net/mailman/listinfo/owc