OpenBSD src changes summary for 2017-06-23 ==========================================
etc/moduli games/adventure gnu/lib/libiberty gnu/usr.bin/cc regress/usr.bin sbin/dhclient share/man sys/arch/amd64/include sys/arch/arm/include sys/arch/arm64/include sys/arch/hppa/include sys/arch/powerpc/include sys/arch/sh/include sys/arch/sparc64/include sys/dev/ic sys/dev/pv sys/dev/usb sys/kern sys/net sys/sys usr.bin/mandoc usr.bin/ssh usr.bin/systat usr.bin/tmux == etc =============================================================== 01/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc moduli ~ moduli > Import regenerated moduli. (dtucker@) == games ============================================================= 02/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games adventure ~ extern.h ~ io.c ~ wizard.c > Remove unused confirm() and datime() functions. > Those functions are unused and have been compiled out since 1998, > it's time to let them go. > OK sthen@, tom@, mestre@ (fcambus@) == gnu =============================================================== 03/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu lib/libiberty ~ src/testsuite/test-demangle.c ~ src/testsuite/test-expandargv.c ~ src/testsuite/test-pexecute.c > Make libiberty test programs compile and run without segfault. (bluhm@) usr.bin/cc ~ cc_tools/Makefile > Always include Makefile.dep, conditionally including it based on the > existence of a .depend file can lead to various problems. > The logic before rev 1.15 resulted in Makefile.dep always being > included as DEPENDSFILE was never set so this returns to the old > behaviour. > ok espie@ (jsg@) == regress =========================================================== 04/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress usr.bin ~ mdoclint/mdoclint ~ mdoclint/mdoclint.1 > delete -r, RCS id checks are now covered by mandoc, > and garbage collect the unused "inliteral" state variable; > ok jmc@ (schwarze@) ~ mdoclint/mdoclint ~ mdoclint/mdoclint.1 > delete warning about missing whitespace before trailing punctuation; > mandoc handles this now, not in exactly the same way, but catching > all the important cases, and with less false positives; > no objection from jmc@ (schwarze@) ~ mdoclint/mdoclint > delete unused "lastline" state variable and some commented out lines; > no functional change (schwarze@) == sbin ============================================================== 05/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ dhcpd.h ~ kroute.c ~ privsep.c ~ privsep.h > Take reyk's imsg resolv.conf improvements of a while ago to their > logical conclusion. > Nuke _PATH_RESOLV_CONF since the value is only meant to be > known inside priv_write_resolv_conf(). Just use a local const char *. > Bring priv_write_resolv_conf() into line with other priv_ functions > invoked from the dispatch loop. i.e. don't pass it the imsg, just pass > a pointer to the data and a size after ensuring there is data to pass. > (krw@) ~ dhclient.c > Use a const char * for "/etc/resolv.conf.tail" instead of repeating the > text in various forms in different error messages. Also makes the error > messages consistent by always displaying the full path name. (krw@) ~ privsep.c > Oops. Remove extraneous 'return' and some braces from > priv_write_resolv_conf() code that was moved into the > dispatch loop. (krw@) ~ dhclient.c ~ dhcpd.h > Once you have forked into two processes, setting a global flag > in one process does not mean the other process can see the > change. Nuke the pointless IFI_NEW_LLADDR. (krw@) == share ============================================================= 06/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man9/pool_cache_init.9 > change the semantic for calculating when to grow the size of a cache list. > previously it would figure out if there's enough items overall for > all the cpus to have full active an inactive free lists. this > included currently allocated items, which pools wont actually hold > on a free list and cannot predict when they will come back. > instead, see if there's enough items in the idle lists in the depot > that could instead go on all the free lists on the cpus. if there's > enough idle items, then we can grow. > tested by hrvoje popovski and amit kulkarni > ok visa@ (dlg@) ~ man1/clang-local.1 > i didn't know we had clang-local until reminded by jsg. > mention the disabling of ident strings. (tedu@) == sys =============================================================== 07/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/include ~ asm.h > Unbreak profiling assembly functions in userland by defining the > correct prologue if compiled with -DPROF. > ok deraadt@ (mpi@) arch/arm/include ~ asm.h > Unbreak profiling assembly functions in userland by defining the > correct prologue if compiled with -DPROF. > ok deraadt@ (mpi@) arch/arm64/include ~ asm.h > Unbreak profiling assembly functions in userland by defining the > correct prologue if compiled with -DPROF. > ok deraadt@ (mpi@) arch/hppa/include ~ asm.h > Unbreak profiling assembly functions in userland by defining the > correct prologue if compiled with -DPROF. > ok deraadt@ (mpi@) arch/powerpc/include ~ asm.h > Unbreak profiling assembly functions in userland by defining the > correct prologue if compiled with -DPROF. > ok deraadt@ (mpi@) arch/sh/include ~ asm.h > Unbreak profiling assembly functions in userland by defining the > correct prologue if compiled with -DPROF. > ok deraadt@ (mpi@) arch/sparc64/include ~ asm.h > Unbreak profiling assembly functions in userland by defining the > correct prologue if compiled with -DPROF. > ok deraadt@ (mpi@) dev/ic ~ rtwn.c > - Fix Tx queues to USB endpoints mapping and merge urtwn_r92c_dma_init() > and urtwn_r88e_dma_init() into one; from FreeBSD r291902. > - Change the way the number of pages for public queue is calculated; > Based on the vendor driver's _InitQueueReservedPage(), the formula for > calculation of the number of pages for public priority queue is as follows: > if the device has 3 endpoints: > PUBQ = total number of Tx pages - HQ - LQ - NQ > if the device has 2 endpoints (i.e. has high and normal priority queues): > PUBQ = total number of Tx pages - HQ - NQ > - Don't write MCS8..MCS15 Tx power if the WNIC is a 1-stream Tx; > - Set R88E_TX_PAGE_COUNT to a correct value; > - Minimal enhancement in urtwn_open_pipes() for upcoming rtl8192eu chipset > support; > Tested with USB-N10 Nano (rtl8188cu), DWA-131 rev B (rtl8192cu), and > TL-WN725N v2 (rtl8188eu) on amd64. > ok stsp@ (kevlo@) dev/pv ~ if_hvn.c > Finish up minor changes in the output and clear the BATCHED channel flag > (mikeb@) ~ hyperv.c > s/membar_sync/virtio_membar_sync/ (mikeb@) ~ hyperv.c ~ hypervvar.h > Introduce deferred interrupt processing capability > Hyper-V interrupts seem to be sometimes delivered before the message > becomes available on the channel ring. This is reproducible on hvs(4) > under load. This change is modelled on the workaround found in the > Linux driver. (mikeb@) ~ hvs.c > Request deferred interrupt processing (mikeb@) ~ hyperv.c > Event interrupt handler should call hv_channel_schedule now (mikeb@) dev/usb ~ if_urtwn.c > - Fix Tx queues to USB endpoints mapping and merge urtwn_r92c_dma_init() > and urtwn_r88e_dma_init() into one; from FreeBSD r291902. > - Change the way the number of pages for public queue is calculated; > Based on the vendor driver's _InitQueueReservedPage(), the formula for > calculation of the number of pages for public priority queue is as follows: > if the device has 3 endpoints: > PUBQ = total number of Tx pages - HQ - LQ - NQ > if the device has 2 endpoints (i.e. has high and normal priority queues): > PUBQ = total number of Tx pages - HQ - NQ > - Don't write MCS8..MCS15 Tx power if the WNIC is a 1-stream Tx; > - Set R88E_TX_PAGE_COUNT to a correct value; > - Minimal enhancement in urtwn_open_pipes() for upcoming rtl8192eu chipset > support; > Tested with USB-N10 Nano (rtl8188cu), DWA-131 rev B (rtl8192cu), and > TL-WN725N v2 (rtl8188eu) on amd64. > ok stsp@ (kevlo@) kern ~ subr_pool.c > change the semantic for calculating when to grow the size of a cache list. > previously it would figure out if there's enough items overall for > all the cpus to have full active an inactive free lists. this > included currently allocated items, which pools wont actually hold > on a free list and cannot predict when they will come back. > instead, see if there's enough items in the idle lists in the depot > that could instead go on all the free lists on the cpus. if there's > enough idle items, then we can grow. > tested by hrvoje popovski and amit kulkarni > ok visa@ (dlg@) ~ subr_pool.c > set the alignment of the per cpu cache structures to CACHELINESIZE. > hardcoding 64 is too optimistic. (dlg@) net ~ if.c > Resetting the mbuf header in if_input_local() was stripping off the > M_LOOP flag. This broke IPv6 multicast. Always set M_LOOP when > going through if_input_local() and adjust the flag's comment. > report rzalamena@; OK mpi@ (bluhm@) sys ~ pool.h > change the semantic for calculating when to grow the size of a cache list. > previously it would figure out if there's enough items overall for > all the cpus to have full active an inactive free lists. this > included currently allocated items, which pools wont actually hold > on a free list and cannot predict when they will come back. > instead, see if there's enough items in the idle lists in the depot > that could instead go on all the free lists on the cpus. if there's > enough idle items, then we can grow. > tested by hrvoje popovski and amit kulkarni > ok visa@ (dlg@) ~ mbuf.h > Resetting the mbuf header in if_input_local() was stripping off the > M_LOOP flag. This broke IPv6 multicast. Always set M_LOOP when > going through if_input_local() and adjust the flag's comment. > report rzalamena@; OK mpi@ (bluhm@) == usr.bin =========================================================== 08/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mandoc ~ eqn.c > Simplify font handling: > 1. Inherit the font attribute from the parent box, such that iteration > is no longer required to find the current font. > 2. For well-known function name tokens, do not insert an EQN_LISTONE > box into the AST; simply set the font attribute of the text box > itself that contains the name. > Also improve word splitting of unquoted strings in default font mode: > 3. Split between numbers and punctuation because both will soon get > different HTML markup. > 4. Do not split between letters. With the newly ubiquitious font > attributes, all formatters will be able to figure out what to do > without putting each letter into a separate box. (schwarze@) ~ eqn_html.c ~ html.c ~ html.h > Write text boxes as <mi>, <mn>, or <mo> as appropriate, > and write fontstyle or fontweight attributes where required. > Missing features reported by bentley@. (schwarze@) ~ eqn.c > splitting a text box sometimes requires wrapping it in a list (schwarze@) ~ eqn_html.c > Consistently treat character escape sequences as operators, > not as letters, even if their names contain letters. > This is certainly not perfect, but code to recognize that \(*a is > not an operator but a letter would need a huge table, or Unicode > character property support, which won't happen at this time. (schwarze@) ssh ~ moduli-gen/moduli-gen.sh > Run the screen twice so we end up with more candidate groups. ok djm@ > (dtucker@) ~ moduli-gen/moduli.2048 ~ moduli-gen/moduli.3072 ~ moduli-gen/moduli.4096 ~ moduli-gen/moduli.6144 ~ moduli-gen/moduli.7680 ~ moduli-gen/moduli.8192 > Import regenerated moduli. (dtucker@) ~ clientloop.c > When using the escape sequence &~ the code path is client_loop() -> > client_simple_escape_filter() -> process_escapes() -> fork() and the pledge > for > this path lacks the proc promise and therefore aborts the process. > The solution is to just add proc the promise to this specific pledge. > Reported by Gregoire Jadi gjadi ! omecha.info > Insight with tb@, OK jca@ (mestre@) systat ~ pool.c > change the semantic for calculating when to grow the size of a cache list. > previously it would figure out if there's enough items overall for > all the cpus to have full active an inactive free lists. this > included currently allocated items, which pools wont actually hold > on a free list and cannot predict when they will come back. > instead, see if there's enough items in the idle lists in the depot > that could instead go on all the free lists on the cpus. if there's > enough idle items, then we can grow. > tested by hrvoje popovski and amit kulkarni > ok visa@ (dlg@) tmux ~ cmd-set-option.c ~ key-string.c ~ options-table.c ~ tmux.1 ~ tmux.h ~ tty-keys.c > Add user-keys option to allow user-defined keys to be set, from Dan > Aloni. (nicm@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
