OpenBSD src changes summary for 2017-03-11 ==========================================
bin/pax distrib/miniroot lib/libc lib/libutil regress/usr.bin sbin/ifconfig sbin/sysctl share/man sys/arch/amd64/amd64 sys/arch/amd64/include sys/arch/arm64/stand/efiboot sys/arch/armv7/conf sys/arch/armv7/exynos sys/arch/armv7/stand/efiboot sys/arch/i386/i386 sys/arch/i386/include sys/arch/luna88k/cbus sys/dev sys/dev/acpi sys/dev/fdt sys/dev/hid sys/dev/hil sys/dev/ic sys/dev/mii sys/dev/usb sys/dev/wscons sys/kern sys/net sys/net80211 usr.bin/lastcomm usr.bin/mandoc usr.bin/ssh usr.bin/tmux usr.sbin/pkg_add == bin =============================================================== 01/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin pax ~ ar_io.c ~ pax.c > switch pax to using pledge tape instead of ioctl. > ok kettenis (tb@) == distrib =========================================================== 02/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ makeconf.awk > link libraries in a more canonical form (libc at the end) (deraadt@) == lib =============================================================== 03/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ sys/mmap.2 ~ sys/mprotect.2 > repair Xr, and point to sysctl(8) instead because sysctl(3) fails to > document kern.wxabort > from michael reed (deraadt@) ~ sys/mmap.2 ~ sys/mprotect.2 > shuffle back: wxabort is described in sysctl(3); (jmc@) libutil ~ fmt_scaled.c > fix signed integer overflow in scan_scaled. Found by Nicolas Iooss > using AFL against ssh_config. ok deraadt@ millert@ (djm@) == regress =========================================================== 04/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress usr.bin ~ mandoc/mdoc/Aq/author.out_markdown ~ mandoc/mdoc/Lk/noarg.out_markdown ~ mandoc/mdoc/Mt/simple.out_markdown ~ mandoc/mdoc/Rs/allch.out_markdown > In markdown, autolinks are dangerous. Different compilers disagree > with respect to what constitutes a valid autolink, and if a compiler > deems an autolink invalid, the input turns into an unintended and > potentially harmful raw HTML tag. So, never write autolinks. > Instead of <link>, write [link](link). > Instead of <addr>, write [addr](mailto:addr). > Issue pointed out by bentley@, who also agrees with the general > direction of the change. (schwarze@) ~ mandoc/eqn/define/Makefile + mandoc/eqn/define/infinite.in + mandoc/eqn/define/infinite.out_ascii + mandoc/eqn/define/infinite.out_lint > test infinite recursion in eqn(7) "define" statements (schwarze@) ~ ssh/cert-file.sh > regress tests for loading certificates without public keys; > bz#2617 based on patch from Adam Eijdenberg; ok markus@ dtucker@ (djm@) == sbin ============================================================== 05/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin ifconfig ~ ifconfig.c > Make 'ifconfig scan' display AP encryption correctly if WEP is configured > on the local wifi interface. ifconfig was mistakenly showing the common > supported subset of client and AP, rather than showing the AP's > capabilities. > Exposes WPA protocol capabilities in struct ieee80211_nodereq, which means > ifconfig must be recompiled to run on a new kernel. > ok deraadt@ mpi@ (stsp@) sysctl ~ sysctl.8 > Introduce a new knob to force the first USB keyboard as console input. > By setting "machdep.forceukbd=1" you can now use your USB keyboard in > ddb(4) even if your BIOS emulates a pckbd(4). > ok tom@, kettenis@, deraadt@ (mpi@) == share ============================================================= 06/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/ure.4 > Update for RTL8153 support. (kettenis@) == sys =============================================================== 07/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ machdep.c > Introduce a new knob to force the first USB keyboard as console input. > By setting "machdep.forceukbd=1" you can now use your USB keyboard in > ddb(4) even if your BIOS emulates a pckbd(4). > ok tom@, kettenis@, deraadt@ (mpi@) arch/amd64/include ~ cpu.h > Introduce a new knob to force the first USB keyboard as console input. > By setting "machdep.forceukbd=1" you can now use your USB keyboard in > ddb(4) even if your BIOS emulates a pckbd(4). > ok tom@, kettenis@, deraadt@ (mpi@) arch/arm64/stand/efiboot ~ efiboot.c > Set EVT_NOTIFY_SIGNAL when calling boot services CreateEvent(). > The UEFI specification states this is required to have the notification > function called. U-Boot's EFI loader calls the notification function > without the flag set but the EDK2 implementation of UEFI requires the > flag. > With this change the timer ticks and autoboot works on the OverDrive > 3000. > ok kettenis@ (jsg@) arch/armv7/conf ~ GENERIC ~ RAMDISK > Enable exrtc(4). (kettenis@) arch/armv7/exynos ~ exgpio.c > Hook up exgpio(4) to the gpio framework. (kettenis@) arch/armv7/stand/efiboot ~ efiboot.c > Set EVT_NOTIFY_SIGNAL when calling boot services CreateEvent(). > The UEFI specification states this is required to have the notification > function called. U-Boot's EFI loader calls the notification function > without the flag set but the EDK2 implementation of UEFI requires the > flag. > With this change the timer ticks and autoboot works on the OverDrive > 3000. > ok kettenis@ (jsg@) arch/i386/i386 ~ machdep.c > Introduce a new knob to force the first USB keyboard as console input. > By setting "machdep.forceukbd=1" you can now use your USB keyboard in > ddb(4) even if your BIOS emulates a pckbd(4). > ok tom@, kettenis@, deraadt@ (mpi@) arch/i386/include ~ cpu.h > Introduce a new knob to force the first USB keyboard as console input. > By setting "machdep.forceukbd=1" you can now use your USB keyboard in > ddb(4) even if your BIOS emulates a pckbd(4). > ok tom@, kettenis@, deraadt@ (mpi@) arch/luna88k/cbus ~ nec86hw.c > Fix uninitilized variables (confusion between enc and p->encoding > and between prec and p->precision). Found by jsg@, thanks. (ratchov@) dev ~ audio.c ~ audio_if.h > AUDIO_ENCODING_{S,U}LINEAR constants are neither used by low level > drivers nor exposed to user-land. Remove definitions and code to > handle convertions. (ratchov@) dev/acpi ~ acpiec.c > Revert 1.54, go back to always trying to enable burst mode > Selectively enabling burst mode seems to have broken more machines > than it helped. On MacBooks, EC_STAT_OBF occasionally won't show up > when trying to read a byte of data when bursting hasn't been > enabled, so acpiec_wait can spin forever. > This again breaks on ECs that don't do burst at all, like the Chrome > EC, but those are much more scarce than MacBooks at this time. A > machine/bios-dependent check could be added later to disable > bursting on certain machines. > Discussed with deraadt (jcs@) dev/fdt ~ files.fdt + exrtc.c > Add exrtc(4), a driver for the RTC found on Samsung Exynos SoCs. > (kettenis@) ~ exrtc.c > Oops, make this actually compile. (kettenis@) dev/hid ~ hidkbd.c > Introduce a new knob to force the first USB keyboard as console input. > By setting "machdep.forceukbd=1" you can now use your USB keyboard in > ddb(4) even if your BIOS emulates a pckbd(4). > ok tom@, kettenis@, deraadt@ (mpi@) dev/hil ~ hilkbd.c > Introduce a new knob to force the first USB keyboard as console input. > By setting "machdep.forceukbd=1" you can now use your USB keyboard in > ddb(4) even if your BIOS emulates a pckbd(4). > ok tom@, kettenis@, deraadt@ (mpi@) dev/ic ~ pckbc.c ~ pckbcvar.h > Introduce a new knob to force the first USB keyboard as console input. > By setting "machdep.forceukbd=1" you can now use your USB keyboard in > ddb(4) even if your BIOS emulates a pckbd(4). > ok tom@, kettenis@, deraadt@ (mpi@) dev/mii ~ rgephy.c > Add support for RTL8153 devices. Heavily based on changes made by Kevin Lo > to the FreeBSD driver. > This driver will attach instead of cdce(4), which doesn't expose a PHY and > doesn't work with my 5c20 revision of the chip. > ok jimatthew@, jcs@ (kettenis@) dev/usb ~ ukbd.c > Introduce a new knob to force the first USB keyboard as console input. > By setting "machdep.forceukbd=1" you can now use your USB keyboard in > ddb(4) even if your BIOS emulates a pckbd(4). > ok tom@, kettenis@, deraadt@ (mpi@) ~ if_ure.c ~ if_urereg.h > Add support for RTL8153 devices. Heavily based on changes made by Kevin Lo > to the FreeBSD driver. > This driver will attach instead of cdce(4), which doesn't expose a PHY and > doesn't work with my 5c20 revision of the chip. > ok jimatthew@, jcs@ (kettenis@) dev/wscons ~ wskbd.c > Introduce a new knob to force the first USB keyboard as console input. > By setting "machdep.forceukbd=1" you can now use your USB keyboard in > ddb(4) even if your BIOS emulates a pckbd(4). > ok tom@, kettenis@, deraadt@ (mpi@) kern ~ kern_pledge.c > kern_pledge.c (deraadt@) ~ kern_pledge.c > pax conversion was missed; give this another week (deraadt@) net ~ if_pfsync.c > Add a detachhook to pfsync(4) which deals with the syncdev going away. > Fixes a panic observed by douple-p (aka pb@) when destroying the syncdev. > tweak & ok mpi@ (stsp@) net80211 ~ ieee80211_ioctl.c ~ ieee80211_ioctl.h > Make 'ifconfig scan' display AP encryption correctly if WEP is configured > on the local wifi interface. ifconfig was mistakenly showing the common > supported subset of client and AP, rather than showing the AP's > capabilities. > Exposes WPA protocol capabilities in struct ieee80211_nodereq, which means > ifconfig must be recompiled to run on a new kernel. > ok deraadt@ mpi@ (stsp@) == usr.bin =========================================================== 08/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin lastcomm ~ lastcomm.c > Use sizeof directly instead of a macro from the scary <struct.h> > ok visa@ mpi@ millert@ kettenis@ deraadt@ (guenther@) mandoc ~ mdoc_markdown.c > In markdown, autolinks are dangerous. Different compilers disagree > with respect to what constitutes a valid autolink, and if a compiler > deems an autolink invalid, the input turns into an unintended and > potentially harmful raw HTML tag. So, never write autolinks. > Instead of <link>, write [link](link). > Instead of <addr>, write [addr](mailto:addr). > Issue pointed out by bentley@, who also agrees with the general > direction of the change. (schwarze@) ~ eqn.c > Improve detection of recursive eqn(7) "define" statements: > Do not only catch "define key 'key other stuff'", > but also "define key 'other stuff key'". > Fixing infinite loop found by tb@ with afl(1). (schwarze@) ssh ~ packet.c > Don't count the initial block twice when computing how many bytes > to discard for the work around for the attacks against CBC-mode. > ok djm@; report from Jean Paul, Kenny, Martin and Torben @ RHUL (markus@) ~ sshconnect2.c > allow ssh to use certificates accompanied by a private key file but no > corresponding plain *.pub public key. bz#2617 based on patch from > Adam Eijdenberg; ok dtucker@ markus@ (djm@) tmux ~ cmd-find.c > Only look for window and pane parts of target as a sesson and window if > they look like an ID. (nicm@) ~ layout.c > Fix calculation of size for full size splits. (nicm@) == usr.sbin ========================================================== 09/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin pkg_add ~ OpenBSD/PackageRepository.pm ~ OpenBSD/PackageRepository/Installed.pm > tweak %m to expand to %c, and make %c more magical: > on a -stable system, %c/packages will expand to > two directories in support of packages-stable, > with the -stable directory being "silent". > Also add a -Dsnap option that forces %c to be snapshots > so that the last weeks of testing of release are less > painful. > okay aja@ (espie@) ~ pkg_add.1 ~ pkg_delete.1 > document recent changes. > acknowledge that installurl requires some internal treatment > explain how %c works now. > Document -Dsnap and -V > Remove the pesky spaces in -Dname, since no-one types the space ever > (espie@) ~ OpenBSD/PkgCheck.pm > compute_digest already clones object's class, no need to ref here. (espie@) ~ pkg_add.1 > Make spacing after -D consistent. > Manual pages should only use .Fl X Ns Ar in the unusual case that no > space is allowed between the option letter and the option argument. > See POSIX for details: > http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html > OK espie@ (schwarze@) ~ pkg_create.1 ~ pkg_delete.1 > more consistency on .Fl ... Ns Ar lines, requested by jmc@ (schwarze@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
