OpenBSD src changes summary for 2016-01-08 ==========================================
bin/ksh distrib/sets games/atc games/backgammon games/bcd games/bs games/canfield games/gomoku games/hangman games/mille games/monop games/phantasia games/sail games/trek lib/libedit lib/libusbhid libexec/getty sbin/isakmpd sbin/mountd share/man share/termtypes sys/arch/alpha/conf sys/arch/amd64/amd64 sys/arch/amd64/conf sys/arch/amd64/include sys/arch/armish/conf sys/arch/armv7/conf sys/arch/hppa/conf sys/arch/hppa64/conf sys/arch/i386/conf sys/arch/i386/i386 sys/arch/landisk/conf sys/arch/loongson/conf sys/arch/loongson/dev sys/arch/macppc/conf sys/arch/mips64/mips64 sys/arch/octeon/conf sys/arch/sgi/conf sys/arch/socppc/conf sys/arch/sparc64/conf sys/arch/sparc64/dev sys/arch/zaurus/conf sys/dev sys/dev/hid sys/dev/isa sys/dev/pci sys/dev/pv sys/dev/usb sys/kern sys/net sys/netinet sys/sys usr.bin/ftp usr.bin/mandoc usr.bin/sndiod usr.bin/usbhidctl usr.sbin/smtpd usr.sbin/user usr.sbin/vmd == bin =============================================================== 01/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ksh ~ emacs.c > Next step in UTF-8 support: > 1. Improve all functions involving words by allowing non-ASCII > characters to be part of words. > 2. Allow insertion of non-ASCII characters without screwing up the > display, by backing up to the start byte after inserting a continuation > byte, and starting to re-print there. > 3. Fix forward movement which i didn't get quite right in my previous > commit: Always advance to a start byte, never to a final continuation > byte, or the next insertion would split the character in the middle. > OK mpi@ (schwarze@) == distrib =========================================================== 02/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/man/mi > sync (deraadt@) ~ 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@) == games ============================================================= 03/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games atc ~ grammar.y ~ update.c > add missing 'void' > ok mestre@ (tb@) backgammon ~ common_source/odds.c ~ teachgammon/tutor.c > add missing 'void' > ok mestre@ (tb@) bcd ~ bcd.c > Straightforward headers cleanup (mestre@) bs ~ bs.c > Remove unnecessary headers an sort (mestre@) canfield ~ canfield/canfield.c ~ cfscores/cfscores.c > Headers clean up (mestre@) gomoku ~ bdinit.c ~ bdisp.c ~ main.c ~ makemove.c ~ pickmove.c ~ stoc.c > ANSIfy gomoku(6) and change a char* to u_char* > OK tb@ (mestre@) hangman ~ ksyms.c ~ main.c > add missing 'void' > ok mestre@ (tb@) mille ~ comp.c ~ end.c ~ extern.c ~ init.c ~ mille.c ~ mille.h ~ misc.c ~ move.c ~ print.c ~ roll.c ~ save.c ~ types.c ~ varpush.c > Headers cleanup and also the following: > mille.h: > #define CTRL locally, which is used by move.c and misc.c, to avoid > including > termios.h or sys/ttydefaults.h where it's actually defined > varpush.c: > Change _PATH_DEVNULL to "/dev/null" since other systems may not have it > defined > but also avoids including <paths.h> > Included a few sugestions from tb@ who also gave his OK (mestre@) ~ comp.c ~ end.c ~ init.c ~ mille.c ~ misc.c ~ move.c ~ print.c ~ roll.c ~ save.c ~ types.c ~ varpush.c > ANSIfy mille(6) > OK tb@ (mestre@) monop ~ cards.c ~ deck.h ~ execute.c ~ getinp.c ~ houses.c ~ initdeck.c ~ jail.c ~ misc.c ~ monop.c ~ monop.def ~ monop.ext ~ monop.h ~ morg.c ~ print.c ~ prop.c ~ rent.c ~ spec.c ~ trade.c > Headers cleanup and removal where suitable > OK tb@ (mestre@) ~ cards.c ~ execute.c ~ getinp.c ~ houses.c ~ initdeck.c ~ jail.c ~ misc.c ~ monop.c ~ morg.c ~ print.c ~ prop.c ~ rent.c ~ roll.c ~ spec.c ~ trade.c > ANSIfy monop(6) > OK tb@ (mestre@) phantasia ~ main.c > add missing 'void' > ok mestre@ (tb@) sail ~ assorted.c ~ dr_1.c ~ dr_2.c ~ dr_3.c ~ dr_4.c ~ dr_5.c ~ dr_main.c ~ game.c ~ lo_main.c ~ main.c ~ misc.c ~ parties.c ~ pl_1.c ~ pl_2.c ~ pl_3.c ~ pl_4.c ~ pl_5.c ~ pl_6.c ~ pl_7.c ~ pl_main.c ~ sync.c > ANSIfy sail(6) plus some cleanup > OK tb@ (mestre@) trek - board.x > Structural integrity hasn't improved in over twenty years. > ok mestre@ (tb@) == lib =============================================================== 04/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libedit ~ editrc.5 > Zap extraneous SYNOPSIS sections. > The gettytab(5) and termcap(5) get FILES, others don't need anything. > With input from & okay schwarze@ (zhuk@) libusbhid ~ usbhid.h > pull in dev/hid/hid.h for moved HIO_* vars (jcs@) == libexec =========================================================== 05/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec getty ~ gettytab.5 > Zap extraneous SYNOPSIS sections. > The gettytab(5) and termcap(5) get FILES, others don't need anything. > With input from & okay schwarze@ (zhuk@) == sbin ============================================================== 06/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin isakmpd ~ isakmpd.policy.5 > tweak; from julian hsiao (jmc@) mountd ~ exports.5 > Zap extraneous SYNOPSIS sections. > The gettytab(5) and termcap(5) get FILES, others don't need anything. > With input from & okay schwarze@ (zhuk@) == share ============================================================= 07/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/Makefile ~ man4/usb.4 + man4/uonerng.4 > uonerng(4) a driver for the Moonbase Otago OneRNG, from Devin Reade. > ok deraadt@ (mpi@) ~ man4/uonerng.4 > various tweaks; (jmc@) ~ man5/printcap.5 > Zap extraneous SYNOPSIS sections. > The gettytab(5) and termcap(5) get FILES, others don't need anything. > With input from & okay schwarze@ (zhuk@) termtypes ~ termcap.5 > Zap extraneous SYNOPSIS sections. > The gettytab(5) and termcap(5) get FILES, others don't need anything. > With input from & okay schwarze@ (zhuk@) == sys =============================================================== 08/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.alpha > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/amd64/amd64 ~ nvram.c > Use off_t to store the offset we want to access the NVRAM at > and check that is valid. Ensures that NVRAM is accessed at > sensible offsets. > Convert i386/nvram.c to uiomove() while there. > Diff from Martin Natano, thanks! > ok kettenis@, deraadt@ (stefan@) ~ conf.c ~ vmm.c > Add "vmm" pledge to allow restricted ioctl access to /dev/vmm. > This will allow to pledge vmd(8)'s vmm and vm processes, so that VMs > themselves run "sandboxed", including their host-side virtio layer. > It will remain disabled for now (in userland) to not get into the way > of ongoing development and upcoming changes in vmd and the ioctl > interface. > OK mlarkin@ deraadt@ "kernel side in, but not the callers in userland" > (reyk@) arch/amd64/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.amd64 > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/amd64/include ~ conf.h > Add "vmm" pledge to allow restricted ioctl access to /dev/vmm. > This will allow to pledge vmd(8)'s vmm and vm processes, so that VMs > themselves run "sandboxed", including their host-side virtio layer. > It will remain disabled for now (in userland) to not get into the way > of ongoing development and upcoming changes in vmd and the ioctl > interface. > OK mlarkin@ deraadt@ "kernel side in, but not the callers in userland" > (reyk@) arch/armish/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.armish > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/armv7/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.armv7 > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/hppa/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.hppa > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/hppa64/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.hppa64 > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/i386/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.i386 > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/i386/i386 ~ nvram.c > Use off_t to store the offset we want to access the NVRAM at > and check that is valid. Ensures that NVRAM is accessed at > sensible offsets. > Convert i386/nvram.c to uiomove() while there. > Diff from Martin Natano, thanks! > ok kettenis@, deraadt@ (stefan@) arch/landisk/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.landisk > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/loongson/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.loongson > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/loongson/dev ~ kb3310.c > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/macppc/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.macppc > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/mips64/mips64 ~ ipifuncs.c > Make sure the new rendezvous state is visible to other CPUs before > sending IPIs. Without this, a rendezvous can fail if write buffering is > enabled on octeon. (visa@) arch/octeon/conf ~ files.octeon > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/sgi/conf ~ GENERIC-IP27 ~ GENERIC-IP30 ~ GENERIC-IP32 > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.sgi > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/socppc/conf ~ files.socppc > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/sparc64/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.sparc64 > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/sparc64/dev ~ beep.c > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) arch/zaurus/conf ~ GENERIC > Enable uonerng(4) where ualea(4) is already present. (mpi@) ~ files.zaurus > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) dev ~ rnd.c > Use uiomove() instead of uiomovei(). > Diff from Martin Natano, thanks! > ok kettenis@, deraadt@ (stefan@) dev/hid + files.hid + hid.c + hid.h + hidkbd.c + hidkbdsc.h + hidkbdvar.h + hidms.c + hidmsvar.h > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) ~ hid.h > protect structs in hid.h with #ifdef _KERNEL, to allow inclusion in > libusbhid (jcs@) dev/isa ~ pcppi.c > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) dev/pci ~ if_sis.c ~ if_sisreg.h > Work around buggy zero-length packets produced by the DP83816A. > From Nathanael Rensen, ok dlg@ (mpi@) dev/pv ~ if_xnf.c > mikeb@ doesn't like RCS ids, so I add the OpenBSD one for him. (reyk@) dev/usb ~ usbdevs > OpenMoko OneRNG, from Devin Reade. (mpi@) ~ usbdevs.h ~ usbdevs_data.h > regen (mpi@) ~ files.usb + uonerng.c > uonerng(4) a driver for the Moonbase Otago OneRNG, from Devin Reade. > ok deraadt@ (mpi@) - hid.c - hid.h - hidkbd.c - hidkbdsc.h - hidkbdvar.h - hidms.c - hidmsvar.h ~ files.usb ~ ucycom.c ~ ugold.c ~ uhid.c ~ uhidev.c ~ uhidev.h ~ ukbd.c ~ ums.c ~ uoaklux.c ~ uoakrh.c ~ uoakv.c ~ upd.c ~ usbhid.h ~ uslhcom.c ~ uthum.c ~ uticom.c ~ utrh.c ~ utwitch.c > Move HID support files out of dev/usb into new dev/hid directory > These files aren't USB-specific and were used by the previous > Bluetooth implementation, and will be used by the upcoming > HID-over-i2C implementation > ok deraadt > previous version ok kettenis and mpi (jcs@) kern ~ uipc_syscalls.c > On the recvmsg() side, cmsgs are in mbuf chains, not a contiguous buffer. > ktrace each cmsg instead of reading beyond the end of the first cmsg. > problem report and testing by abieber@ > ok millert@ deraadt@ (guenther@) ~ kern_pledge.c > Add "vmm" pledge to allow restricted ioctl access to /dev/vmm. > This will allow to pledge vmd(8)'s vmm and vm processes, so that VMs > themselves run "sandboxed", including their host-side virtio layer. > It will remain disabled for now (in userland) to not get into the way > of ongoing development and upcoming changes in vmd and the ioctl > interface. > OK mlarkin@ deraadt@ "kernel side in, but not the callers in userland" > (reyk@) net ~ if_ethersubr.c ~ netisr.c ~ netisr.h > Get rid of the arp and revarp input queues. > Packets of types ARP and REVARP are now processed in the softnet task, > directly from ether_input() and without holding the KERNEL_LOCK. > Tested by many, ok dlg@ (mpi@) netinet ~ if_ether.c ~ if_ether.h > Get rid of the arp and revarp input queues. > Packets of types ARP and REVARP are now processed in the softnet task, > directly from ether_input() and without holding the KERNEL_LOCK. > Tested by many, ok dlg@ (mpi@) sys ~ pledge.h > Add "vmm" pledge to allow restricted ioctl access to /dev/vmm. > This will allow to pledge vmd(8)'s vmm and vm processes, so that VMs > themselves run "sandboxed", including their host-side virtio layer. > It will remain disabled for now (in userland) to not get into the way > of ongoing development and upcoming changes in vmd and the ioctl > interface. > OK mlarkin@ deraadt@ "kernel side in, but not the callers in userland" > (reyk@) == usr.bin =========================================================== 09/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin ftp ~ fetch.c > Handle redirects to _relative_ URIs containing '://', e.g. for archive.org. > From Lauri Tirkkonen, plus tweak to comment. ok jung@ (sthen@) mandoc ~ eqn.c > The root of an .EQ tree is always EQN_ROOT, never EQN_LIST, > so delete a redundant NULL check that confused Coverity in CID 1257471; > issue reported by wiz@, patch differs from what christos@ did in NetBSD. > No functional change. (schwarze@) ~ main.c ~ mandocdb.c ~ read.c > It was very surprising that a function called mparse_readfd() > closed the file descriptor passed to it after completing its work, > in particular considering the fact that it required its callers > to call open(2) or mparse_open() beforehand. > Change mparse_readfd() to not call close(2) and change the callers > to call close(2) afterwards, more or less bringing open and close > to the same level of the code and making review easier. Note that > man.cgi(8) already did that, even though it was wrong in the past. > Small restructuring suggested by Christos Zoulas (NetBSD). (schwarze@) ~ main.c ~ mandoc.h ~ mandocdb.c ~ read.c > Simplify the mparse_open() interface. > Just return the file descriptor or -1 on error; > there is just one kind of error anyway. > Suggested by Christos Zoulas (NetBSD). (schwarze@) ~ mandocdb.c ~ mansearch.c > Prefer warn(3) over perror(3) at the few places where it was used. > It is useful to see the program name. > Suggested by Christos Zoulas (NetBSD). (schwarze@) ~ man_html.c ~ man_macro.c ~ man_term.c ~ man_validate.c ~ mandocdb.c ~ mdoc_html.c ~ mdoc_man.c ~ mdoc_term.c ~ mdoc_validate.c ~ roff.c ~ roff.h > Delete the redundant "nchild" member of struct roff_node, replacing > most uses by one, a few by two pointer checks, and only one by a > tiny loop - not only making data smaller, but code shorter as well. > This gets rid of an implicit invariant that confused both static > analysis tools and human auditors. No functional change. (schwarze@) sndiod ~ file.c > Don't calculate clock deltas is there are no time-outs. Removes (harmless) > warnings about out-of-bounds clock deltas. (ratchov@) ~ file.c > remove redundant debug message (ratchov@) ~ opt.c > Use unorderd list to store sub-device configuration (we don't use > order anymore). No behaviour change. (ratchov@) ~ file.c > On programming error, flush log buffer and abort() rather than > calling exit(). (ratchov@) ~ listen.c ~ listen.h ~ sndiod.c > Make listen_new_xxx() routines return NULL on failure and check the > returned value wheneverer they are called. (ratchov@) ~ sndiod.c > No need to include sys/queue.h (ratchov@) ~ listen.c > don't call unlink() to delete socket as this would require cpath (ratchov@) ~ sndiod.c > Unbreak support for multiple -L options. (ratchov@) ~ sndiod.c > Make mkopt() return NULL on failure (ratchov@) ~ sndiod.c > move code to add a midi port in a new mkport() routine (ratchov@) ~ abuf.c ~ dev.c ~ dev.h ~ dsp.c ~ dsp.h ~ fdpass.c ~ file.c ~ file.h ~ listen.c ~ midi.c ~ siofile.c ~ sndiod.c ~ sock.c ~ utils.c > Make code fit in 80 columns, remove trailing spaces & tabs. (ratchov@) ~ listen.c > Fix changes that last commit undid by mistake, sorry. (ratchov@) usbhidctl ~ usbhid.c > redefine 3 UHID_* vars that moved (jcs@) == usr.sbin ========================================================== 10/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin smtpd ~ mda.c > Add missing space in "Delivered-to:%s\n" header. > OK sunil@ (chrisz@) ~ aliases.5 > Zap extraneous SYNOPSIS sections. > The gettytab(5) and termcap(5) get FILES, others don't need anything. > With input from & okay schwarze@ (zhuk@) ~ smtp.c > adjust a debug message to use decimal instead of hex > ok gilles millert (jung@) user ~ usermgmt.conf.5 > Zap extraneous SYNOPSIS sections. > The gettytab(5) and termcap(5) get FILES, others don't need anything. > With input from & okay schwarze@ (zhuk@) vmd ~ vmm.c > Must set MAX_PORTS to 65536, since we assign to > ioports_map[VMM_PCI_IO_BAR_END (= 65535)]. Fixes an off-by-one. > ok mlarkin@, reyk@ (stefan@) ~ vmm.c > Keep the pledge of the vmm and vm processes disabled for now as long > as there is some more expected progress in the kernel interface. It > can be tested, and should work, with the previous kernel commit of the > "vmm" pledge, but is not called. (reyk@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
