OpenBSD src changes summary for 2017-05-30 ==========================================
bin/ps distrib/sets etc/rc etc/rc.conf etc/rc.d/rc.subr lib/libc regress/lib regress/sbin regress/sys regress/usr.bin sbin/pfctl sbin/pflogd share/man share/misc sys/arch/amd64/amd64 sys/arch/amd64/include sys/arch/amd64/stand sys/arch/amd64/stand/biosboot sys/arch/amd64/stand/boot sys/arch/amd64/stand/cdboot sys/arch/amd64/stand/pxeboot sys/arch/arm64/arm64 sys/arch/hppa/hppa sys/arch/i386/i386 sys/arch/m88k/m88k sys/arch/mips64/mips64 sys/arch/powerpc/ddb sys/arch/sh/sh sys/arch/sparc64/sparc64 sys/ddb sys/dev/hid sys/dev/ic sys/dev/pci sys/dev/pv sys/dev/usb sys/dev/wsfont sys/kern sys/net sys/net80211 sys/netinet sys/netinet6 sys/netmpls sys/sys sys/ufs/ext2fs usr.bin/hexdump usr.bin/id usr.bin/mandoc usr.bin/mg usr.bin/patch usr.bin/ssh usr.bin/tmux usr.bin/top usr.bin/vmstat usr.bin/w usr.sbin/bgpd usr.sbin/npppd usr.sbin/ntpd usr.sbin/ospf6d usr.sbin/pkg_add usr.sbin/radiusd usr.sbin/rcctl usr.sbin/slaacctl usr.sbin/slaacd usr.sbin/tcpdump usr.sbin/vmd usr.sbin/ypldap == bin =============================================================== 01/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ps - fmt.c > stop reacharound from w(1) to ps(1); no functional change; > diff from bcallah@; OK tedu@ deraadt@ (schwarze@) == distrib =========================================================== 02/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/comp/mi > sync (fcambus@) ~ lists/comp/mi > sync (fcambus@) ~ lists/base/mi > sync (sthen@) == etc =============================================================== 03/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc rc ~ rc > Introduce a scary rc.conf(8) knob library_aslr=(YES|NO) to turn off the > reordering of libraries by rc(8). This way machines with very slow disk I/O > have a chance of booting within reasonable time now that libcrypto is also > randomized. > Discussed with various; > input & ok from deraadt ajacoutot (tb@) rc.conf ~ rc.conf > Enable slaacd(8) by default and disable router solicitation and > advertisement processing in the kernel. > Go for it!!! deraadt@ > additional encouragement to push forward from at least mpi and henning > special thanks to naddy for being an early adopter and finding bugs. > (florian@) ~ rc.conf > Introduce a scary rc.conf(8) knob library_aslr=(YES|NO) to turn off the > reordering of libraries by rc(8). This way machines with very slow disk I/O > have a chance of booting within reasonable time now that libcrypto is also > randomized. > Discussed with various; > input & ok from deraadt ajacoutot (tb@) rc.d/rc.subr ~ rc.d/rc.subr > Introduce a scary rc.conf(8) knob library_aslr=(YES|NO) to turn off the > reordering of libraries by rc(8). This way machines with very slow disk I/O > have a chance of booting within reasonable time now that libcrypto is also > randomized. > Discussed with various; > input & ok from deraadt ajacoutot (tb@) == lib =============================================================== 04/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ stdlib/qsort.c > Don't fall back to heapsort() if we would otherwise switch to > insertion sort (when the number of elements is < 7). (millert@) ~ sys/pledge.2 > getrlimit is now allowed by "stdio" (deraadt@) == regress =========================================================== 05/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress lib ~ libpthread/socket/1/socket1.c > Fix a race by always modifying the 'counter' variable while holding the > mutex. > ok tedu@ (mpi@) sbin ~ route/Makefile > Remove the .INTERRUPT target, it prevented to terminate the test > with Ctrl-C in some situations. (bluhm@) ~ Makefile > Link iked test to build so that obj directories are created. (bluhm@) ~ iked/parser/Makefile > Organize iked parser regress Makefile similar to mandoc dbm_dump. > When object files from other parts of the tree are needed, build > them there and symlink them into the regress obj directory. > OK markus@ (bluhm@) sys ~ fileops/Makefile + fileops/ext2/Makefile > fileops test: Also run on ext2fs > Also sort subdirs in makefile (sf@) usr.bin ~ mandoc/mdoc/Ad/font.in ~ mandoc/mdoc/Ad/font.out_ascii ~ mandoc/mdoc/Ad/font.out_markdown ~ mandoc/mdoc/An/break.in ~ mandoc/mdoc/Ap/middle.in ~ mandoc/mdoc/Ap/middle.out_ascii ~ mandoc/mdoc/Ap/middle.out_markdown ~ mandoc/mdoc/Aq/empty.in ~ mandoc/mdoc/Aq/empty.out_ascii ~ mandoc/mdoc/Aq/empty.out_markdown ~ mandoc/mdoc/Aq/empty.out_utf8 ~ mandoc/mdoc/Ar/punct.in ~ mandoc/mdoc/Ar/punct.out_ascii ~ mandoc/mdoc/Ar/punct.out_markdown ~ mandoc/mdoc/At/invalid.in ~ mandoc/mdoc/At/invalid.out_ascii ~ mandoc/mdoc/At/invalid.out_markdown ~ mandoc/mdoc/Brq/empty.in ~ mandoc/mdoc/Brq/empty.out_ascii ~ mandoc/mdoc/Brq/empty.out_markdown ~ mandoc/mdoc/Bx/args.in ~ mandoc/mdoc/Bx/args.out_ascii ~ mandoc/mdoc/Bx/args.out_markdown ~ mandoc/mdoc/Cd/Makefile ~ mandoc/mdoc/Cm/Makefile ~ mandoc/mdoc/Dq/empty.in ~ mandoc/mdoc/Dq/empty.out_ascii ~ mandoc/mdoc/Dq/empty.out_markdown ~ mandoc/mdoc/Dv/font.in ~ mandoc/mdoc/Dv/font.out_ascii ~ mandoc/mdoc/Dv/font.out_markdown ~ mandoc/mdoc/Em/punct.in ~ mandoc/mdoc/Em/punct.out_ascii ~ mandoc/mdoc/Em/punct.out_lint ~ mandoc/mdoc/Em/punct.out_markdown ~ mandoc/mdoc/Eo/empty.in ~ mandoc/mdoc/Eo/empty.out_ascii ~ mandoc/mdoc/Eo/empty.out_markdown ~ mandoc/mdoc/Eo/obsolete.in ~ mandoc/mdoc/Eo/obsolete.out_ascii ~ mandoc/mdoc/Eo/obsolete.out_markdown ~ mandoc/mdoc/Er/noarg.in ~ mandoc/mdoc/Er/noarg.out_ascii ~ mandoc/mdoc/Er/noarg.out_markdown ~ mandoc/mdoc/Ev/font.in ~ mandoc/mdoc/Ev/font.out_ascii ~ mandoc/mdoc/Ev/font.out_markdown ~ mandoc/mdoc/Fl/punct.in ~ mandoc/mdoc/Fl/punct.out_ascii ~ mandoc/mdoc/Fl/punct.out_markdown ~ mandoc/mdoc/Fo/font.in ~ mandoc/mdoc/Fo/font.out_ascii ~ mandoc/mdoc/Fo/font.out_markdown ~ mandoc/mdoc/Fo/punct.in ~ mandoc/mdoc/Fo/punct.out_ascii ~ mandoc/mdoc/Fo/punct.out_markdown ~ mandoc/mdoc/Ic/Makefile ~ mandoc/mdoc/In/font.in ~ mandoc/mdoc/In/font.out_ascii ~ mandoc/mdoc/In/font.out_markdown ~ mandoc/mdoc/Li/punct.in ~ mandoc/mdoc/Li/punct.out_ascii ~ mandoc/mdoc/Li/punct.out_lint ~ mandoc/mdoc/Li/punct.out_markdown ~ mandoc/mdoc/Ms/font.in ~ mandoc/mdoc/Ms/font.out_ascii ~ mandoc/mdoc/Ms/font.out_markdown ~ mandoc/mdoc/Mt/simple.in ~ mandoc/mdoc/Mt/simple.out_ascii ~ mandoc/mdoc/Mt/simple.out_markdown ~ mandoc/mdoc/No/punct.in ~ mandoc/mdoc/No/punct.out_ascii ~ mandoc/mdoc/No/punct.out_lint ~ mandoc/mdoc/No/punct.out_markdown ~ mandoc/mdoc/Ns/punct.in ~ mandoc/mdoc/Oo/punct.in ~ mandoc/mdoc/Oo/punct.out_ascii ~ mandoc/mdoc/Oo/punct.out_markdown ~ mandoc/mdoc/Op/punct.in ~ mandoc/mdoc/Pa/punct.in ~ mandoc/mdoc/Pa/punct.out_ascii ~ mandoc/mdoc/Pa/punct.out_markdown ~ mandoc/mdoc/Qq/empty.in ~ mandoc/mdoc/Qq/empty.out_ascii ~ mandoc/mdoc/Qq/empty.out_markdown ~ mandoc/mdoc/Sq/empty.in ~ mandoc/mdoc/Sq/empty.out_ascii ~ mandoc/mdoc/Sq/empty.out_markdown ~ mandoc/mdoc/St/call.in ~ mandoc/mdoc/Sx/noarg.in ~ mandoc/mdoc/Sx/noarg.out_ascii ~ mandoc/mdoc/Sx/noarg.out_markdown ~ mandoc/mdoc/Sy/punct.in ~ mandoc/mdoc/Sy/punct.out_ascii ~ mandoc/mdoc/Sy/punct.out_lint ~ mandoc/mdoc/Sy/punct.out_markdown ~ mandoc/mdoc/Tn/noarg.in ~ mandoc/mdoc/Tn/noarg.out_ascii ~ mandoc/mdoc/Tn/noarg.out_markdown ~ mandoc/mdoc/Va/Makefile ~ mandoc/mdoc/Xr/args.in ~ mandoc/mdoc/Xr/args.out_ascii ~ mandoc/mdoc/Xr/args.out_markdown + mandoc/mdoc/Cd/punct.in + mandoc/mdoc/Cd/punct.out_ascii + mandoc/mdoc/Cd/punct.out_markdown + mandoc/mdoc/Cm/punct.in + mandoc/mdoc/Cm/punct.out_ascii + mandoc/mdoc/Cm/punct.out_markdown + mandoc/mdoc/Ic/punct.in + mandoc/mdoc/Ic/punct.out_ascii + mandoc/mdoc/Ic/punct.out_markdown + mandoc/mdoc/Va/punct.in + mandoc/mdoc/Va/punct.out_ascii + mandoc/mdoc/Va/punct.out_markdown > Macro argument quoting does not prevent recognition of punctuation > and of called macros. > This bug affects almost all macros, and fixing it simplifies the > code. It is amazing that the bogus ARGS_QWORD feature got implemented > in the first place, and then carrier along for more than eight years > without anybody ever noticing that it was pointless. > Reported by Leah Neukirchen <leah at vuxu dot org>, found on Void Linux. > (schwarze@) ~ mandoc/mdoc/Lk/noarg.in > fix formatting of intermediate punctuation in .Lk (schwarze@) ~ mandoc/Makefile.inc ~ mandoc/mdoc/Tn/noarg.out_lint ~ mandoc/mdoc/Ud/arg.out_lint > STYLE message about useless macros we don't want (Bt Tn Ud); > not a WARNING because they don't endanger portability (schwarze@) ~ doas/Makefile ~ doas/t-permit-1.conf > First pass to make bluhm@ happy regarding doas regress conf. > 1. Make permit tests use wsrc instead of wobj (because basically, to run > test you need obj being writable, unless you want to pollute /usr/src); > 2. Test if current user is in wobj group prior running the test, and skip > the test if he is not. (zhuk@) ~ doas/Makefile > Make doas regression tests that involve doas running use a non-nosuid > partition, or skip if it could not find a one. > thanks bluhm@ for valuable input (zhuk@) == sbin ============================================================== 06/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin pfctl ~ pfctl.c > fix a comment (henning@) pflogd ~ pflogd.8 > Fix escaping: .Nm Op Fl "Dx" turning into "pflogd [-DragonFly]" > is funny, but not useful, so say .Nm Op Fl \&Dx as required. (schwarze@) == share ============================================================= 07/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man8/rc.conf.8 > Introduce a scary rc.conf(8) knob library_aslr=(YES|NO) to turn off the > reordering of libraries by rc(8). This way machines with very slow disk I/O > have a chance of booting within reasonable time now that libcrypto is also > randomized. > Discussed with various; > input & ok from deraadt ajacoutot (tb@) ~ man9/mbuf_tags.9 > Carp balancing ip does not work since there is a mac filter in > ether_input(). Now we use mbuf tags instead of modifying the MAC > address. > ok mpi@ (friehm@) ~ man5/bsd.regress.mk.5 > tweak previous; ok bluhm (jmc@) ~ man9/mbuf_tags.9 > tweak previous; (jmc@) ~ man7/ascii.7 > Remove FILES section now that /usr/share/misc/ascii is no more. > Noted by jmc@ (millert@) ~ man7/operator.7 > Don't mention the operator file -- it was moved to the attic. > From Michael Reed, thanks. (tb@) ~ man7/airport.7 > various mdoc(7) fixes, triggered by a smaller diff from Michael Reed on > tech@ (schwarze@) ~ man4/pf.4 > remove DIOCCLRRULECTRS here as well, pt out by sashan (henning@) misc - ascii ~ Makefile > Remove /usr/share/misc/ascii since we have ascii(7). > OK schwarze@ deraadt@ sthen@ (millert@) == sys =============================================================== 08/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ vmm.c > typo - extra semicolon (mlarkin@) ~ vector.S > move some data tables out of .text and into .rodata where they belong > ok deraadt (mlarkin@) ~ vmm.c > print more useful information when an error is returned from uvm_fault > when processing NPT/EPT violations (mlarkin@) ~ cpu.c ~ identcpu.c > Support for SMAP is pretty small, so don't exclude it from the RAMDISKS. > ok jsg visa (deraadt@) ~ db_trace.c > Kill db_sym_t. > ok deraadt@, kettenis@, jasper@ (mpi@) ~ vmm.c ~ vmm_support.S > FPU context save/restore for SVM in vmm(4), matches a previous diff > from a few weeks ago that did the same for Intel/VMX. > ok deraadt (mlarkin@) ~ vmm.c > Add missing KERNEL_LOCKs to a few error paths. (mlarkin@) ~ vmm.c > SVM: return EIO to vmd to stop the guest when it HLTs with interrupts > disabled (no NMI support yet) (mlarkin@) ~ vmm.c > event injection framework, will be used for other features coming shortly > ok deraadt (mlarkin@) arch/amd64/include ~ cpufunc.h > Support for SMAP is pretty small, so don't exclude it from the RAMDISKS. > ok jsg visa (deraadt@) ~ specialreg.h ~ vmmvar.h > FPU context save/restore for SVM in vmm(4), matches a previous diff > from a few weeks ago that did the same for Intel/VMX. > ok deraadt (mlarkin@) ~ vmmvar.h > event injection framework, will be used for other features coming shortly > ok deraadt (mlarkin@) arch/amd64/stand ~ Makefile.inc > Build amd64 bootstrap with -ffreestanding. > "totally makes sense" kettenis@ > ok deraadt@ (naddy@) ~ Makefile.inc > Allow building the bootstrap with clang: > * skip the integrated assembler for assym.h > * use as(1) to build biosboot.S and the various versions of srt0.S > ok deraadt@ (naddy@) arch/amd64/stand/biosboot ~ Makefile > Allow building the bootstrap with clang: > * skip the integrated assembler for assym.h > * use as(1) to build biosboot.S and the various versions of srt0.S > ok deraadt@ (naddy@) arch/amd64/stand/boot ~ Makefile > Allow building the bootstrap with clang: > * skip the integrated assembler for assym.h > * use as(1) to build biosboot.S and the various versions of srt0.S > ok deraadt@ (naddy@) arch/amd64/stand/cdboot ~ Makefile > Allow building the bootstrap with clang: > * skip the integrated assembler for assym.h > * use as(1) to build biosboot.S and the various versions of srt0.S > ok deraadt@ (naddy@) arch/amd64/stand/pxeboot ~ Makefile > Allow building the bootstrap with clang: > * skip the integrated assembler for assym.h > * use as(1) to build biosboot.S and the various versions of srt0.S > ok deraadt@ (naddy@) arch/arm64/arm64 ~ db_trace.c > Kill db_sym_t. > ok deraadt@, kettenis@, jasper@ (mpi@) arch/hppa/hppa ~ db_interface.c > Kill db_sym_t. > ok deraadt@, kettenis@, jasper@ (mpi@) arch/i386/i386 ~ vector.s > move some data tables out of .text and into .rodata where they belong > ok deraadt (mlarkin@) ~ cpu.c ~ locore.s ~ machdep.c > Support for SMAP is pretty small, so don't exclude it from the RAMDISKS. > ok jsg visa (deraadt@) ~ db_trace.c > Kill db_sym_t. > ok deraadt@, kettenis@, jasper@ (mpi@) arch/m88k/m88k ~ db_trace.c > Kill db_sym_t. > ok deraadt@, kettenis@, jasper@ (mpi@) arch/mips64/mips64 ~ trap.c > Kill db_sym_t. > ok deraadt@, kettenis@, jasper@ (mpi@) arch/powerpc/ddb ~ db_trace.c > Kill db_sym_t. > ok deraadt@, kettenis@, jasper@ (mpi@) arch/sh/sh ~ db_disasm.c ~ db_trace.c > Kill db_sym_t. > ok deraadt@, kettenis@, jasper@ (mpi@) arch/sparc64/sparc64 ~ openfirm.c > Kill db_sym_t. > ok deraadt@, kettenis@, jasper@ (mpi@) ddb ~ db_elf.c ~ db_hangman.c ~ db_sym.c ~ db_sym.h ~ db_ctf.c > Kill db_sym_t. > ok deraadt@, kettenis@, jasper@ (mpi@) ~ db_structinfo.c > Header sys/scanio.h has been deleted, do not include it here. (bluhm@) dev/hid ~ hidkbd.c > Use memmove() instead of memcpy(), buffers are overlapping. > From Coverity via NetBSD via miod@ > ok claudio@, tedu@, deraadt@, krw@ (mpi@) dev/ic ~ pcdisplay_subr.c ~ pcdisplayvar.h > Remove the unused pcdisplay_mapchar_simple function in pcdisplay(4). > It has been unused since this code was imported from NetBSD. > OK mlarkin@ (fcambus@) ~ ahci.c > Remove comments about implementing FIS-based switching with port > multipliers, > which we can safely assume isn't going to happen now. No code changes. > (jmatthew@) ~ pcdisplay_subr.c > Use the CD bit (Cursor Disable) in the cursor start register to properly > disable hardware cursor. > From NetBSD. > OK deraadt@ (fcambus@) dev/pci ~ if_iwn.c > Use ieee80211_{min,max}_basic_rate() in iwn(4). > ok mpi@ phessler@ (stsp@) ~ if_iwn.c > Improve the new ieee80211_{min,max}_rates() APIs and fix regressions. > Instead of returning an index into ni_rates, return the RVAL of the > basic rate we want to use. This allows a driver to unambiguously map > the basic rate to the corresponding hardware-specific rate value, and > reduces the possibility of bugs where indices are used with arrays > they weren't intended for. > Adjust iwn(4) accordingly, and use the lowest instead of the highest > basic rate in iwn_tx() to cope better in noisy environments. > Fixes association problems on 5GHz reported by tb@ (stsp@) dev/pv ~ virtio.c ~ virtiovar.h > virtio: Do LIFO in the freelist > Use a SLIST instead of a SIMPLEQ and use LIFO instead of FIFO. This should > improve cache usage. (sf@) ~ virtio.c > virtio: Put entries in freelist in reverse order > This avoids breaking krw@'s ongoing work on improving > virtio_enqueue_trim(). (sf@) ~ vioblk.c ~ vioscsi.c ~ virtio.c ~ virtiovar.h > Statically allocate resource to requests, and only create requests > that there will be resources for. > Protect request list with a mutex. > Makes everything much more scsi-like. Fewer splbio() dances. Uses > less memory and eliminates superfluous freeing and acquiring of the > same resources over and over. > ok sf@ (krw@) ~ if_vio.c ~ vioblk.c ~ viocon.c > Replace nifty DBGPRINT() with a more familiar DPRINTF() and adjust > the formats to add in the __func__ and "\n" being magically added by > DBGPRINT(). Fixes a few botches by certain devs who assumed DBGPRINT() > must be just like DPRINTF. > ok sf@ reyk@ on earlier version (krw@) ~ vioblk.c ~ vioscsi.c ~ virtio.c > More minor virtio tweaks > * add some comments about virtio_enqueue_trim > * include mutex.h explicitly > * make VIRTIO_DEBUG == 1 less verbose in vioblk > ok krw@ (sf@) dev/usb ~ if_umb.c > Introduce ipv{4,6}_input(), two wrappers around IP queues. > This will help transitionning to an un-KERNEL_LOCK()ed IP > forwarding path. > Disucssed with bluhm@, ok claudio@ (mpi@) dev/wsfont - lucida16x29.h - omron12x20.h ~ wsfont.c > Remove lucida16x29.h and omron12x20 fonts. > - lucida16x29 is a bad conversion from a truetype font, it is too bold > which makes it unreadable. > - omron12x20 is a serif font, and is very difficult to read due to > inconsistencies in character spacing, alignement, and width. > Moreover, both fonts only have 96 glyphs. > No objection from mlarkin@ > OK mpi@, jcs@ (fcambus@) - qvss8x15.h - vt220l8x10.h - vt220l8x8.h ~ wsfont.c > Remove qvss8x15, vt220l8x8, and vt220l8x10 fonts. > Those fonts are not compiled in by default, and are smaller than the > smallest font (bold8x16_iso1) we currently include. > OK mpi@, deraadt@ (fcambus@) kern ~ kern_pledge.c > getrtable() is now permitted in "stdio". It carries no risk factors. > (deraadt@) net ~ if.c > Clear the internal table used by if_get(9) and sleep until all > remaining ifp references are released *without* the NET_LOCK(). > It's safe to do so because the KERNEL_LOCK() serializes accesses > to ``if_map''. > More importantly this fix possible deadlocks between if_get() and > the NET_LOCK(). It is now possible to call them in whatever order. > ok visa@, dlg@ (mpi@) ~ if.c ~ if_ethersubr.c ~ if_mpe.c ~ if_ppp.c ~ if_pppx.c ~ if_spppsubr.c ~ if_tun.c ~ pipex.c > Introduce ipv{4,6}_input(), two wrappers around IP queues. > This will help transitionning to an un-KERNEL_LOCK()ed IP > forwarding path. > Disucssed with bluhm@, ok claudio@ (mpi@) ~ pf.c ~ pfvar.h > teach pf_build_tcp() about SACK, ok & with sashan (henning@) ~ if_mpe.c ~ if_tun.c > sizes for free() (deraadt@) ~ pf_ioctl.c ~ pfvar.h > g/c DIOCCLRRULECTRS > kinda deprecated for a decade now, nothing in base uses it, nothing in > ports uses it (thanks sthen) > ok phessler sashan (henning@) ~ pfvar.h > remove XXX from the comments marking "holes" in the ioctls. I see very > very little value in these comments at all, but the XXX is just wrong and > in the way when looking for real XXXs. phessler agrees (henning@) ~ pf_if.c ~ pf_ruleset.c > sizes for free() > ok henning (deraadt@) ~ if_pflow.c > remove no longer needed splnet/splx. > ok florian@ (benno@) net80211 ~ ieee80211_proto.c > Always set the link state DOWN once we enter ieee80211_newstate(), > regardless > of whether the wifi interface happens to be leaving RUN state. The > interface > is never usable during state transitions so setting the link DOWN is the > only > reasonable option when any transition is triggered. > Fixes a problem where, at boot time, the link state of wifi interfaces was > reported to userland as UNKNOWN (which, curiously, has value 0). dhclient's > link detection logic was recently changed from ifmedia to getifaddrs which > exposed the UNKOWN link state. Since dhclient assumes an UNKNOWN link state > means UP it would start trying to negotiate a lease too early during boot. > Problem reported by tb@ > ok krw@ (stsp@) ~ ieee80211.c ~ ieee80211_var.h > Introduce ieee80211_min_basic_rate() and ieee80211_max_basic_rate(). > These helpers can be used by drivers to improve compatibility with APs > that disable some mandatory PHY rates in the basic rate set. > For instance, many of our drivers hard-code 11b rates on 2 Ghz and run > into problems when APs disable them. Since 11b rates are being disabled > by default by some vendors, hardcoding them is not a good idea anymore. > ok mpi@ phessler@ (stsp@) ~ ieee80211.c > Improve the new ieee80211_{min,max}_rates() APIs and fix regressions. > Instead of returning an index into ni_rates, return the RVAL of the > basic rate we want to use. This allows a driver to unambiguously map > the basic rate to the corresponding hardware-specific rate value, and > reduces the possibility of bugs where indices are used with arrays > they weren't intended for. > Adjust iwn(4) accordingly, and use the lowest instead of the highest > basic rate in iwn_tx() to cope better in noisy environments. > Fixes association problems on 5GHz reported by tb@ (stsp@) netinet ~ in.h ~ ip_divert.c ~ ip_gre.c ~ ip_input.c ~ ip_ipip.c ~ ip_var.h > Introduce ipv{4,6}_input(), two wrappers around IP queues. > This will help transitionning to an un-KERNEL_LOCK()ed IP > forwarding path. > Disucssed with bluhm@, ok claudio@ (mpi@) ~ ip_carp.c ~ ip_carp.h ~ ip_icmp.c ~ ip_input.c > Carp balancing ip does not work since there is a mac filter in > ether_input(). Now we use mbuf tags instead of modifying the MAC > address. > ok mpi@ (friehm@) ~ ip_ah.c ~ ip_esp.c > add sizes to free() calls (deraadt@) netinet6 ~ in6.h ~ ip6_divert.c ~ ip6_input.c > Introduce ipv{4,6}_input(), two wrappers around IP queues. > This will help transitionning to an un-KERNEL_LOCK()ed IP > forwarding path. > Disucssed with bluhm@, ok claudio@ (mpi@) ~ nd6_rtr.c > Enable slaacd(8) by default and disable router solicitation and > advertisement processing in the kernel. > Go for it!!! deraadt@ > additional encouragement to push forward from at least mpi and henning > special thanks to naddy for being an early adopter and finding bugs. > (florian@) ~ in6.h > Keep ipv6_input() definition inside _KERNEL. > Unbreak userland, found the hardway by deraadt@ (mpi@) ~ icmp6.c ~ ip6_input.c > Carp balancing ip does not work since there is a mac filter in > ether_input(). Now we use mbuf tags instead of modifying the MAC > address. > ok mpi@ (friehm@) netmpls ~ mpls_input.c > Introduce ipv{4,6}_input(), two wrappers around IP queues. > This will help transitionning to an un-KERNEL_LOCK()ed IP > forwarding path. > Disucssed with bluhm@, ok claudio@ (mpi@) sys ~ mbuf.h > Carp balancing ip does not work since there is a mac filter in > ether_input(). Now we use mbuf tags instead of modifying the MAC > address. > ok mpi@ (friehm@) ~ exec_elf.h > Kill db_sym_t. > ok deraadt@, kettenis@, jasper@ (mpi@) ufs/ext2fs ~ ext2fs_vfsops.c > ext2fs: Mark superblock as not modified when written > I have seen spurious "file system not clean; please fsck(8)" warnings > during "mount -ur". Set e2fs_fmod = 0 when writing the superblock (as > ffs does). > "Makes sense" deraadt@ (sf@) == usr.bin =========================================================== 09/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin hexdump ~ odsyntax.c > fix a shadow warning. from Brian Callahan (tedu@) id ~ id.1 ~ id.c > id -R: make current rdomain more easily accessible to the shell > ok benno deraadt (tedu@) ~ id.1 ~ id.c > usage and order tweaks from jmc (tedu@) mandoc ~ libmdoc.h ~ mdoc_argv.c ~ mdoc_macro.c > Macro argument quoting does not prevent recognition of punctuation > and of called macros. > This bug affects almost all macros, and fixing it simplifies the > code. It is amazing that the bogus ARGS_QWORD feature got implemented > in the first place, and then carrier along for more than eight years > without anybody ever noticing that it was pointless. > Reported by Leah Neukirchen <leah at vuxu dot org>, found on Void Linux. > (schwarze@) ~ mdoc_html.c ~ mdoc_man.c ~ mdoc_markdown.c ~ mdoc_term.c > fix formatting of intermediate punctuation in .Lk (schwarze@) ~ mandoc.1 ~ mandoc.h ~ mdoc_validate.c ~ read.c > STYLE message about useless macros we don't want (Bt Tn Ud); > not a WARNING because they don't endanger portability (schwarze@) ~ mandoc.1 > tweak previous; (jmc@) mg ~ dir.c ~ fileio.c ~ modes.c ~ re_search.c ~ search.c ~ tags.c > fix -Wshadow warnings. > Found by bcallah, thanks! (florian@) ~ tutorial > The is open-file command is actually called find-file. Typo pointed out > by "Choose a display name <thelocals_job_applicant protonmail com>". (tb@) patch ~ pch.c > Unbreak previous for git diffs that do not have the a/ prefix. > Found the hard way be me, OK tedu (florian@) ssh ~ authfile.c > revise sshkey_load_public(): remove ssh1 related comments, remove extra > open()/close() on keyfile, prevent leak of 'pub' if 'keyp' is NULL, > replace strlcpy+cat with asprintf; ok djm@ (markus@) ~ auth2-chall.c ~ channels.c > remove ssh1 references; ok djm@ (markus@) ~ auth.c ~ auth.h ~ auth2-hostbased.c ~ auth2-pubkey.c ~ monitor.c ~ monitor_wrap.c ~ monitor_wrap.h ~ ssh-pkcs11-client.c ~ ssh-pkcs11-helper.c ~ ssh.c ~ sshconnect.c ~ sshconnect.h ~ sshconnect2.c ~ sshd.c > switch from Key typedef with struct sshkey; ok djm@ (markus@) ~ auth2-hostbased.c ~ auth2-pubkey.c ~ monitor.c ~ monitor_wrap.c ~ monitor_wrap.h > switch auth2-pubkey.c to modern APIs; with & ok djm@ (markus@) ~ sshconnect.c > switch sshconnect.c to modern APIs; ok djm@ (markus@) ~ ssh-pkcs11.c > sshkey_new() might return NULL (pkcs#11 code only); ok djm@ (markus@) ~ key.c ~ key.h ~ ssh-add.c ~ ssh-keygen.c > remove unused wrapper functions from key.[ch]; ok djm@ (markus@) ~ auth2-chall.c ~ auth2-gss.c ~ auth2.c ~ packet.h > sshd: pass struct ssh to auth functions; ok djm@ (markus@) ~ sshconnect2.c > ssh: pass struct ssh to auth functions, too; ok djm@ (markus@) ~ auth2-chall.c ~ auth2-gss.c ~ auth2.c ~ channels.c ~ channels.h ~ clientloop.c ~ dispatch.c ~ dispatch.h ~ kex.c ~ kex.h ~ kexdhc.c ~ kexdhs.c ~ kexecdhc.c ~ kexecdhs.c ~ kexgexc.c ~ kexgexs.c ~ serverloop.c ~ sshconnect2.c > protocol handlers all get struct ssh passed; ok djm@ (markus@) ~ auth2-hostbased.c > switch auth2-hostbased.c to modern APIs; ok djm@ (markus@) ~ auth2-passwd.c > switch auth2-passwd.c to modern APIs; ok djm@ (markus@) ~ auth2-none.c > switch auth2-none.c to modern APIs; ok djm@ (markus@) ~ auth.h ~ auth2-chall.c ~ auth2-gss.c ~ auth2-hostbased.c ~ auth2-kbdint.c ~ auth2-none.c ~ auth2-passwd.c ~ auth2-pubkey.c ~ auth2.c > switch auth2 to ssh_dispatch API; ok djm@ (markus@) ~ readconf.c ~ readconf.h ~ ssh.1 ~ ssh.c ~ ssh_config.5 > Add RemoteCommand option to specify a command in the ssh config > file instead of giving it on the client's command line. This command > will be executed on the remote host. The feature allows to automate > tasks using ssh config. > OK markus@ (bluhm@) ~ ssh_config.5 > tweak previous; (jmc@) tmux ~ key-bindings.c > Preserve search string when entering prompt again. (nicm@) - cmd-choose-buffer.c - cmd-choose-client.c - window-choose.c ~ Makefile ~ arguments.c ~ cfg.c ~ cmd-choose-tree.c ~ cmd-copy-mode.c ~ cmd-find-window.c ~ cmd-queue.c ~ cmd-run-shell.c ~ cmd-split-window.c ~ cmd.c ~ format.c ~ key-bindings.c ~ options-table.c ~ screen-write.c ~ tmux.1 ~ tmux.h ~ window-clock.c ~ window-copy.c ~ window.c + mode-tree.c + window-buffer.c + window-client.c + window-tree.c > Rewrite of choose mode, both to simplify and tidy the code and to add > some modern features. > Now the common code is in mode-tree.c, which provides an API used by the > three modes now separated into window-{buffer,client,tree}.c. Buffer > mode shows buffers, client mode clients and tree mode a tree of > sessions, windows and panes. > Each mode has a common set of key bindings plus a few that are specific > to the mode. Other changes are: > - each mode has a preview pane: for buffers this is the buffer content > (very useful), for others it is a preview of the pane; > - items may be sorted in different ways ('O' key); > - multiple items may be tagged and an operation applied to all of them > (for example, to delete multiple buffers at once); > - in tree mode a command may be run on the selected item (session, > window, pane) or on tagged items (key ':'); > - displayed items may be filtered in tree mode by using a format (this > is used to implement find-window) (key 'f'); > - the custom format (-F) for the display is no longer available; > - shortcut keys change from 0-9, a-z, A-Z which was always a bit weird > with keys used for other uses to 0-9, M-a to M-z. > Now that the code is simpler, other improvements will come later. > Primary key bindings for each mode are documented under the commands in > the man page (choose-buffer, choose-client, choose-tree). > Parts written by Thomas Adam. (nicm@) top ~ machine.c > avoid some shadow warnings. from Brian Callahan (tedu@) vmstat ~ dkstats.c > rename variable to avoid shadow. from Brian Callahan (tedu@) w ~ Makefile ~ extern.h ~ w.c > stop reacharound from w(1) to ps(1); no functional change; > diff from bcallah@; OK tedu@ deraadt@ (schwarze@) == usr.sbin ========================================================== 10/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin bgpd ~ rde.h ~ rde_attr.c ~ rde_update.c > remove extended communities that have the transitive bit set from > routes announced to an ebgp peer (ref. rfc4360). While here remove the > pratial flag from extended and large communities. > ok claudio@ (benno@) npppd ~ common/addr_range.c ~ common/addr_range.h ~ common/debugutil.c ~ common/hash.h ~ common/radish.h ~ npppd/fsm.c ~ npppd/fsm.h ~ npppd/lcp.c ~ npppd/mppe.c ~ npppd/npppd_pool.c ~ npppd/ppp.h > Stop using __P macro. (yasuoka@) ~ common/radish.c ~ common/radish.h ~ npppd/Makefile > Remove never used ifdefs, define FATAL macro properly and define function > parameters in modern way. (yasuoka@) ntpd ~ client.c ~ ntp.c ~ ntpd.conf.5 ~ ntpd.h ~ parse.y > add option "query from <ip>" to ntpd.conf, to specify a local IP > address for outgoing ntp queries. > From Job Snijders, thanks! > with feedback and ok henning@ (benno@) ospf6d ~ kroute.c ~ ospf6d.c ~ ospf6d.h ~ rde.c > Adding multipath route support to ospf6d. Almost copied from ospfd. > OK bluhm@ (friehm@) pkg_add ~ pkg_add.1 > waive signature check waving > ok jmc espie (tb@) radiusd ~ radiusd_radius.c > Don't call TAILQ_REMOVE twice. This caused radiusd crash if it has a > pending request when it stops. (yasuoka@) rcctl ~ rcctl.sh > Introduce a scary rc.conf(8) knob library_aslr=(YES|NO) to turn off the > reordering of libraries by rc(8). This way machines with very slow disk I/O > have a chance of booting within reasonable time now that libcrypto is also > randomized. > Discussed with various; > input & ok from deraadt ajacoutot (tb@) slaacctl ~ slaacctl.c > whitespace encountered during review (deraadt@) slaacd ~ slaacd.8 > reduce lies (florian@) ~ engine.c > fix a jumbled conditional clang warns about; ok florian@ (naddy@) ~ slaacd.8 > tweak previous; ok florian (jmc@) ~ engine.c > Update default router states; pointed out by naddy (florian@) ~ engine.c > Remove default router proposals and address_proposals > when their lifetime reaches zero. (florian@) ~ engine.c > fix previous; actually free the memory (florian@) ~ engine.c > no need to pass the slaacd_iface around, the proposal has the if_index > (florian@) ~ engine.c ~ slaacd.c ~ slaacd.h > delete default route from FIB when it expires (florian@) ~ engine.c > delete default route from FIB when we receive advertisement with > router lifetime of 0 (florian@) ~ engine.c ~ frontend.c ~ slaacd.c > whitespace encountered during review (deraadt@) ~ frontend.c > Send a source link-layer address option with our solicitations. > Servers following RFC 7772 may then send us unicast router > advertisments and thus reduce multicast traffic which might > increase the battery life of other devices using the same shared > media. (florian@) ~ slaacd.c > Oops, this was RTP_BGP during development to be able to easier spot > the configured route. Should be RTP_DEFAULT. (florian@) tcpdump ~ print-bgp.c > Enable more error codes for BGP. These were commited some time ago, but > never enabled. Also add error codes for FSM. > With input from Job Snijders. > OK phessler@ (previous version), claudio@, deraadt@ (akfaew@) ~ print-bgp.c > The capability error codes never made it into a standard and now error > code 7 is for enhanced route refresh. > OK claudio@ phessler@ (akfaew@) ~ print-smb.c ~ smb.h > MIN->MINIMUM, even though smb is currently disabled. (deraadt@) vmd ~ virtio.c ~ virtio.h > increase vmd(8) virtio queue size from 64 to 128. Also fix an old > copypaste bug that didn't hurt us as long as all the queue sizes were > the same, which was the case up to now. > suggested by sf@, ok krw@ (mlarkin@) ~ virtio.c ~ vm.c ~ vmd.h > split vioblk read/write functions into start and finish as prep for > async io operations. ok mlarkin (tedu@) ypldap ~ Makefile ~ aldap.c ~ aldap.h ~ ldapclient.c ~ parse.y ~ ypldap.conf.5 ~ ypldap.h > Teach ypldap to use tls when connecting to ldap servers. > libtls help from jsing@, linker help from deraadt@ (jmatthew@) ~ ypldap.conf.5 > remove an extra .Ed; (jmc@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
