OpenBSD src changes summary for 2017-07-12 ==========================================
games/fortune regress/sys regress/usr.sbin share/man sys/arch/amd64/amd64 sys/arch/amd64/include sys/arch/arm/include sys/arch/i386/i386 sys/arch/i386/include sys/arch/loongson/loongson sys/arch/mips64/include sys/arch/octeon/dev sys/dev/ic sys/dev/pci sys/dev/pv sys/kern sys/net sys/netinet sys/netinet6 sys/sys usr.bin/tmux usr.sbin/ndp usr.sbin/relayd usr.sbin/rtadvd usr.sbin/vipw usr.sbin/ypldap == games ============================================================= 01/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games fortune ~ fortune/fortune.6 ~ fortune/fortune.c > Inspect LC_CTYPE and if it isn't UTF-8, weed out bytes that are not > printable ASCII. That makes using UTF-8 in fortune datfiles safe. > Potential usefulness of UTF-8 in fortune datfiles noticed by bentley@. > OK tedu@ millert@. (schwarze@) == regress =========================================================== 02/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sys ~ uvm/mmap_hint/mmap_hint.c > We cannot mmap(2) memory at VM_MAXUSER_ADDRESS as the full allocated > page must be below that address. Subtract PAGE_SIZE from the hint > address, then regress passes. (bluhm@) usr.sbin ~ pkg_add/Makefile > Disable failing pkg_add tests and document when they were added. > Targets are still executed, but are expected to fail. (bluhm@) == share ============================================================= 03/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/athn.4 ~ man4/otus.4 ~ man4/rsu.4 ~ man4/rtwn.4 ~ man4/uath.4 ~ man4/urtwn.4 > Mark up firmware pathnames with Pa. > ok jmc@ (bentley@) ~ man5/bsd.port.mk.5 > consistently use "User settings" instead of a mixture of this and a > couple of "User-settings" in bsd.port.mk(5). ok espie@ (sthen@) == sys =============================================================== 04/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ machdep.c > remove CPU_LIDSUSPEND/machdep.lidsuspend > "fire away!" tedu (natano@) arch/amd64/include ~ vmmvar.h > Make max memory for VMs equal to MAXDSIZ to avoid failing later during > VM setup. > ok pd (mlarkin@) ~ cpu.h > remove CPU_LIDSUSPEND/machdep.lidsuspend > "fire away!" tedu (natano@) arch/arm/include ~ cpu.h > remove CPU_LIDSUSPEND/machdep.lidsuspend > "fire away!" tedu (natano@) arch/i386/i386 ~ machdep.c > remove CPU_LIDSUSPEND/machdep.lidsuspend > "fire away!" tedu (natano@) arch/i386/include ~ vmmvar.h > Make max memory for VMs equal to MAXDSIZ to avoid failing later during > VM setup. > ok pd (mlarkin@) ~ cpu.h > remove CPU_LIDSUSPEND/machdep.lidsuspend > "fire away!" tedu (natano@) arch/loongson/loongson ~ machdep.c > remove CPU_LIDSUSPEND/machdep.lidsuspend > "fire away!" tedu (natano@) arch/mips64/include ~ cpu.h > remove CPU_LIDSUSPEND/machdep.lidsuspend > "fire away!" tedu (natano@) arch/octeon/dev ~ octciu.c > Reorganize separate configuration fields into per-CPU structs > to compact the data indexing. This additionally improves the cache > locality of the data. (visa@) dev/ic ~ wdc.c ~ wdcvar.h > Introduce two quirks to prevent attaching ATA and ATAPI devices > Hyper-V and Xen have varying support for detaching emulated IDE > devices ranging from none on Hyper-V to only IDE disks but not > CDROM (Xen). The quirk mechanism provides a way of enforcing the > desired behavior. > With suggestions and OK kettenis, tedu, mlarkin (mikeb@) dev/pci ~ pciide.c > Introduce two quirks to prevent attaching ATA and ATAPI devices > Hyper-V and Xen have varying support for detaching emulated IDE > devices ranging from none on Hyper-V to only IDE disks but not > CDROM (Xen). The quirk mechanism provides a way of enforcing the > desired behavior. > With suggestions and OK kettenis, tedu, mlarkin (mikeb@) ~ if_vic.c > Reshuffle vic_start and get rid of the dequeue begin/rollback/commit dance > Tested on ESXi 5.5.0, OK reyk (mikeb@) ~ if_txp.c ~ if_txpreg.h > Tweak txp to avoid ifq_deq_begin/commit/rollback > Setup the transmit ring the way FreeBSD driver does giving each > descriptor a 16 fragment chain and revamp the start routine to > use m_defrag for long chains and avoid the dequeue begin/commit/ > rollback dance. > OK dlg (mikeb@) ~ drm/drm_crtc.c ~ drm/drm_crtc.h ~ drm/drm_linux.c ~ drm/drm_linux.h ~ drm/i915/i915_drv.c > Add a "Backlight" property to connectors with an associated backlight > controller for the inteldrm(4) driver. If wscons(4) provides backlight > control, prefer ir over raw hardware control and attach it to LVDS, eDP > and DSI connectors which are the connector types typically connected to > laptop screens. (kettenis@) dev/pv ~ hvs.c > Prefer paravirtualized interface for IDE disks as well (mikeb@) kern ~ subr_pool.c > When there is no contention on a pool cache lock, lower the number > of items that a cache list is allowed to hold. This lets the cache > release resources back to the common pool after pressure on the cache > has decreased. > OK dlg@ (visa@) ~ subr_pool.c > Compute the level of contention only once. > Suggested by and OK dlg@ (visa@) ~ uipc_syscalls.c > Do not call fo_ioctl() in syscall that do, or will, take the socket > lock. > Prevents a future lock recursion since soo_ioctl() will need to grab > the lock. > ok bluhm@, visa@ (mpi@) ~ vfs_bio.c > Invalidate read-ahead buffers when read short > Buffercache performs read-ahead for cluster reads by extending > the length of an original read operation to the MAXPHYS (64k). > Upon I/O completion, the length is trimmed and the buffer is > returned to the filesystem and the remaining data is cached. > However, under certain circumstances, the underlying hardware > may fail to do a complete I/O operation and return with a non- > zero value of the residual length (i.e. data that wasn't read). > The residual length may exceed the size of an original request > and must be re-adjusted to uphold the contract with the caller, > e.g. the filesystem. At the same time, read-ahead buffers that > cover chunks of memory corresponding to the residual length > must be invalidated and not cached. > Discussed at length during d2k17, ok tedu (mikeb@) net ~ pf_lb.c > Use a 32 bit variable to detect integer overflow when searching for > an unused nat port. Prevents a possible endless loop if high port > is 65535 or low port is 0. > report and analysis Jingmin Zhou; OK sashan@ visa@ (bluhm@) netinet ~ icmp6.h > Get rid of ICMPV6CTL_ND6_DRLIST and ICMPV6CTL_ND6_PRLIST sysctls > With this we can also get rid of in6_prefix and in6_defrouter. They > are meaningless, the kernel no longer tracks this information. > Pointed out by & OK mpi (florian@) netinet6 ~ icmp6.c ~ nd6.c ~ nd6.h > Get rid of ICMPV6CTL_ND6_DRLIST and ICMPV6CTL_ND6_PRLIST sysctls > With this we can also get rid of in6_prefix and in6_defrouter. They > are meaningless, the kernel no longer tracks this information. > Pointed out by & OK mpi (florian@) sys ~ socketvar.h > Kill 'rwlock' forward declaration, this should have been removed with > sbsleep(). (mpi@) == usr.bin =========================================================== 05/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin tmux ~ proc.c ~ server-client.c ~ server-fn.c ~ tmux.h > proc_send_s now seems unnecessary. (nicm@) ~ client.c ~ tmux.c ~ tmux.h > Make shell_command a global like other stuff rather than making it an > exception and using callback argument. (nicm@) - signal.c ~ Makefile ~ client.c ~ cmd-pipe-pane.c ~ job.c ~ proc.c ~ server.c ~ tmux.h ~ window.c > Move signal code into proc.c. (nicm@) ~ cmd-pipe-pane.c ~ job.c ~ server.c ~ window.c > Block signals between forking and clearing signal handlers (or calling > event_reinit) - if the child gets a signal and fires the libevent signal > handler during this period it could write a signal into the parent's > signal pipe. GitHub issue 1001 from Aaron van Geffen. (nicm@) ~ proc.c > Do not need to set up USR2 twice. (nicm@) ~ mode-tree.c ~ window-tree.c > Line up keys in tree mode, and don't expand windows with one pane. From > Thomas Adam. (nicm@) == usr.sbin ========================================================== 06/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin ndp ~ ndp.8 ~ ndp.c > Remove defunct code, the kernel no longer provides > ICMPV6CTL_ND6_DRLIST and ICMPV6CTL_ND6_PRLIST sysctls since it no > longer tracks that information. > We can no longer flush or list the prefix list or the default router > list. > Pointed out by & OK mpi (florian@) relayd ~ check_icmp.c > Consistently use the variable "ttl" for get/setsockopt > ok benno@ on an earlier version, input from Kapetanakis Giannis (jca@) rtadvd ~ if.c > Don't clobber errno, we want to log_warn what went wrong. > OK benno, millert (florian@) ~ log.c ~ log.h > Bring over fatal{,x} from bgpd so that we can have format strings. > OK benno (florian@) ~ config.c ~ if.c ~ rtadvd.c > replace > log_warnx("foo"); > exit(1); > with > fatalx("foo); > OK benno (florian@) ~ if.c > errno is not set, use log_warnx > OK benno (florian@) vipw ~ vipw.c > Useless include > from Matthew Martin (jca@) ypldap ~ entries.c > Log when we have finished pushing users and groups > Helps people testing new configurations. From Kurt Mosiejczuk (jca@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
