OpenBSD src changes summary for 2016-06-05 to 2016-06-12 inclusive ==================================================================
distrib/armv7 distrib/notes distrib/sets etc/examples/ldpd.conf games/tetris gnu/usr.bin/binutils-2.17 lib/libc lib/libssl libexec/ld.so regress/sys regress/usr.bin sbin/dump sbin/fsdb sbin/ifconfig sbin/mount_tmpfs sbin/nfsd sbin/restore sbin/route sbin/scsi sbin/sysctl share/man sys/arch/alpha/alpha sys/arch/amd64/amd64 sys/arch/amd64/include sys/arch/amd64/stand/efiboot sys/arch/amd64/stand/libsa sys/arch/arm/arm sys/arch/arm/include sys/arch/arm/simplebus sys/arch/armish/armish sys/arch/armv7/armv7 sys/arch/armv7/conf sys/arch/armv7/exynos sys/arch/armv7/imx sys/arch/armv7/omap sys/arch/armv7/sunxi sys/arch/armv7/vexpress sys/arch/hppa/hppa sys/arch/i386/i386 sys/arch/i386/isa sys/arch/i386/stand/libsa sys/arch/luna88k/dev sys/arch/m88k/m88k sys/arch/macppc/macppc sys/arch/octeon/dev sys/arch/powerpc/powerpc sys/arch/sgi/hpc sys/arch/sh/sh sys/arch/socppc/socppc sys/arch/sparc/sparc sys/arch/sparc64/dev sys/arch/sparc64/include sys/arch/sparc64/sparc64 sys/arch/zaurus/dev sys/arch/zaurus/zaurus sys/ddb sys/dev sys/dev/acpi sys/dev/adb sys/dev/hil sys/dev/ic sys/dev/ofw sys/dev/pci sys/dev/pcmcia sys/dev/pv sys/dev/sun sys/dev/usb sys/dev/wscons sys/kern sys/miscfs/fifofs sys/net sys/netinet sys/netinet6 sys/sys sys/uvm usr.bin/aucat usr.bin/doas usr.bin/file usr.bin/indent usr.bin/kdump usr.bin/mg usr.bin/netstat usr.bin/signify usr.bin/ssh usr.bin/tmux usr.sbin/bgpd usr.sbin/bind usr.sbin/eigrpd usr.sbin/httpd usr.sbin/ldpd usr.sbin/ospf6d usr.sbin/ospfd usr.sbin/pkg_add usr.sbin/rebound usr.sbin/smtpd usr.sbin/vmd == distrib =========================================================== 01/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib armv7 ~ miniroot/am335x/Makefile ~ miniroot/beagle/Makefile ~ miniroot/cubie/Makefile ~ miniroot/cubox/Makefile ~ miniroot/nitrogen/Makefile ~ miniroot/panda/Makefile ~ miniroot/wandboard/Makefile > specify the u-boot target name and dtbs used for each miniroot (jsg@) ~ miniroot/Makefile.inc ~ ramdisk/Makefile ~ ramdisk/install.md ~ ramdisk/list > Previously armv7 ramdisk creation would tar up the mdec directory on the > build machine and extract it when installing. Change to using the > u-boot and dtb packages when creating ramdisks and miniroots and don't > place these files in mdec on install. > Installing these packages is now required to run make release on armv7. > (jsg@) ~ ramdisk/install.md > silence dd stderr output when writing u-boot files to disk > reminded by and ok krw@ (jsg@) ~ ramdisk/install.md > dd the cubieboard u-boot at the raw offset like the miniroot does (jsg@) ~ miniroot/cubox/Makefile > list dtbs in DTBS not DTB > fixes lack of dtbs on cubox miniroot reported by jca@ (jsg@) notes ~ armv7/hardware > imxenet -> fec (jsg@) ~ armv7/hardware > ethernet -> Ethernet (jsg@) sets ~ lists/base/md.armish ~ lists/comp/md.armish > sync (tobiasu@) ~ lists/base/md.sparc > fix two typos (tobiasu@) ~ lists/comp/md.octeon > sync (visa@) == etc =============================================================== 02/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc examples/ldpd.conf ~ examples/ldpd.conf > The ldpd(8) sample config was terribly outdated. Passive interfaces, > for example, were removed in 2013 because they don't make sense in ldpd. > ok deraadt (renato@) == games ============================================================= 03/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games tetris ~ tetris.c > When eliding a row, clear the invisible row zero, so that no columns > can become unusable during game play. Same fix was made in NetBSD's > tetris.c -r1.31 by Christos Zoulas almost exactly a year ago. > ok tedu (tb@) ~ scores.c ~ screen.c > Clean up gcc -Wshadow warnings: 'numnames' is public in <term.h>. > 'i' shadows the local loop indexing variable of scr_update(), so > no need to rename it. No binary change on amd64. > ok millert (tb@) == gnu =============================================================== 04/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu usr.bin/binutils-2.17 ~ bfd/elf64-sparc.c > Revert the change that made the PLT readonly. The dynamic linker now > actually uses the fact that the PLT is in a writable segment to avoid > the dependency on the __plt_start and __plt_end symbols. > ok deraadt@ (kettenis@) == lib =============================================================== 05/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ stdio/vfprintf.c > Return EOVERFLOW, not ENOMEM for overflow conditions to match POSIX. > (millert@) ~ stdio/printf.3 > Add ERRORS section, from FreeBSD. OK tedu@ (millert@) ~ gen/sysctl.3 > Document the net.inet.tcp.synuselimit sysctl; OK bluhm@ jmc@ (tim@) ~ sys/poll.2 ~ sys/select.2 > remove historic note about multiple processes. mostly irrelevant today. > ok deraadt millert (tedu@) libssl ~ src/crypto/opensslv.h > LibreSSL 2.4.1 (bcook@) ~ src/crypto/opensslv.h TAGGED OPENBSD_5_9 > LibreSSL 2.3.6 (bcook@) ~ src/crypto/opensslv.h TAGGED OPENBSD_5_8 > LibreSSL 2.2.9 (bcook@) ~ src/crypto/dsa/dsa_ossl.c TAGGED OPENBSD_5_8 > Correct a problem that prevents the DSA signing algorithm from running > in constant time even if the flag BN_FLG_CONSTTIME is set. This issue > was reported by Cesar Pereida (Aalto University), Billy Brumley > (Tampere University of Technology), and Yuval Yarom (The University of > Adelaide and NICTA). The fix was developed by Cesar Pereida. (beck@) ~ src/crypto/dsa/dsa_ossl.c TAGGED OPENBSD_5_8 > Correct a problem that prevents the DSA signing algorithm from running > in constant time even if the flag BN_FLG_CONSTTIME is set. This issue > was reported by Cesar Pereida (Aalto University), Billy Brumley > (Tampere University of Technology), and Yuval Yarom (The University of > Adelaide and NICTA). The fix was developed by Cesar Pereida (beck@) ~ src/crypto/dsa/dsa_ossl.c TAGGED OPENBSD_5_9 > Correct a problem that prevents the DSA signing algorithm from running > in constant time even if the flag BN_FLG_CONSTTIME is set. This issue > was reported by Cesar Pereida (Aalto University), Billy Brumley > (Tampere University of Technology), and Yuval Yarom (The University of > Adelaide and NICTA). The fix was developed by Cesar Pereida (beck@) ~ src/crypto/dsa/dsa_ossl.c TAGGED OPENBSD_5_9 > Set BN_FLG_CONSTTIME on the correct variable. beck committed wrong fix. > Mistake noted by Billy Brumley. Many thanks. (tedu@) ~ src/crypto/dsa/dsa_ossl.c TAGGED OPENBSD_5_9 > Set BN_FLG_CONSTTIME on the correct variable. beck committed wrong fix. > Mistake noted by Billy Brumley. Many thanks. (tedu@) ~ src/crypto/dsa/dsa_ossl.c TAGGED OPENBSD_5_8 > Set BN_FLG_CONSTTIME on the correct variable. beck committed wrong fix. > Mistake noted by Billy Brumley. Many thanks. (tedu@) == libexec =========================================================== 06/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ loader.c > Avoid W^X violation when setting DT_DEBUG on mips64. > ok deraadt@ (kettenis@) ~ library.c ~ loader.c > Some ELF ABIs still require a PLT that is both writable and executable. To > avoid W^X violations, initially map such segments as writable and > non-executable, and change the mapping to non-writable and executable > after initial relocation processing. As a side-benefit this means we no > longer depend on the __plt_start and __plt_end to make the PLT read-only > after relocation processing. > This will break binaries linked with ld -Z, most notably emacs, on some > of our architectures. > ok deraadt@, guenther@ (kettenis@) == regress =========================================================== 07/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sys ~ net/rtable/kern_compat.h ~ net/rtable/srp_compat.h > Adapt compat layers after recent changes: srp_swap() and the GC task > for ART. (mpi@) usr.bin - sdiff/tabs1 - sdiff/tabs2 ~ sdiff/Makefile ~ sdiff/tabs.out + sdiff/tabs.in > Replace (remaining) systrace policy files with columns of numbers for > the tab spacing regression test; from Ray Lai. (okan@) == sbin ============================================================== 08/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dump ~ main.c > per trending style, add continue to emtpy loop bodies. > ok mglocker (tedu@) fsdb ~ fsdb.c > per trending style, add continue to emtpy loop bodies. > ok mglocker (tedu@) ifconfig ~ ifconfig.8 ~ ifconfig.c > Add the "llprio" field to struct ifnet, and the corresponding keyword > to ifconfig. > "llprio" allows one to set the priority of packets that do not go through > pf(4), as the case is for arp(4) or bpf(4). > ok sthen@ mikeb@ (vgross@) mount_tmpfs ~ mount_tmpfs.c > restore my ability to do full bulks. > okay deraadt@ (espie@) nfsd ~ nfsd.c > per trending style, add continue to emtpy loop bodies. > ok mglocker (tedu@) restore ~ main.c > per trending style, add continue to emtpy loop bodies. > ok mglocker (tedu@) route ~ route.c > per trending style, add continue to emtpy loop bodies. > ok mglocker (tedu@) scsi ~ scsi.c > per trending style, add continue to emtpy loop bodies. > ok mglocker (tedu@) sysctl ~ sysctl.8 > Document the net.inet.tcp.synuselimit sysctl; OK bluhm@ jmc@ (tim@) == share ============================================================= 09/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man8/ssl.8 > Remove the section about generating DSA keys for webservers etc from the > ssl(8) > instructions. ok benno@ beck@ (sthen@) ~ man9/srp_enter.9 > document the new bits in the srp api (dlg@) ~ man9/srp_enter.9 > tweak previous; (jmc@) ~ man4/gif.4 ~ man4/bridge.4 > etherip(4) was introduced in 5.9 as a clean alternative to gif(4)'s layer-2 > mode that was enabled when it was added to a bridge(4). Update the manual > pages to direct people towards using etherip(4) for this purpose. > Reads fine to jmc@, ok mpi@. > This code will be removed from gif(4) in the future. Switching should be > as simple as renaming the config file (hostname.gifX -> hostname.etheripX), > changing the interface name in hostname.bridgeX, and updating firewall > rules etc. to match - I've tested this with etherip+bridge+isakmpd+ospf > tunnels. (sthen@) ~ man8/afterboot.8 > In afterboot(8), replace le0 with em0. lo0 and le0 are too close with tiny > font. > ok jmc mpi kettenis deraadt (stsp@) ~ man4/man4.armv7/imxesdhc.4 ~ man4/man4.armv7/imxiic.4 > update config lines for fdt (jsg@) ~ man4/man4.armv7/sxie.4 > dynamically attach sxie(4) using the FDT (jsg@) == sys =============================================================== 10/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/alpha ~ pmap.c > consistently set ipls on pmap pools. > this is a step toward making ipls unconditionaly on pools. > ok deraadt@ kettenis@ (dlg@) ~ autoconf.c > remove obsolete raid from namtoblk tables. from Artturi Alm (tedu@) arch/amd64/amd64 ~ locore.S > Fill a few more pads with 0xcc > ok mikeb, mlarkin (deraadt@) ~ pmap.c > consistently set ipls on pmap pools. > this is a step toward making ipls unconditionaly on pools. > ok deraadt@ kettenis@ (dlg@) ~ vmm.c > Allocate RAM for guest VM in vmd(8) and pass it to vmm(4) > vmm(4) then maps the pages allocated by the vmd(8) user process into the > address space of the guest. This gives vmm(4) and vmd(8) a shared view of > the guest RAM. This will allow us to have faster guest<->host data > exchange by ordinary memory loads/stores later, as well as remove the > vm_readpage and vm_writepage ioctls next. > ok mlarkin@ (stefan@) ~ cpu.c > reporting a different issue, bluhm noticed that valid is not initialized. > (tedu@) ~ autoconf.c > remove obsolete raid from namtoblk tables. from Artturi Alm (tedu@) ~ vmm.c > Remove readpage and writepage ioctls. > They are not needed anymore now that guest memory is allocated > by and shared with the host. > ok mlarkin@ (stefan@) arch/amd64/include ~ vmmvar.h > Allocate RAM for guest VM in vmd(8) and pass it to vmm(4) > vmm(4) then maps the pages allocated by the vmd(8) user process into the > address space of the guest. This gives vmm(4) and vmd(8) a shared view of > the guest RAM. This will allow us to have faster guest<->host data > exchange by ordinary memory loads/stores later, as well as remove the > vm_readpage and vm_writepage ioctls next. > ok mlarkin@ (stefan@) ~ vmmvar.h > Remove readpage and writepage ioctls. > They are not needed anymore now that guest memory is allocated > by and shared with the host. > ok mlarkin@ (stefan@) arch/amd64/stand/efiboot ~ efiboot.c > fix some typos in comments > from Tom Cosgrove (jcs@) arch/amd64/stand/libsa ~ cmd_i386.c ~ memprobe.c ~ pxe.h > fix some typos in comments > from Tom Cosgrove (jcs@) arch/arm/arm ~ pmap.c ~ pmap7.c > consistently set ipls on pmap pools. > this is a step toward making ipls unconditionaly on pools. > ok deraadt@ kettenis@ (dlg@) ~ undefined.c > correct spelling of a comment > from Tom Cosgrove (jsg@) arch/arm/include ~ fdt.h > Fetch "reg" and "interrupts" properties and pass them down as attach args > to > our children. > ok jsg@ (kettenis@) arch/arm/simplebus ~ simplebus.c > Fetch "reg" and "interrupts" properties and pass them down as attach args > to > our children. > ok jsg@ (kettenis@) ~ simplebus.c > Use OF_getpropintarray(). (kettenis@) arch/armish/armish ~ autoconf.c > remove obsolete raid from namtoblk tables. from Artturi Alm (tedu@) arch/armv7/armv7 ~ armv7_machdep.c ~ armv7_machdep.h ~ platform.c > Use fdt to find the console to initialise. Try to use /chosen/stdout-path > if present otherwise fallback to /aliases/serial0. > Don't require a platform match to run the various console init functions > so the init functions will run for unknown board ids. > With and ok kettenis@ on a earlier version. (jsg@) ~ platform.c > stop requiring a matching platform to continue booting (jsg@) ~ autoconf.c > remove obsolete raid from namtoblk tables. from Artturi Alm (tedu@) ~ armv7_machdep.c > Ignore everything after and including ':' in stdout-path when > finding the console node. Characters after this are device specific > settings (baud etc). > ok kettenis@ (jsg@) arch/armv7/conf ~ GENERIC > Dynamically attach i.MX6 ahci(4) using the FDT. > ok jsg@ (kettenis@) ~ GENERIC > Dynamically attach imxesdhc(4) using the FDT. > ok jsg@ (kettenis@) ~ RAMDISK > attach imxahci and imxesdhc to fdt on RAMDISK as well (jsg@) ~ GENERIC ~ RAMDISK > dynamically attach sxie(4) using the FDT (jsg@) ~ GENERIC ~ RAMDISK > dynamically attach sxiuart using the FDT (jsg@) ~ GENERIC ~ RAMDISK > dynamically attach imxuart using the FDT > ok kettenis@ (jsg@) ~ GENERIC ~ RAMDISK > Dynamically attach fec(4) using the FDT. > ok jsg@, patrick@ (kettenis@) arch/armv7/exynos ~ exuart.c ~ exynos_machdep.c > Use fdt to find the console to initialise. Try to use /chosen/stdout-path > if present otherwise fallback to /aliases/serial0. > Don't require a platform match to run the various console init functions > so the init functions will run for unknown board ids. > With and ok kettenis@ on a earlier version. (jsg@) ~ crosec.c > test return value not an uninitialised variable > from Tom Cosgrove (jsg@) ~ exuart.c > The qemu smdkc210 target uses serial0 for console but the > exynos4210-universal_c210 dtb specifies stdout as serial2. > Override the address found with fdt if the board id is c210 to cope. (jsg@) arch/armv7/imx ~ imx_machdep.c ~ imxuart.c > Use fdt to find the console to initialise. Try to use /chosen/stdout-path > if present otherwise fallback to /aliases/serial0. > Don't require a platform match to run the various console init functions > so the init functions will run for unknown board ids. > With and ok kettenis@ on a earlier version. (jsg@) ~ imxiic.c > Make use of the information about the node passed down to us by > simplebus(4). > ok jsg@ (kettenis@) ~ files.imx ~ imx.c ~ imxahci.c > Dynamically attach i.MX6 ahci(4) using the FDT. > ok jsg@ (kettenis@) ~ files.imx ~ imx.c ~ imxesdhc.c > Dynamically attach imxesdhc(4) using the FDT. > ok jsg@ (kettenis@) ~ files.imx ~ imx.c ~ imxuart.c > dynamically attach imxuart using the FDT > ok kettenis@ (jsg@) ~ files.imx ~ if_fec.c ~ imx.c > Dynamically attach fec(4) using the FDT. > ok jsg@, patrick@ (kettenis@) arch/armv7/omap ~ ommmc.c > Reset the bus width back to 1-bit when resetting the host. > Similar changes were made to imxesdhc(4). (jsg@) ~ omap_com.c ~ omap_machdep.c > Use fdt to find the console to initialise. Try to use /chosen/stdout-path > if present otherwise fallback to /aliases/serial0. > Don't require a platform match to run the various console init functions > so the init functions will run for unknown board ids. > With and ok kettenis@ on a earlier version. (jsg@) arch/armv7/sunxi ~ sunxi_machdep.c ~ sxiuart.c > Use fdt to find the console to initialise. Try to use /chosen/stdout-path > if present otherwise fallback to /aliases/serial0. > Don't require a platform match to run the various console init functions > so the init functions will run for unknown board ids. > With and ok kettenis@ on a earlier version. (jsg@) ~ files.sunxi ~ sunxi.c ~ sxie.c > dynamically attach sxie(4) using the FDT (jsg@) ~ files.sunxi ~ sunxi.c ~ sxiuart.c > dynamically attach sxiuart using the FDT (jsg@) ~ sxie.c ~ sxiuart.c > Handle both the nintr 1 (allwinner a10/cortex a8) and > nintr 3 (allwinner a20/cortex a7) cases. (jsg@) arch/armv7/vexpress ~ pl011.c ~ vexpress_machdep.c > Use fdt to find the console to initialise. Try to use /chosen/stdout-path > if present otherwise fallback to /aliases/serial0. > Don't require a platform match to run the various console init functions > so the init functions will run for unknown board ids. > With and ok kettenis@ on a earlier version. (jsg@) arch/hppa/hppa ~ pmap.c > consistently set ipls on pmap pools. > this is a step toward making ipls unconditionaly on pools. > ok deraadt@ kettenis@ (dlg@) arch/i386/i386 ~ pmap.c > consistently set ipls on pmap pools. > this is a step toward making ipls unconditionaly on pools. > ok deraadt@ kettenis@ (dlg@) ~ autoconf.c > remove obsolete raid from namtoblk tables. from Artturi Alm (tedu@) arch/i386/isa ~ lms.c ~ mms.c > Use the new input functions of wsmouse in mouse and touchscreen drivers. > ok stsp@ kettenis@ (bru@) arch/i386/stand/libsa ~ apmprobe.c ~ cmd_i386.c ~ memprobe.c ~ pxe.h > fix some typos in comments > from Tom Cosgrove (jcs@) arch/luna88k/dev ~ lunaws.c > Use the new input functions of wsmouse in mouse and touchscreen drivers. > ok stsp@ kettenis@ (bru@) arch/m88k/m88k ~ pmap.c > consistently set ipls on pmap pools. > this is a step toward making ipls unconditionaly on pools. > ok deraadt@ kettenis@ (dlg@) arch/macppc/macppc ~ autoconf.c > remove obsolete raid from namtoblk tables. from Artturi Alm (tedu@) arch/octeon/dev - octhci.c ~ octhcireg.h > Remove octhci(4). It has been superseded by dwctwo(4). > ok mpi@ deraadt@ pirofti@ dlg@ (visa@) ~ cn30xxgmx.c ~ cn30xxgmxreg.h ~ cn30xxgmxvar.h ~ cn30xxpip.c > Add SGMII support and PHY addresses for 8-port EdgeRouters. This makes > plain RJ45 ports eth[4-7] usable. > ok dlg@, tested by martijn@ (visa@) arch/powerpc/powerpc ~ pmap.c > consistently set ipls on pmap pools. > this is a step toward making ipls unconditionaly on pools. > ok deraadt@ kettenis@ (dlg@) arch/sgi/hpc ~ z8530ms.c > Use the new input functions of wsmouse in mouse and touchscreen drivers. > ok stsp@ kettenis@ (bru@) arch/sh/sh ~ pmap.c > consistently set ipls on pmap pools. > this is a step toward making ipls unconditionaly on pools. > ok deraadt@ kettenis@ (dlg@) arch/socppc/socppc ~ autoconf.c > remove obsolete raid from namtoblk tables. from Artturi Alm (tedu@) arch/sparc/sparc ~ pmap.c > consistently set ipls on pmap pools. > this is a step toward making ipls unconditionaly on pools. > ok deraadt@ kettenis@ (dlg@) ~ autoconf.c > remove obsolete raid from namtoblk tables. from Artturi Alm (tedu@) arch/sparc64/dev ~ fd.c > remove splsoftfd and splausoft > theyre unused. > ok kettenis@ (dlg@) arch/sparc64/include ~ psl.h > remove splsoftfd and splausoft > theyre unused. > ok kettenis@ (dlg@) arch/sparc64/sparc64 ~ pmap.c > consistently set ipls on pmap pools. > this is a step toward making ipls unconditionaly on pools. > ok deraadt@ kettenis@ (dlg@) ~ autoconf.c > remove obsolete raid from namtoblk tables. from Artturi Alm (tedu@) arch/zaurus/dev ~ zts.c > Use the new input functions of wsmouse in mouse and touchscreen drivers. > ok stsp@ kettenis@ (bru@) arch/zaurus/zaurus ~ autoconf.c > remove obsolete raid from namtoblk tables. from Artturi Alm (tedu@) ddb ~ db_examine.c > per trending style, add continue to empty loops. > ok mglocker (tedu@) dev ~ hotplug.c ~ ipmi.c > per trending style, add continue to empty loops. > ok mglocker (tedu@) dev/acpi ~ acpitoshiba.c > attach acpitoshiba(4) on more Toshiba laptops > ok pirofti@ (giovanni@) ~ acpi.c > The power management timer has been made optional in ACPI 5.0A, so don't > attempt to attach acpitimer(4) if the timer isn't present. > Pointed out by jcs@ > ok jcs@ (kettenis@) dev/adb ~ ams.c > Use the new input functions of wsmouse in mouse and touchscreen drivers. > ok stsp@ kettenis@ (bru@) dev/hil ~ hilms.c > Use the new input functions of wsmouse in mouse and touchscreen drivers. > ok stsp@ kettenis@ (bru@) dev/ic ~ rtwn.c ~ rtwnvar.h > Continue preparing a future merge of urtwn(4) and rtwn(4). > This mostly copies r88e support code to ic/rtwn.c and moves some functions > which are not trivial to merge with USB counterparts back to pci/if_rtwn.c. > ok mpi@ (stsp@) dev/ofw ~ fdt.c ~ fdt.h > Use fdt to find the console to initialise. Try to use /chosen/stdout-path > if present otherwise fallback to /aliases/serial0. > Don't require a platform match to run the various console init functions > so the init functions will run for unknown board ids. > With and ok kettenis@ on a earlier version. (jsg@) ~ fdt.c ~ openfirm.h > Add OF_getpropint() and OF_getpropintarray(). > ok visa@, jsg@ (kettenis@) dev/pci ~ if_rtwn.c > Continue preparing a future merge of urtwn(4) and rtwn(4). > This mostly copies r88e support code to ic/rtwn.c and moves some functions > which are not trivial to merge with USB counterparts back to pci/if_rtwn.c. > ok mpi@ (stsp@) dev/pcmcia ~ pcmcia.c > Kill unused function wrappers, from David Hill. (mpi@) dev/pv ~ pvbus.c ~ pvvar.h > Provide a bus_dma tag as part of the pvbus attach arguments > ok reyk (a while ago) (mikeb@) dev/sun ~ sunms.c > Use the new input functions of wsmouse in mouse and touchscreen drivers. > ok stsp@ kettenis@ (bru@) dev/usb ~ utpms.c > Use the new input functions of wsmouse in mouse and touchscreen drivers. > ok stsp@ kettenis@ (bru@) ~ uts.c > Use the new input functions of wsmouse in mouse and touchscreen drivers. > ok stsp@ kettenis@ (bru@) dev/wscons ~ wsmouse.c ~ wsmousevar.h > Remove wsmouse_input. > ok mpi@ (bru@) kern ~ kern_pledge.c ~ kgdb_stub.c ~ vfs_bio.c > per trending style, add continue to empty loops. > ok mglocker (tedu@) ~ sys_generic.c > ktrace support for pollfd[] arrays > ok guenther (deraadt@) ~ subr_log.c > As logging to dmesg with msgbuf_putchar() can happen in any interrupt > handler, every access to msg buf counters should be protected by > splhigh(). This is already done in some places, make it consistenly > everywhere. > OK mpi@ deraadt@ (bluhm@) ~ exec_elf.c > Enforce W^X and map W|X segments without X permission initially. The > dynamic linker will make these read-only and add back X permission after > elocation processing. Static executables with W|X segments will probably > crash. > ok deraadt@, guenther@ (kettenis@) ~ kern_exec.c > Cleanup some systrace leftovers. > ok jca@, guenther@ (kettenis@) ~ exec_elf.c > Since epp->ep_name is a userland pointer, use copyinstr(9) to get a copy ok > the string into kernel space before logging the W^X binary warning. > ok jca@, guenther@ (kettenis@) ~ kern_sig.c > if the timeout rounds to zero, make it one tick, otherwise we sleep > forever. noticed by Davin McCall. > while here, if the timeout actually is zero, return appropriate error. > ok guenther. (tedu@) ~ uipc_socket.c > Fix format string in ddb show socket. (bluhm@) miscfs/fifofs ~ fifo_vnops.c > ktrace support for pollfd[] arrays > ok guenther (deraadt@) net ~ pf.c ~ rtable.c > per trending style, add continue to empty loops. > ok mglocker (tedu@) ~ route.c > Use rtalloc(9) instead of ifa_ifwithnet() to find an interface > when adding a route to gateway to ensure a most specific match. > This makes "# route add" coherent to "# route get" even with > p2p interfaces. Fix a problem reported by Mart Tõnso. > ok vgross@ (mpi@) ~ if_bridge.c > Multicast packet are already duplicated in bridge_process() so > no need to loop another copy on the receiving interface. > Reported by and ok uebayasi@ (mpi@) ~ if_ethersubr.c > Move ND resoluton logic from nd6_output() to nd6_storelladdr() and > rename it to nd6_resolve(). > This allows us to get rid of non-Ethernet hacks by moving Ethernet > specific logic in the appropriate layer. > ok sthen@ (mpi@) ~ route.c > Revert previous, it breaks regression tests. (mpi@) ~ bpf.c ~ if.c ~ if.h ~ if_var.h > Add the "llprio" field to struct ifnet, and the corresponding keyword > to ifconfig. > "llprio" allows one to set the priority of packets that do not go through > pf(4), as the case is for arp(4) or bpf(4). > ok sthen@ mikeb@ (vgross@) netinet ~ if_ether.c ~ ip_carp.c ~ ip_carp.h > Get rid of the ``enaddr'' argument of carp_iamatch(). > It was only checked in balancing mode, which is currently broken, and is > no longer needed. > Discusssed with bluhm@ and Florian Riehm. (mpi@) ~ if_ether.c > Move logic to send ARP replies to arpreply(). > ok florian@, dlg@ (mpi@) ~ tcp_input.c > Fix typo in comment. From Kapetanakis Giannis (bluhm@) ~ if_ether.c > Add the "llprio" field to struct ifnet, and the corresponding keyword > to ifconfig. > "llprio" allows one to set the priority of packets that do not go through > pf(4), as the case is for arp(4) or bpf(4). > ok sthen@ mikeb@ (vgross@) netinet6 ~ nd6.c > Move nd6_output()'s "short-circuiting" for non-lladdr interface types > earlier. > nd6.c's nd6_output() decides whether link-layer address resolution is > needed > before sending the packet. Up to r1.178 packets for many non-ethernet > interface > types were sent directly without checking the gateway or determining if > link- > layer address resolution was needed. In r1.179 this was changed to skip > some > decision making for gif(4) but moved the short-circuiting for those > interface > types to *after* the gateway was checked. In my v6 pppoe setup, > rt_checkgate > is returning EHOSTUNREACH so this move prevented it from working. > ok mpi@ (sthen@) ~ nd6.c ~ nd6.h > Move ND resoluton logic from nd6_output() to nd6_storelladdr() and > rename it to nd6_resolve(). > This allows us to get rid of non-Ethernet hacks by moving Ethernet > specific logic in the appropriate layer. > ok sthen@ (mpi@) sys ~ ktrace.h ~ poll.h > ktrace support for pollfd[] arrays > ok guenther (deraadt@) ~ refcnt.h ~ srp.h ~ task.h > Move initialization macro outside of #define _KERNEL to use them in > ART regression tests. > ok dlg@, jmatthew@ (mpi@) ~ sockio.h > Add the "llprio" field to struct ifnet, and the corresponding keyword > to ifconfig. > "llprio" allows one to set the priority of packets that do not go through > pf(4), as the case is for arp(4) or bpf(4). > ok sthen@ mikeb@ (vgross@) uvm ~ uvm_extern.h ~ uvm_map.c > Add uvm_share() to share a memory range between two address spaces > Its primary use is to make guest VM memory accessible to the host > (e.g. vmd(8)). That will later allow us to remove the readpage and > writepage ioctls from vmm(4), and use ordinary loads and stores instead. > "looks good to me" kettenis@ (stefan@) ~ uvm_mmap.c > hppa & mips64 now can do the full W^X check. (Make sure you have > a new kernel before this change, and ld.so updated) (deraadt@) ~ uvm_mmap.c > Dereference p_p once rather than 4 times. (deraadt@) == usr.bin =========================================================== 11/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin aucat ~ aucat.c ~ dsp.c ~ dsp.h > Add resamp_getcnt() routine to calculate the exact number of samples > that would be consumed and produced by the sampler rate converter. Use > it to avoid partial samples that are not properly handled. Fixes > last samples of certain files causing aucat to abort. (ratchov@) ~ aucat.1 ~ aucat.c > Add -g and -p options to control device and file start position. (ratchov@) ~ dsp.c ~ dsp.h > removed unused fields of resamp structure (ratchov@) ~ dsp.c > Simplify the sample rate converter, no behaviour change. (ratchov@) doas ~ doas.c ~ doas.conf.5 ~ doas.h ~ parse.y > add a doas.conf setenv directive that allows setting environment > variables explicitly and by copying existing environment variables > of a different name. E.g. > permit nopass setenv { PS1=$SUDO_PS1 FOO=bar } keepenv :wheel > ok tedu@ benno@ (djm@) ~ doas.conf.5 > spelling fix; (jmc@) ~ doas.c ~ doas.conf.5 ~ parse.y > merge setenv feature into keepenv. less grammar, more better. > minimal changes to implementation for now, but some refinement to the way > in which the new environment is constructed would be nice. > ok djm (tedu@) ~ doas.c ~ doas.conf.5 ~ doas.h ~ parse.y > revert recent changes to allow setenv. everybody now has an idea about > how to do things better, so let's take a step back and reconsider. (tedu@) ~ doas.1 > tighten up some wording (tedu@) ~ doas.conf.5 > expand contractions (tedu@) ~ doas.conf.5 > specify that default is deny if no rule matches (tedu@) ~ doas.conf.5 > clarify some wording (tedu@) ~ doas.conf.5 > don't use specified twice in a sentence, noticed by jmc (tedu@) file ~ file.h > Remove old unused prototype, from Ilya Kaliman. (nicm@) indent ~ lexi.c > it's typedef, not typdef. > typo found by Piotr Stefaniak (tobiasu@) kdump ~ ktrstruct.c > add a hack to avoid printing the long string format for times in the 70s. > this is usually a result of a timestamp which hasn't been identified as > "relative" and decoding them to precise dates long in the past is a > distraction. (eagerly awaiting a cleaner, better diff to do the same.) > (tedu@) ~ kdump_subr.h ~ ktrstruct.c ~ mksubr > ktrace support for pollfd[] arrays > ok guenther (deraadt@) mg ~ theo.c > "Well finally everyone can see that the shit is really shitty." (tedu@) netstat ~ net80211.c > In netstat, display correct counter for 'no basic MCS set' error. > ok sthen@ tb@ (stsp@) signify ~ signify.c > use getprogname (tedu@) ssh ~ kexgexs.c > Back out rev 1.28 "Check min and max sizes sent by the client" change. > It caused "key_verify failed for server_host_key" in clients that send a > DH-GEX min value less that DH_GRP_MIN, eg old OpenSSH and PuTTY. ok djm@ > (dtucker@) tmux ~ status.c > Allow #[] in window-status-separator. (nicm@) ~ cmd-split-window.c ~ tmux.h ~ window.c > Insert new panes after the pane being split in the list rather than > always after the active pane. This is more sensible when doing it with > commands rather than keys. (nicm@) ~ screen-write.c ~ tmux.h > Cache selected state so that cells going from selected to unselected are > not > skipped, reported by Omar Sandoval. (nicm@) ~ colour.c > Much faster (and smaller) method of mapping RGB colour to an xterm(1) > colour, from Avi Halachmi. (nicm@) ~ screen.c > Spelling error (incrased -> increased), from Josh Soref. (nicm@) == usr.sbin ========================================================== 12/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin bgpd ~ bgpd.h ~ session.c > Add format attributes to the proper functions and then fix the warning in > session.c > ok mpi@ (benno@) ~ bgpd.conf.5 > Fixed "then" vs "than" typo. > ok jmc (tobias@) bind ~ bin/dig/dig.c > reduce confusion about -p option. parse it, but only permit port 53, and > make it an error otherwise instead of a warning that may be overlooked. > reported by Peter van Dijk > ok deraadt (tedu@) eigrpd ~ eigrpd.c ~ eigrpd.h ~ eigrpe.c ~ eigrpe.h ~ parse.y ~ rde.c ~ rde.h > Improve security by calling exec after fork. > For each child process (rde and eigrpe), re-exec eigrpd with a special > "per-role" getopt flag. This way we have seperate ASLR/cookies per > process. > Based on a similar patch for bgpd, from claudio@ > ok deraadt (renato@) ~ interface.c > Reset the interface uptime when it is restarted. > The uptime was being set only when the interface was created, which is > not what we want. (renato@) ~ eigrpe.c ~ interface.c > Call if_update() only when necessary for IPv6 address changes. > For EIGRPv6, an interface only needs an link-local address in order > to be enabled in the routing daemon. So adding or removing global > unicast addresses, for example, will never trigger a state change in > the interface. > Additionally, move all address handling code to if_addr_new() and > if_addr_del() to improve readability. (renato@) ~ eigrpd.c > Fix potential SIGBUS in startup. > The fork+exec diff introduced this problem where we were indirectly > calling imsg_event_add() before initializing (event_set) iev_rde and > iev_eigrpe. Fix this by moving down both main_imsg_send_ipc_sockets() > and main_imsg_send_config(), after iev_rde and iev_eigrpe are > initialized. > benno@ reported this problem for the initial ospfd fork+exec attempt, > now fix eigrpd too. > ok deraadt (renato@) httpd ~ httpd.c > & expands to the maximum amount of needed space; fix comment. > Pointed out by Frank Schoep, thanks! (florian@) ~ httpd.8 > grammar fix; from nick permyakov (jmc@) ldpd ~ ldpd.c ~ packet.c > Speed up session establishment after config reload. > If we change a neighbor's password or the global transport-address, > cancel the affected pending connects and, when playing the active role > of the session establishment process, try to connect again right away > with the new password and/or transport-address. > Without this patch we have to wait for the timeout of the pending > connects, which might be a lot of time. (renato@) ~ ldpd.c ~ ldpe.c > Fix imsg parameter passing > When ldpe requests new network sockets to the parent process (after the > transport-address is changed), it must specify the desired address-family > (IPv4 or IPv6). We can use the 'pid' or 'peerid' members of the imsg_hdr > structure for this. Use 'pid' for convenience (no need to extend the > wrapper function, ldpe_imsg_compose_parent()). (renato@) ~ init.c > Add one more safety check for Initialization messages. > RFC 5036 says the following about the "Receiver LDP Identifier" field: > "Identifies the receiver's label space. This LDP Identifier, together > with the sender's LDP Identifier in the PDU header, enables the receiver > to match the Initialization message with one of its Hello adjacencies; > If there is no matching Hello adjacency, the LSR MUST send a Session > Rejected/No Hello Notification message in response to the Initialization > message and not establish the session". > This is one more case of LDP being more complex than what it should have > been. Since LDP support MPLS label spaces (for ATM and FR), just the > sender's LSR-ID in the PDU header is not enough for identifying an Hello > adjacency. We also need the receiver's label space, and that's what this > field gives us. In fact, this field contains the full receiver's LSR-ID, > but the IP part doesn't really matter. > Since we don't support label spaces (and never will), we were happily > ignoring this field. This patch changes this to fix some errors with ANVL. > Fixes the following ANVL LDP tests: 6.5, 6.6 and 6.11. (renato@) ~ notification.c > Change what we consider a NACK for our Initialization messages. > RFC 5036 says the following: > "It is possible for a pair of incompatibly configured LSRs that > disagree on session parameters to engage in an endless sequence of > messages as each NAKs the other's Initialization messages with Error > Notification messages. > An LSR MUST throttle its session setup retry attempts with an > exponential backoff in situations where Initialization messages are > being NAK'd". > The problem here is that the RFC is not very explicit of what can be > a NACK. We were considering only the following notification messages > as NACKs: > * Session Rejected/No Hello; > * Session Rejected/Parameters Advertisement Mode; > * Session Rejected/Parameters Max PDU Length; > * Session Rejected/Parameters Label Range; > * Session Rejected/Bad KeepAlive Time. > It turns out that some implementations can NACK with a Shutdown > notification. And there's the possibility of other implementations using > different notifications as well. > To fix this, consider any fatal notification as a NACK when the neighbor > is in the OPENSENT state (i.e. we sent an Initialization and we're > waiting for a response). > Fixes the following ANVL LDP tests: 6.19, 6.21 and 6.22 (renato@) ~ hello.c > Discard Hello packet if advertised transport address is of different AF. > IxANVL LDP test 5.13 was failing for ldpd(8) because we were not > discarding IPv4 Hello messages with an IPv6 transport address (and > vice-versa). > Once again, the RFC is not very explicit about what to do in this > case. Since the IPv4 and IPv6 Transport Address TLVs are optional, > what we were doing is to just ignore them in this case and use source > address of the packet as the implicit transport address. > But the IxANVL team had a different interpretation on this. They think > that discarding the Hello message is the right thing to do in this case. > Let's follow their interpretation because that's probably what most > implementations are doing. > NOTE1: with this patch we still keep ignoring additional Transport Address > TLVs as specified in RFC 7552; > NOTE2: in order to check if a Transport Address TLV was already received > or not, use the F_HELLO_TLV_RCVD_ADDR flag instead of comparing if the > address is zero or not (easier to read). > Fixes IxANVL LDP test 5.13. (renato@) ~ ldpd.c ~ ldpe.c > Fix quick reconnect when the transport address is changed. > When the transport address is changed, we can't try to reconnect to the > neighbors inside merge_af() because the ldpe process still didn't receive > the new network sockets from the parent at this point. To resolve this, > try to reconnect just after we receive these sockets. (renato@) ~ adjacency.c ~ hello.c ~ interface.c ~ ldpe.c ~ ldpe.h > Send a fatal notification when the last hello adjacency is deleted. > RFC 5036 says: > "When the last Hello adjacency for an LDP session is > deleted, the LSR terminates the LDP session by sending a Notification > message and closing the transport connection". > Send a "Hold Timer Expired" notification when the triggering event is > a hello hold time timeout. In the other cases, like disabling LDP on an > interface, send a "Shutdown" notification instead. > Before this patch we were just closing the neighbor's transport > connection. > Fixes the following ANVL LDP tests: 7.17 and 23.3. (renato@) ~ packet.c > Do not shut down the session upon receiving unknown messages. > RFC 5036 says the following about the receipt of unknown messages: > "Unknown message bit. Upon receipt of an unknown message, if U is > clear (=0), a notification is returned to the message originator; > if U is set (=1), the unknown message is silently ignored". > We were correctly ignoring unknown messages when the U-bit was set. But > when this bit was not set, we were shutting down the session when the > correct thing to do is to just send a non-fatal notification message. > Fix IxANVL LDP test 22.13. (renato@) ~ packet.c > Do set the Message ID for Hello messages too. > In the original LDP specification, there was no circumstance where a > Notification message could be sent in response to a Hello message. So > setting the Message ID field for Hello packets was useless. > This changed with RFC 7552, where Hello packets can trigger the "Transport > Connection Mismatch" notification when the local and remote transport > preferences doesn't match. In this case, having a meaningful Message ID > in the Hello packets can aid in testing and troubleshooting. (renato@) ~ labelmapping.c ~ notification.c > Fix parsing of multiple optional TLVs in label and notification messages. > We were accepting at most one optional TLV. > Fixes IxANVL LDP test 15.3. (renato@) ~ ldpe.h ~ notification.c > Use uint16_t for notification type. > This doesn't fix any bug as we were already using uint16_t everywhere > else. (renato@) ~ labelmapping.c ~ notification.c > Make it possible to parse unknown TLVs in the future. > In the parsing of label and notification messages, we were always > unsetting the first bit of the TLV type before comparing it against the > types we know. We should not do this because our type constants can have > this bit set when appropriate. > By now the only unknown TLV supported by ldpd(8) is TLV_TYPE_DUALSTACK, > which is only used in Hello messages. But we might change this in the > future with support for MAC List TLVs and maybe RFC 7473. (renato@) ~ hello.c ~ init.c ~ labelmapping.c ~ notification.c > Make all TLV parsing functions look the same for consistency. > Also, add one more safety check in recv_init(). (renato@) ~ labelmapping.c > Send an 'Unknown FEC' Notification for unexpected wildcard FECs. > This is basically just to make ANVL happy, there's not much difference > between sending an 'Unknown FEC' or a 'Malformed TLV' Notification. > Fixes ANVL LDP test 15.6. (renato@) ~ lde_lib.c > Add missing ntohl() when recording a label request. > Fixes the following ANVL LDP tests: 1.5 and 9.4. (renato@) ~ hello.c > Parse the whole Hello packet before processing it. > In the case of an error, we want to return as soon as possible to avoid > having to clean things up. > This fixes a bug where we could create a dynamic targeted neighbor in > response to a malformed packet. (renato@) ospf6d ~ log.h ~ rde.c > add format attributes to the proper functions and then fix the > warning in rde.c (benno@) ospfd ~ log.h ~ rde.c > add format attributes to the proper functions and then fix the > warning in rde.c > ok stsp@ (benno@) pkg_add ~ OpenBSD/AddCreateDelete.pm ~ OpenBSD/AddDelete.pm > fix somewhat broken inheritance: the actual -i/-I interactive dance is > only relevant for pkg_add/pkg_delete. > Every tool needs an interactive object, but setting that to InteractiveStub > "just in case" after doing the interactive dance is fine for > pkg_create/pkg_sign > problem noticed by jsg@ in pkg_sign(1). (espie@) ~ OpenBSD/AddCreateDelete.pm ~ OpenBSD/PkgCheck.pm > band-aid for pkg_check, some options need to be mixin. (espie@) rebound ~ rebound.c > previous change (r1.27) converted to using non blocking sockets and > spinning on them, trying to preemptively avoid kevent. i've come to > conclude this is a poor design. it is exceedingly rare for there to be > two requests waiting. instead, we end up burning useless syscalls. (tedu@) smtpd ~ delivery_lmtp.c > delivery_lmtp does not know how to deal with LMTP servers returning > continuation lines, fix this. > reported and initial diff by parchd-1 @ github, ok sunil@ (gilles@) ~ delivery_lmtp.c > LMTP banner is handled by a getline() call so it cannot handle multiline > banners, introduce lmtp_banner() which takes care of this. > ok sunil@ (gilles@) ~ mproc.c > do not return on EAGAIN otherwise the event is never reloaded. > ok gilles@ (eric@) ~ smtpd.c > use io_set_nonblocking() instead of SOCK_NONBLOCKING to reduce delta with > -portable (gilles@) ~ smtp_session.c > quote space-containing values in smtpd logs or they become hard to parse > diff by Pavel Korovin <[email protected]>, ok giovanni@ (gilles@) vmd ~ vmm.c > Allocate RAM for guest VM in vmd(8) and pass it to vmm(4) > vmm(4) then maps the pages allocated by the vmd(8) user process into the > address space of the guest. This gives vmm(4) and vmd(8) a shared view of > the guest RAM. This will allow us to have faster guest<->host data > exchange by ordinary memory loads/stores later, as well as remove the > vm_readpage and vm_writepage ioctls next. > ok mlarkin@ (stefan@) ~ vmm.c > Access guest memory with normal loads and stores in vmd(8) > read_mem() and write_mem() in vmd(8) now use memcpy() instead of the > vm_readpage() and vm_writepage() ioctls to read/write guest memory. > ok mlarkin@ (stefan@) ~ vmd.8 > grammar fix; from nick permyakov (jmc@) ===============================================================================
_______________________________________________ owc mailing list [email protected] http://www.squish.net/mailman/listinfo/owc
