OpenBSD src changes summary for 2016-01-12 ==========================================
distrib/miniroot distrib/sets distrib/special regress/bin sbin/pdisk share/man sys/arch/alpha/pci sys/arch/amd64/conf sys/arch/amd64/stand/libsa sys/arch/i386/stand/libsa sys/arch/loongson/conf sys/dev sys/dev/acpi sys/dev/i2c sys/dev/ic sys/dev/pci sys/dev/pv sys/dev/usb sys/dev/wscons sys/net sys/net80211 sys/netinet sys/netinet6 sys/ufs/ext2fs sys/ufs/ffs usr.bin/less usr.bin/ssh usr.sbin/hostapd usr.sbin/lpr usr.sbin/ndp usr.sbin/smtpd usr.sbin/tcpdump == distrib =========================================================== 01/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ install.sub > The data for CGI_{METHOD,TIME,TZ} comes from an external source. > Validate before assignment. > with feedback from and OK halex@ > OK krw@ (rpe@) sets ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armish ~ lists/base/md.armv7 ~ lists/base/md.hppa ~ lists/base/md.hppa64 ~ lists/base/md.i386 ~ lists/base/md.landisk ~ lists/base/md.loongson ~ lists/base/md.luna88k ~ lists/base/md.macppc ~ lists/base/md.octeon ~ lists/base/md.sgi ~ lists/base/md.socppc ~ lists/base/md.sparc ~ lists/base/md.sparc64 ~ lists/base/md.vax ~ lists/base/md.zaurus ~ lists/comp/mi > sync (deraadt@) special ~ pdisk/Makefile > get caught up with files krw removed (deraadt@) ~ pdisk/Makefile > Use normal err/errx/warn/warnx rather than handrolling new ones. Move > usage() to pdisk.c and nuke do_help() and '-h'. > ok jasper@ deraadt@ (krw@) == regress =========================================================== 02/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress bin ~ ksh/Makefile + ksh/vi/Makefile + ksh/vi/config.h + ksh/vi/edit.h + ksh/vi/sh.h + ksh/vi/test_vi.c + ksh/vi/vi.sh > The ksh(1) vi editing mode code is much harder to understand than > the emacs editing mode code, so add a testsuite before touching it. > To avoid having to deal with the horrendous low-level terminal > handling and high-level command execution code, write the tests in > unit test style rather than in integration test style, by providing > minimal glue to run vi.c stand-alone. In case relevant internal > interfaces in sh.c, edit.c, and friends are changed, the glue may > need adjustment. > Not testing completion and history at this time, only line editing. > (schwarze@) == sbin ============================================================== 03/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin pdisk ~ partition_map.c ~ pdisk.c > Since we use the disklabel size info we are always in 'device size > mode' and '-c' and the '-d' command to toggle cflag are pointless > since cflag is never examined. (krw@) ~ dump.c ~ errors.c ~ partition_map.c ~ partition_map.h ~ pdisk.8 ~ pdisk.c > Retire '-i', a poorly documented interactive mode that tries to > mimic the 20th century MacOS version of pdisk more closely than the > usual interactive editor. One set of commands is enough for anyone. > ok jasper@ (krw@) ~ file_media.c ~ file_media.h ~ media.c ~ media.h > Remove media interation types, structures and functions. They are not used > anywhere, as evidenced by everything still compiling after they are gone. > (krw@) ~ Makefile ~ dump.c ~ file_media.c ~ hfs_misc.c ~ io.c ~ partition_map.c ~ pdisk.8 ~ pdisk.c ~ validate.c > Use normal err/errx/warn/warnx rather than handrolling new ones. Move > usage() to pdisk.c and nuke do_help() and '-h'. > ok jasper@ deraadt@ (krw@) - errors.c - errors.h > Move unused files to attic. (krw@) ~ pdisk.c > The only thing in pdisk.h is an unused #define. So don't include it. (krw@) - pdisk.h > Another unused file for the attic. (krw@) ~ file_media.c ~ io.c > #define LOFF_T off_t > #define llseek lseek > #define LOFF_T_MAX LLONG_MAX > I mean, really? Nuke'em and use off_t, lseek and LLONG_MAX. > Also make a couple of checks for overflow of off_t value more likely > to work. > ok millert@ (krw@) == share ============================================================= 04/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/ifmedia.4 > Remove wireless turbo mode support. It is a non-standard extension > which only worked with ath(4) devices from a decade ago. > Diff tested on ath(4) hardware by me to verify that 11a/b modes still work. > ok reyk deraadt chris sthen kettenis (stsp@) ~ man5/malloc.conf.5 > accurately describe that the (3) malloc option settings are only > inspected on the first call to a malloc(3) family function. > ok tedu (deraadt@) ~ man5/malloc.conf.5 > zap trailing whitespace (deraadt@) == sys =============================================================== 05/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/pci ~ tsvar.h > dev/isa/isavar.h does not appear to be needed by any of consumers. > (noticed because of another issue: one consumer is a high level busdriver, > but also contains i2c support, so the isa #define for ia_irq clashes > against i2c) (deraadt@) arch/amd64/conf ~ GENERIC > Add dwiic, a driver for the Synopsys DesignWare i2c controller found > on the Samsung ATIV Book 9 laptop. This initial version only > supports ACPI config/attachment. > Add ihidev, a HID-over-i2c driver largely based on uhidev. dwiic > handles attaching ihidev devices found in ACPI. > Add ims, a HID-over-i2c mouse/trackpad driver to get basic cursor > and button functionality from HID-compliant i2c trackpads. > ok kettenis deraadt (jcs@) arch/amd64/stand/libsa ~ random_amd64.S ~ random_i386.S > naddy observed the TSC fallback code could encounter (high word) %edx > being 0; after multiply there is no perturbance to the from-disk entropy > buffer. Further investigation showed perturbance was biased towards > the lower bytes of a word. Compensate for this with a hocus pocus > bit-spreading operation which applies a result byte by byte. > discussion with kettenis, tb, mlarkin, naddy > ok naddy (deraadt@) arch/i386/stand/libsa ~ random_i386.S > naddy observed the TSC fallback code could encounter (high word) %edx > being 0; after multiply there is no perturbance to the from-disk entropy > buffer. Further investigation showed perturbance was biased towards > the lower bytes of a word. Compensate for this with a hocus pocus > bit-spreading operation which applies a result byte by byte. > discussion with kettenis, tb, mlarkin, naddy > ok naddy (deraadt@) arch/loongson/conf ~ files.loongson > include files.hid before files.i2c (deraadt@) dev ~ ipmi.c > Refactor ipmi_watchdog(); split tickle and set into separate functions. > (uebayasi@) ~ ipmi.c ~ ipmivar.h > Use task to execute watchdog tickle. (uebayasi@) ~ ipmi.c ~ ipmivar.h > Use task to execute command except polling context. (uebayasi@) dev/acpi ~ acpi.c ~ acpireg.h ~ acpivar.h ~ files.acpi + dwiic.c > Add dwiic, a driver for the Synopsys DesignWare i2c controller found > on the Samsung ATIV Book 9 laptop. This initial version only > supports ACPI config/attachment. > Add ihidev, a HID-over-i2c driver largely based on uhidev. dwiic > handles attaching ihidev devices found in ACPI. > Add ims, a HID-over-i2c mouse/trackpad driver to get basic cursor > and button functionality from HID-compliant i2c trackpads. > ok kettenis deraadt (jcs@) ~ acpi.c ~ acpireg.h > Improve emulation of PM registers on Hardware-redcued ACPI by emulating > SPL_TYPx, SLP_EN and WAK_STS using the new SLEEP_STATUS_REG and > SLEEP_CONTROL_REG registers. Makes the transition into S5 (powerdown) work > on the ASUS X205TA. > ok deraadt@, mlarkin@ (kettenis@) ~ dwiic.c > rename new i2c_attach_args fields to avoid conflict with cpp magic in > isavar.h (a few parts of the tree include both) > ok jcs (deraadt@) dev/i2c ~ files.i2c ~ i2cvar.h + ihidev.c + ihidev.h + ims.c > Add dwiic, a driver for the Synopsys DesignWare i2c controller found > on the Samsung ATIV Book 9 laptop. This initial version only > supports ACPI config/attachment. > Add ihidev, a HID-over-i2c driver largely based on uhidev. dwiic > handles attaching ihidev devices found in ACPI. > Add ims, a HID-over-i2c mouse/trackpad driver to get basic cursor > and button functionality from HID-compliant i2c trackpads. > ok kettenis deraadt (jcs@) ~ i2cvar.h ~ ihidev.c > rename new i2c_attach_args fields to avoid conflict with cpp magic in > isavar.h (a few parts of the tree include both) > ok jcs (deraadt@) dev/ic ~ ar5210.c ~ ar5210var.h ~ ar5211.c ~ ar5212.c ~ ar5xxx.c ~ ar5xxx.h ~ ath.c ~ pgt.c > Remove wireless turbo mode support. It is a non-standard extension > which only worked with ath(4) devices from a decade ago. > Diff tested on ath(4) hardware by me to verify that 11a/b modes still work. > ok reyk deraadt chris sthen kettenis (stsp@) dev/pci ~ if_em.c > post the packet on em_82547 chips after bpf > now that start and txeof can run on different cpus, txeof could > have freed the mbuf before bpf got to it. (dlg@) ~ if_iwn.c > fix a misplaced curly brace (stsp@) dev/pv ~ xenstore.c > Convert XenStore code to free running producer/consumer indices > After some hair pulling while implementing xnf(4) I've realised that > Xen uses free running producer/consumer indices wrapping with their > type (unsigned 32 bit integer). Later I've confirmed it with free > chapters of the "The Definitive Guide to the Xen Hypervisor" by David > Chisnall available online. (mikeb@) ~ xenstore.c > A couple of unused variables have sneaked in from the debug code (mikeb@) dev/usb ~ ums.c ~ ukbd.c > properly initialize quirks before sending them to hid layer, broken > during hid abstraction > problem noticed and fix tested by abieber (jcs@) dev/wscons ~ wsevent.c > Use uiomove() instead of uiomovei(); from Martin Natano > ok deraadt@ (stefan@) net ~ rtsock.c > Compare if the prefix lengths are equal rather than checking if the > netmasks are non-NULL for RTM_CHANGE and RTM_LOCK. > Fix route(8) regressions tests 14 and 16 with ART kernels. These tests > were failing because with ART, RTF_HOST routes always have a mask. > ok claudio@, bluhm@ (mpi@) ~ if_media.h > Remove wireless turbo mode support. It is a non-standard extension > which only worked with ath(4) devices from a decade ago. > Diff tested on ath(4) hardware by me to verify that 11a/b modes still work. > ok reyk deraadt chris sthen kettenis (stsp@) net80211 ~ ieee80211.c ~ ieee80211_ioctl.h ~ ieee80211_output.c ~ ieee80211_proto.c ~ ieee80211_radiotap.h ~ ieee80211_regdomain.h ~ ieee80211_var.h > Remove wireless turbo mode support. It is a non-standard extension > which only worked with ath(4) devices from a decade ago. > Diff tested on ath(4) hardware by me to verify that 11a/b modes still work. > ok reyk deraadt chris sthen kettenis (stsp@) netinet ~ ip_carp.c > Prevent a NULL-reference if SIOCGVH is issued without carpdev argument. > Problem reported by and diff tested by Fabian Raetz, thanks! > ok benno@, bluhm@ (mpi@) netinet6 ~ nd6_rtr.c > Prevent a possible NULL-derefenced introduced by the move of RA sleeping > code in a task. > Such dereferenced can be triggered by receiving a RA with the 'on-link' > bit set to 0 apparently generated by dnsmasq and reported by matthieu@. > ok matthieu@, sthen@, bluhm@ (mpi@) ufs/ext2fs ~ ext2fs_readwrite.c > Kill the "doclusterread" and "doclusterwrite" defines. > They are defined to 0 since the import of ext2fs 19 years ago. (mpi@) ufs/ffs ~ ffs_extern.h ~ ffs_vfsops.c ~ ffs_vnops.c > Remove the "doclusterread" and "doclusterwrite" buttons. > Cluster read is unconditionnally enabled for FFS since some years and > toggling "doclusterread" has no effect. > OpenBSD no longer support write clustering since the Dynamic Buffer > Cache went in, so there is reason to delay the call to bawrite(9). > Tested by Mathieu, ok dlg@ (mpi@) == usr.bin =========================================================== 06/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin less ~ cmdbuf.c ~ command.c ~ funcs.h ~ jump.c ~ less.h ~ line.c ~ linenum.c ~ output.c ~ prompt.c ~ search.c ~ tags.c > Remove LINUNUM, a needless alias for off_t. Also, remove a redundant > condition. > ok nicm@ (mmcc@) ~ edit.c ~ main.c ~ optfunc.c ~ prompt.c ~ signal.c > remove lint annotations > ok nicm@ (mmcc@) ssh ~ sshbuf-getput-crypto.c ~ sshbuf.c > use explicit_bzero() more liberally in the buffer code; ok deraadt (djm@) == usr.sbin ========================================================== 07/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin hostapd ~ print-802_11.c > Remove wireless turbo mode support. It is a non-standard extension > which only worked with ath(4) devices from a decade ago. > Diff tested on ath(4) hardware by me to verify that 11a/b modes still work. > ok reyk deraadt chris sthen kettenis (stsp@) lpr ~ common_source/common.c ~ common_source/displayq.c ~ common_source/lp.h ~ common_source/rmjob.c ~ lpd/printjob.c > Move prototypes of local functions from lp.h to the .c files and make > functions static if possible. Move delay() to lpd/printjob.c and fix > an annoying typo. > ok deraadt@ (tb@) ndp ~ ndp.c > Do not print an error if the list of prefixes is empty. > This is becoming more and more comon now that the list is only > used for autoconfigured prefix. > From Florian Riehm. (mpi@) smtpd ~ enqueue.c ~ parse.y ~ util.c > Let smtpd start on machines without a FQDN as hostname. > Ok millert@ gilles@ jung@ (sunil@) tcpdump ~ print-802_11.c > Remove wireless turbo mode support. It is a non-standard extension > which only worked with ath(4) devices from a decade ago. > Diff tested on ath(4) hardware by me to verify that 11a/b modes still work. > ok reyk deraadt chris sthen kettenis (stsp@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
