OpenBSD src changes summary for 2017-07-14 ==========================================
regress/usr.bin regress/usr.sbin sbin/dhclient sbin/slaacd sys/arch/alpha/alpha sys/arch/amd64/amd64 sys/arch/i386/i386 sys/dev/pci sys/dev/pv sys/net sys/netinet usr.bin/mandoc usr.bin/newsyslog usr.bin/ssh usr.bin/tmux == regress =========================================================== 01/04 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress usr.bin ~ mandoc/char/unicode/invalid.out_html ~ mandoc/char/unicode/latin1.out_html ~ mandoc/char/unicode/latin1diff.out_html ~ mandoc/char/unicode/named.out_html ~ mandoc/char/unicode/namediff.out_html ~ mandoc/char/unicode/nogroff.out_html ~ mandoc/eqn/fromto/basic.out_html ~ mandoc/eqn/nullary/roman.out_html ~ mandoc/eqn/nullary/symbol.out_html ~ mandoc/eqn/subsup/precedence.out_html ~ mandoc/eqn/unary/diacrit.out_html > adapt to hex format of character entities, > committed by bentley@ in html.c rev. 1.86 (schwarze@) usr.sbin + ifstated/Makefile + ifstated/ifstated + ifstated/statemachine > Add regression tests for ifstated. > Not hooked into regress/usr.sbin/Makefile yet. > From Rob Pierce <[email protected]> (benno@) ~ httpd/tests/LICENSE ~ httpd/tests/Makefile ~ httpd/tests/args-get-1048576.pl ~ httpd/tests/args-get-1073741824.pl ~ httpd/tests/args-get-512.pl ~ httpd/tests/args-get-range-512.pl ~ httpd/tests/args-get-range-multipart.pl ~ httpd/tests/args-get-slash.pl ~ httpd/tests/args-tls-get-range-512.pl ~ httpd/tests/args-tls-get-range-multipart.pl ~ httpd/tests/funcs.pl > Do not mix Perl read() with sysread(). Data could get stuck in the > buffered IO and test run-regress-args-get-1073741824.pl would fail > on slow hardware. Introduce a common function read_part() that > uses Perl read(). Limit debug output to one line per 1% of data. > Remove unused function http_server(). Fix whitespace. Cleanup > Makefile. (bluhm@) ~ relayd/LICENSE ~ relayd/args-http-filter-null-host.pl ~ relayd/args-http-host3.pl ~ relayd/args-http-slow-consumer.pl ~ relayd/funcs.pl > Do not mix Perl read() with sysread(). Data could get stuck in the > buffered IO and test run-regress-args-http-chunked.pl would fail > on slow hardware. Limit debug output to one line per 1% of data. > Improve function write_syswrite(). Sync with httpd regress. Fix > whitespace. (bluhm@) == sbin ============================================================== 02/04 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ dispatch.c > bpf(4) *may* deliver more than one captured packet at a time. So when > the bpf socket signals that it has data, call packethandler() in a > loop until no more bpf packets are available. (krw@) ~ dhclient.c > Pour the few relevant bits of the current lease and the offered > renewal lease into canonical forms and compare those rather than the > leases themselves. Eliminates spurious interface and route > manipulation when irrelevant aspects of the leases are changed by the > DHCP server. > Problem found by Paul de Weerd when his DHCP server returned > renewed leases differing only by a decremented dhcp-lease-time option. > ok mpi@ (krw@) ~ clparse.c ~ dhclient.c ~ kroute.c ~ options.c ~ parse.c > Replace remaining "!<pointer>" expressions with > "<pointer> == NULL". And of course "<pointer>" > expressions with "<pointer> != NULL". (krw@) ~ bpf.c ~ clparse.c ~ conflex.c ~ dhclient.c ~ dispatch.c ~ kroute.c ~ options.c ~ packet.c ~ parse.c ~ privsep.c > Replace remaining "!var" expressions with > "<var> == 0", "!(<var> & FLAG)" with > "(<var> & FLAG) == 0", "!<func()>" > with "<func()> == 0" and "!<define>" with > "<define> == 0". And the positive cases > as well. > A few stray == NULL and != NULL as well. (krw@) ~ bpf.c > "ioctl() < 0" ==> "ioctl() == -1" as god and guenther@ > intended. (krw@) slaacd ~ engine.c ~ frontend.c ~ slaacd.c > run IMSG_UPDATE_IF through the main process, reduces upcomming diff > for RFC 7217 support (florian@) == sys =============================================================== 03/04 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/alpha ~ locore0.S > fix GET_CURPCB on !MULTIPROCESSOR builds. > this lets GENERIC work as well as GENERIC.MP. it should also fix > bsd.rd. tested by me on an es45. > from a grumpy alpha user (dlg@) arch/amd64/amd64 ~ trap.c > The regress test src/regress/sys/kern/siginfo-fault checks whether > the si_code is SEGV_ACCERR after memory access with wrong permissions > has triggert a SIGSEGV. Adapt the behavior of i386 and amd64 kernel. > Remove the useless code that changed error from EACCES to EFAULT > in amd64. Also convert variable name rv to errno in i386 to make > it look like amd64. > OK kettenis@ (bluhm@) arch/i386/i386 ~ trap.c > The regress test src/regress/sys/kern/siginfo-fault checks whether > the si_code is SEGV_ACCERR after memory access with wrong permissions > has triggert a SIGSEGV. Adapt the behavior of i386 and amd64 kernel. > Remove the useless code that changed error from EACCES to EFAULT > in amd64. Also convert variable name rv to errno in i386 to make > it look like amd64. > OK kettenis@ (bluhm@) dev/pci ~ drm/drm_dp_helper.c ~ drm/drm_dp_mst_topology.c ~ drm/drm_linux.h ~ drm/i915/intel_sdvo.c ~ drm/radeon/atombios_i2c.c ~ drm/radeon/radeon_i2c.c > Add some more i2c glue to reduce the diffs to Linux. (kettenis@) dev/pv ~ if_xnf.c > Support out-of-order TX completion notifications > Apparently, just like the disk interface, the network backend may > post TX completions out-of-order, i.e. the ring position doesn't > determine which descriptor is being completed and the code must > look at the response id inside the completion message. It might > seem obvious, but since networking hardware doesn't usually work > this way, it was something that has been overlooked. > Based on instability reports from Kirill Miazine <km at krot ! org>, > thanks! (mikeb@) ~ xen.c ~ xenvar.h > Silence the interrupt source until the interrupt task has done its job > This small change significantly improves performance under load and halves > the number of received interrupts. (mikeb@) ~ xen.c > Reduce the number of CAS loops from ludicrous to ridiculous > Now that the source of the delay with releasing grant table entries has > been identified and fixed the number of attempts to CAS entry flags can > be substantially reduced and while it's decreased by a factor of 100000, > it should go down at least a 100 more in the future. (mikeb@) ~ xen.c > Spacing (mikeb@) net ~ pfkeyv2_parsemessage.c > kernels don't build without MROUTING because ip_var.h only sometimes > introduces a forward decl for socket. turns out the affected file doesn't > need ip_var.h, so remove it. then move the decl to the bottom to prevent > the problem from recurring. > bug report by Nick Briggs > ok mpi (tedu@) netinet ~ ip_var.h > kernels don't build without MROUTING because ip_var.h only sometimes > introduces a forward decl for socket. turns out the affected file doesn't > need ip_var.h, so remove it. then move the decl to the bottom to prevent > the problem from recurring. > bug report by Nick Briggs > ok mpi (tedu@) == usr.bin =========================================================== 04/04 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mandoc ~ eqn_html.c > do not print <math class="eqn"><mrow></mrow></math> for empty .EQ; > issue reported by bentley@ (schwarze@) ~ html.c > Print HTML character references as 4+ digits hexadecimal, like Unicode. > tweaks + ok schwarze@ (bentley@) ~ html.c ~ mandoc.css ~ mdoc_html.c > Handle .Bl -compact via CSS rather than writing individual style > attributes into .It blocks; suggested by Steffen Nurpmeso <steffen > at sdaoden dot eu> on <groff at GNU dot org> in April 2017. > Delete margin-bottom and margin-top style names and the 'v' argument > letter from print_otag() because they are no longer used. (schwarze@) ~ html.c > Fix an assertion failure triggered by print_otag("sw+-l", NULL). > Even though we skip the style when the argument is NULL, > we must still consume the options. > Not found with afl(1), but during manual testing of the previous patch... > (schwarze@) ~ roff.c > Explicitly initialize a variable where the compiler is (understandably) > unable to figure out that it is never used uninitialized. > While here, tweak the content of the variable to make its usage > easier to understand. No functional change. (schwarze@) ~ roff.c > The .Dd and .TH macros must interrupt .ce, too; > fixing tree corruption and assertion failure found by jsg@ with afl(1) > (schwarze@) ~ eqn.c > always give commas their own <mo> element, > suggested by bentley@, improves e.g. glMultMatrix(3) (schwarze@) newsyslog ~ newsyslog.c > TAILQs instead of hand-rolled lists > ok millert@ (jca@) ~ newsyslog.c > Don't bother freeing memory just before exiting. > Suggested by & ok bluhm@ (jca@) ssh ~ clientloop.c > Make ""Killed by signal 1" LogLevel verbose so it's not shown at the > default > level. Prevents it from appearing during ssh -J and equivalent > ProxyCommand > configs. bz#1906, bz#2744, feedback&ok markus@ (dtucker@) tmux ~ proc.c ~ server-client.c > Fix redraw defer code in the presence of multiple clients - the timer > may be needed for all of them, so don't delete it on the first; and > don't skip setting the redraw flag if the timer is already running. > Reported by Pol Van Aubel in GitHub issue 1003. (nicm@) ~ client.c ~ cmd-pipe-pane.c ~ job.c ~ proc.c ~ server.c ~ tmux.h ~ window.c > Because ignore SIGCHLD early, letting signal_del restore it doesn't work > correctly, so set it explicitly back to default (and the others for good > measure). (nicm@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
