OpenBSD src changes summary for 2017-03-15 ==========================================
lib/libc lib/libutil regress/lib sys/arch/alpha/compile sys/arch/amd64/compile sys/arch/arm64/compile sys/arch/armv7/compile sys/arch/hppa/compile sys/arch/i386/compile sys/arch/landisk/compile sys/arch/loongson/compile sys/arch/luna88k/compile sys/arch/luna88k/dev sys/arch/macppc/compile sys/arch/octeon/compile sys/arch/sgi/compile sys/arch/socppc/compile sys/arch/sparc64/compile sys/dev sys/dev/pv sys/dev/usb usr.bin/mandoc usr.bin/ssh usr.bin/tmux usr.bin/top usr.bin/whois usr.sbin/dhcrelay usr.sbin/vmctl usr.sbin/vmd == lib =============================================================== 01/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ asr/res_send_async.c > use recallocarray to resize buffer - ensures that detritus from previous > lookups isn't left lying around the address space. > ok eric (deraadt@) libutil ~ fmt_scaled.c > Catch integer underflow in scan_scaled reported by Nicolas Iooss. > ok deraadt@ djm@ (dtucker@) ~ fmt_scaled.c > Collapse underflow and overflow checks into a single block. > ok djm@ millert@ (dtucker@) == regress =========================================================== 02/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress lib ~ libutil/fmt_scaled/fmt_test.c > Clean up errno handling in fmt_scaled test: > - always clear before calling function under test. > - save immediately after function under test. > - always use saved value for validation and reporting. > - remove "fraction too big" testcase that never atually worked (but looked > like it did because the previous test's errno was never cleared). > - delete unecessary "extern int errno". (dtucker@) ~ libutil/fmt_scaled/fmt_test.c > Add tests for scaled overflow and underflow and the exact overflow and > underflow boundaries for 64bit platforms. Tests for exactly under the > boundaries disabled pending fixes. ok millert@ djm@ (previous version). > (dtucker@) == sys =============================================================== 03/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/amd64/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/arm64/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/armv7/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/hppa/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/i386/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/landisk/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/loongson/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/luna88k/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/luna88k/dev ~ lcd.c > We do not need while loop around uiomove(9) in lcdwrite(). > Pointed out by Enami Tsugutomo while porting this driver to NetBSD/luna68k > by Izumi Tsutsui. > Tested by me. (aoyama@) arch/macppc/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/octeon/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/sgi/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/socppc/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) arch/sparc64/compile ~ Makefile.inc > Fix building profiling kernels by passing the -p flag to config(8) > if the kernel's name ends in .PROF. > problem reported by jmc via mpi > ok mpi (tb@) dev ~ rnd.c > spelling and whitespace (deraadt@) dev/pv ~ vmmci.c > Improve vmmci(4) shutdown and reboot. > This change handles various cases to power off the VM, even if it is > unresponsive, stuck in ddb, or when the shutdown was initiated from > the VM guest side. Usage of timeout and VM ACKs make sure that the VM > is really turned off at some point. > OK mlarkin@ (reyk@) dev/usb ~ ubcmtp.c > Configure and apply the multitouch-tracking functions of wsmouse. > Special thanks to Martina P. for her help. > ok jcs@ jung@ (bru@) == usr.bin =========================================================== 04/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mandoc ~ cgi.c > It's annoying that people keep writing URIs including redundant parts > like "/OpenBSD-current/manN/". To discourage that, let man.cgi(8) > redirect search form results to nice, concise URIs. (schwarze@) ~ html.c ~ html.h ~ man_html.c ~ mdoc_html.c > Minimal support for deep linking into man(7) pages. > As the man(7) language does not provide semantic markup, > only .SH, .SS, and .UR become anchors for now. (schwarze@) ~ cgi.c > Mention the manual page name and section in the HTML page <title>. > Based on a patch from <Anton dot Lindqvist at gmail dot com>, > but simplified and also covering apropos(1) search results. (schwarze@) ~ cgi.c > In URIs in apropos(1) result tables, > only write the manpath if it does not match the default. (schwarze@) ssh ~ sshd.c > Fix segfault when sshd attempts to load RSA1 keys (can only happen > when protocol v.1 support is enabled for the client). Reported by > Jakub Jelen in bz#2686; ok dtucker (djm@) ~ ssh-agent.c > fix regression in 7.4: deletion of PKCS#11-hosted keys would fail > unless they were specified by full physical pathname. > Report and fix from Jakub Jelen via bz#2682; ok dtucker@ (djm@) ~ ssh-agent.c ~ sshd.c > accidents happen to the best of us; ok djm (deraadt@) ~ kex.c > disallow KEXINIT before NEWKEYS; ok djm; report by vegard.nossum at > oracle.com (markus@) tmux ~ tty.c > Try to avoid moving the cursor to the start of the next line when > printing cells if it is already at the very end of the line and the > terminal will wrap it to the next line itself, this means terminals > still see it as a wrapped line for the purposes of their own mouse > selection. Reported by millert@. (nicm@) ~ tty.c > Invalidate the cursor when we think we should have wrapped. (nicm@) top ~ commands.c ~ display.c ~ machine.c ~ screen.c ~ top.c ~ utils.c > annoying whitespace die die die (deraadt@) whois ~ whois.c > There's no need to realloc() a chunk of memory when you don't care > about the old contents, we don't want have to memcpy() the old > contents to the new chunk only to throw it away. > While here, use asprintf() to simplify things. OK deraadt@ (millert@) == usr.sbin ========================================================== 05/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin dhcrelay ~ dhcpd.h ~ dhcrelay.c ~ dispatch.c > Improve the interface and addresses discovery code and prepare to > receive IPv6 support. > ok reyk@ (rzalamena@) vmctl ~ vmctl.c > Print "-" if the tty name is empty. (reyk@) vmd ~ control.c > Don't terminate vmd(8) when we lost the control connection. > When a start vm request is received from vmctl via the control socket, > vmd's control process forwards it to the parent to trigger the action. > A response is received later, in an async way, and send back to vmctl > that is supposed to wait for it. But now, if vmctl got terminated > before receiving the response, vmd fails to find the control > connection. In this case it should not abort, print and warning, and > ignore the error. The fix is a simple as changing a return (-1) to a > return (0). > This fixes an issue that was reported by mlarkin@ (reyk@) ~ vmd.c > Close the tty if the VM was powered down. > The parent keeps a copy of each VM's tty fd to reuse it on reboot. > Close this tty if the VM was stopped, and not rebooted, by calling > vm_stop(vm, 0) instead of just setting vm_running to 0. Also make > sure that vm_ttyname is not used after free'ing it. (reyk@) ~ virtio.c ~ virtio.h ~ vm.c ~ vmd.h ~ vmm.c > Improve vmmci(4) shutdown and reboot. > This change handles various cases to power off the VM, even if it is > unresponsive, stuck in ddb, or when the shutdown was initiated from > the VM guest side. Usage of timeout and VM ACKs make sure that the VM > is really turned off at some point. > OK mlarkin@ (reyk@) ~ vmd.c > More fixes for starting and stopping VMs, fixing fallout from vm_running. > - Don't start a VM that is already running > - Keep the VM as running until it is powered off (and not stopping) > - Don't fatal in the parent if the vmm process referenced an unknown VM > - Don't stop a VM that is already stopping > - Indicate that a VM is stopping in "vmctl status" > The previous "vmctl stop; vmctl stop" to force-shutdown is not > supported anymore - the shutdown timeout should make sure that the VM > is really terminated. To force-shutdown, reference the VM by ID. > We might add a flag to vmctl stop to just turn the VM off. (reyk@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
