OpenBSD src changes summary for 2015-08-09 to 2015-08-16 inclusive ==================================================================
bin/expr distrib/notes etc/etc.alpha/disktab etc/etc.amd64/disktab etc/etc.armish/disktab etc/etc.armv7/disktab etc/etc.aviion/disktab etc/etc.hppa/disktab etc/etc.hppa64/disktab etc/etc.i386/disktab etc/etc.landisk/disktab etc/etc.loongson/disktab etc/etc.luna88k/disktab etc/etc.macppc/disktab etc/etc.octeon/disktab etc/etc.sgi/disktab etc/etc.socppc/disktab etc/etc.sparc/disktab etc/etc.sparc64/disktab etc/etc.vax/disktab etc/etc.zaurus/disktab etc/locate.rc etc/rc etc/weekly lib/libc lib/libm libexec/spamd regress/sys regress/usr.bin sbin/disklabel sbin/swapctl share/man share/zoneinfo sys/arch/alpha/alpha sys/arch/alpha/conf sys/arch/alpha/isa sys/arch/alpha/pci sys/arch/amd64/amd64 sys/arch/arm/arm sys/arch/arm/include sys/arch/hppa/dev sys/arch/hppa64/dev sys/arch/i386/conf sys/arch/i386/i386 sys/arch/loongson/conf sys/arch/loongson/dev sys/arch/loongson/include sys/arch/loongson/loongson sys/arch/macppc/macppc sys/arch/mips64/conf sys/arch/mips64/include sys/arch/mips64/mips64 sys/arch/powerpc/conf sys/arch/powerpc/include sys/arch/powerpc/powerpc sys/conf sys/ddb sys/dev sys/dev/acpi sys/dev/ic sys/dev/pci sys/dev/pv sys/dev/usb sys/kern sys/lib/libsa sys/net sys/netinet sys/netinet6 sys/nfs sys/sys usr.bin/doas usr.bin/file usr.bin/locale usr.bin/locate usr.bin/nm usr.bin/openssl usr.bin/sndiod usr.bin/ssh usr.bin/tmux usr.sbin/ikectl usr.sbin/ntpd usr.sbin/pkg_add usr.sbin/rcctl usr.sbin/relayd usr.sbin/smtpd usr.sbin/sysmerge == bin =============================================================== 01/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin expr ~ expr.c > avoid casts of malloc() if stdlib.h is present (deraadt@) == distrib =========================================================== 02/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib notes ~ sgi/install > typo : ususally -> usually (mlarkin@) == etc =============================================================== 03/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc etc.alpha/disktab ~ etc.alpha/disktab > 'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007 > with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 > with r1.19. The associated disklabel fields were recycled for other > purposes. > Another 'harmless' part of the larger disklabel cleanup diff. > ok deraadt@ as part of that larger diff. (krw@) ~ etc.alpha/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.amd64/disktab ~ etc.amd64/disktab > 'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007 > with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 > with r1.19. The associated disklabel fields were recycled for other > purposes. > Another 'harmless' part of the larger disklabel cleanup diff. > ok deraadt@ as part of that larger diff. (krw@) ~ etc.amd64/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.armish/disktab ~ etc.armish/disktab > 'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007 > with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 > with r1.19. The associated disklabel fields were recycled for other > purposes. > Another 'harmless' part of the larger disklabel cleanup diff. > ok deraadt@ as part of that larger diff. (krw@) ~ etc.armish/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.armv7/disktab ~ etc.armv7/disktab > 'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007 > with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 > with r1.19. The associated disklabel fields were recycled for other > purposes. > Another 'harmless' part of the larger disklabel cleanup diff. > ok deraadt@ as part of that larger diff. (krw@) ~ etc.armv7/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.aviion/disktab ~ etc.aviion/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.hppa/disktab ~ etc.hppa/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.hppa64/disktab ~ etc.hppa64/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.i386/disktab ~ etc.i386/disktab > 'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007 > with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 > with r1.19. The associated disklabel fields were recycled for other > purposes. > Another 'harmless' part of the larger disklabel cleanup diff. > ok deraadt@ as part of that larger diff. (krw@) ~ etc.i386/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.landisk/disktab ~ etc.landisk/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.loongson/disktab ~ etc.loongson/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.luna88k/disktab ~ etc.luna88k/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.macppc/disktab ~ etc.macppc/disktab > 'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007 > with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 > with r1.19. The associated disklabel fields were recycled for other > purposes. > Another 'harmless' part of the larger disklabel cleanup diff. > ok deraadt@ as part of that larger diff. (krw@) ~ etc.macppc/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.octeon/disktab ~ etc.octeon/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.sgi/disktab ~ etc.sgi/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.socppc/disktab ~ etc.socppc/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.sparc/disktab ~ etc.sparc/disktab > 'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007 > with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 > with r1.19. The associated disklabel fields were recycled for other > purposes. > Another 'harmless' part of the larger disklabel cleanup diff. > ok deraadt@ as part of that larger diff. (krw@) ~ etc.sparc/disktab > Oops. Missed a 'ts=' in previous commit. (krw@) etc.sparc64/disktab ~ etc.sparc64/disktab > 'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007 > with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 > with r1.19. The associated disklabel fields were recycled for other > purposes. > Another 'harmless' part of the larger disklabel cleanup diff. > ok deraadt@ as part of that larger diff. (krw@) ~ etc.sparc64/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.vax/disktab ~ etc.vax/disktab > 'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007 > with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 > with r1.19. The associated disklabel fields were recycled for other > purposes. > Another 'harmless' part of the larger disklabel cleanup diff. > ok deraadt@ as part of that larger diff. (krw@) ~ etc.vax/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) etc.zaurus/disktab ~ etc.zaurus/disktab > 'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007 > with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 > with r1.19. The associated disklabel fields were recycled for other > purposes. > Another 'harmless' part of the larger disklabel cleanup diff. > ok deraadt@ as part of that larger diff. (krw@) ~ etc.zaurus/disktab > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) locate.rc ~ locate.rc > Move locate(1) database build directory back to /tmp and kill non-existent > /usr/tmp references. > Diff from Craig Skinner via tech@ plus a /usr/tmp removal from me in the > updatedb script. > ok millert@. (rzalamena@) rc ~ rc > Start the rework of the /etc/rc shell script. > General changes: > - apply a similar 'style' as used in the installer scripts > - improve comments to be more to the point, remove where code is obvious > - document usage of functions if they have arguments > - rename variables where it improves readability > - replace really old-school shell code with more contemporary idioms > Changes to stripcom(): > - skip empty files (eleminates tests for this before calling stripcom) > - remove {} around the while-loop, feed file directly > - instead of continue if empty and then print, print only if non-empty > - use the safer "print -r --" instead of plain "echo" > - quote "$_line" on output to prevent globbing > Changes to update_limit(): > - use {,-cur,-max} instead of "" -cur -max > - eleminate if-block with reverse test and continue > OK halex@ krw@ (rpe@) ~ rc > Changes to sysctl_conf(), mixerctl_conf() and wsconsctl_conf(): > - no need to check for non-empty *.conf files, stripcom handles that now > - pipe stripcom output directly to while-read-loop > - quote the argument to the *ctl commands > - no need to double shutup mixerctl, -q already means quiet > OK krw@, halex@ (rpe@) weekly ~ weekly > Move locate(1) database build directory back to /tmp and kill non-existent > /usr/tmp references. > Diff from Craig Skinner via tech@ plus a /usr/tmp removal from me in the > updatedb script. > ok millert@. (rzalamena@) == lib =============================================================== 04/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ locale/setlocale.3 > Mention LC_MESSAGES. > Input & okay (pre-lock) from jmc@, sobrado@ and stsp@. (zhuk@) ~ gen/disklabel.c > Zap a few stray blanks. (krw@) ~ locale/setrunelocale.c > Disable support for loading LC_CTYPE locales other than UTF-8. > ok mpi tedu phessler zhuk, and discussed with many at c2k15 (stsp@) ~ locale/setlocale.c > Load LC_MESSAGES locale only if the character encoding is UTF-8. > ok mpi tedu phessler zhuk, and discussed with many at c2k15 (stsp@) ~ asr/getaddrinfo_async.c > Fix test against INADDR_LOOPBACK > ok gilles@ (jca@) libm ~ src/ld80/s_ceill.c > fix a case where ceill() returns 1.0L: in the x86 extended precision format > the fraction part has no implicit bit > ok deraadt@ (naddy@) == libexec =========================================================== 05/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec spamd ~ spamd.8 > divert-to a table needs an address family; > from steve shockley > ok sthen (jmc@) ~ spamd.8 > start replacing some \*([GL]t; (jmc@) == regress =========================================================== 06/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sys ~ kern/kqueue/kqueue-pty.c > Zero-clear test buffer. KNF while here. (uebayasi@) ~ kern/kqueue/kqueue-random.c > Zero-clear test buffer. (uebayasi@) ~ kern/kqueue/kqueue-pipe.c > Zero-clear test buffer. Close fds. (uebayasi@) ~ kern/kqueue/kqueue-flock.c > Close an fd. (uebayasi@) ~ kern/kqueue/kqueue-fdpass.c > Zero-clear test buffers. Close fds. (uebayasi@) ~ kern/kqueue/kqueue-process.c > NOTE_FORK|NOTE_TRACK knote can track grandchild processes. Wait for > both child/grandchild process events. (uebayasi@) ~ net/pf_fragment/Makefile ~ net/pf_fragment/pf.conf > Add IPv6 fragment tests for pf route-to. A big ping packet is sent > in fragments to a machine running pf. From there it is forwarded > with route-to to a router with a smaller MTU. Path MTU discovery > has to make successive fragments shorter and pf route-to has to > preserve the fragment size. (bluhm@) usr.bin ~ pkg-config/Makefile + pkg-config/pcdir/vers4.pc > add (currently failing) test for version comparison against "22-stable" > from [email protected] (jasper@) == sbin ============================================================== 07/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin disklabel ~ disklabel.c > Less damned spurious whitespace. (krw@) swapctl ~ swapctl.c > switch from system(3) to vfork(2)+execl(2) for invoking mount_nfs(8) when > fstab > contains option for swapping to NFS files. > ok millert@ (semarie@) == share ============================================================= 08/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/axen.4 > kurotoshiko -> kuroutoshikou > from clemens goessnitzer (jmc@) ~ man4/ugold.4 > add working newer TEMPerV1.4, tested by frederic cambus > ok mpi@ (jung@) ~ man5/port-modules.5 > sync with go.port.mk (jasper@) ~ man4/pppoe.4 > Update the IPv6 example to something that works... > ...although this create a race condition pointed by sthen@ where the > other side might try to negotiave IPv6 before it is enable. > This is *another* fallback of the no IPv6 by default policy. Since > setting an address implicitly brings the underlying interface UP. > And pppoe(4) (which is special) starts singing as soon as it is UP > even if no proto or parent device has been specified. Obviously this > cannot work. > Better have a working and racy example than a non-working one. > Diff submitted by Delan Azabani, thanks! > ok naddy@ (mpi@) ~ man5/disktab.5 > 'sk', 'cs', 'hs', 'ts' were removed from getdiskbyname() in 2007 > with r1.18. 'rm' and 'il' were removed from getdiskbyname() in 2009 > with r1.19. The associated disklabel fields were recycled for other > purposes. > Another 'harmless' part of the larger disklabel cleanup diff. > ok deraadt@ as part of that larger diff. (krw@) ~ man9/srp_enter.9 > imply you cant sleep while holding a ref via srp (dlg@) ~ man9/Makefile ~ man9/ml_init.9 ~ man9/mq_init.9 > provide ml_requeue and mq_requeue for prepending mbufs on lists/queues > ok mpi@ claudio@ (dlg@) ~ man8/starttls.8 > Change examples from DSA to RSA since DSA is starting to be removed > from crypto libraries. Some smtp servers, notably gmail, now fail > to deliver mail to servers using DSA keys. Examples adapted from > the smtpd.conf manual. OK jmc@ (millert@) ~ man5/disktab.5 > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) zoneinfo ~ datfiles/africa ~ datfiles/asia ~ datfiles/europe ~ datfiles/leapseconds ~ datfiles/northamerica ~ datfiles/southamerica ~ datfiles/zone.tab ~ datfiles/zone1970.tab > Update to tzdata2015f from ftp.iana.org (millert@) == sys =============================================================== 09/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/alpha ~ cpu.c > When resetting the hwrpb after a succesfull secondary processor spinup, > make its start routine point to cpu_halt, just in case. (miod@) arch/alpha/conf ~ RAMDISKBIG > Enable AlphaBook 1 support in bsd.rd too (miod@) arch/alpha/isa ~ isa_machdep.h > Fix isa_chipset_t ic_intr_{alloc,check} prototype: these take an > isa_chipset_tag_t, not an isa_chipset_tag_t *, as isa_chipset_tag_t is > already > a pointer. (miod@) arch/alpha/pci ~ sio.c > Fix isa_chipset_t ic_intr_{alloc,check} prototype: these take an > isa_chipset_tag_t, not an isa_chipset_tag_t *, as isa_chipset_tag_t is > already > a pointer. (miod@) ~ pci_alphabook1.c ~ pci_up1000.c > No need to cargo-cult include <alpha/pci/sioreg.h> here. (miod@) ~ sio.c > Store the {e,}isa_chipset_t in the softc, rather than on > sio_bridge_callback()'s > stack, for {e,}isa drivers might have a need for them way after autoconf - > at > least pcic@isa does. (miod@) ~ sio_pic.c > If the SRM has explicitely set up some ISA interrupts level-triggered, > honour this setting and consider them level-triggered instead of `polarity > decided by the first driver to use it'. > Add explicit code to turn registration of edge-triggered interrupts 3 and 4 > into level-triggered, if they were set up a level-triggered by the SRM. > Based upon a NetBSD diff which eventually got reverted in NetBSD. However, > it turns out this is necessary for the kernel to correctly run with serial > console on my Multia. (miod@) arch/amd64/amd64 ~ identcpu.c > Incorrect comparison when accessing cpuid extended function 0x80000007. > ok kettenis@, guenther@ (mlarkin@) arch/arm/arm ~ pmap.c ~ vm_machdep.c > Remove orphaned debug code. (miod@) arch/arm/include ~ pmap.h > Remove orphaned debug code. (miod@) arch/hppa/dev ~ apic.c > Fix a free of an uninitialized variable in an error path. > ok miod@ > found by Maxime Villard / Brainy Code Scanner. thanks. (mlarkin@) arch/hppa64/dev ~ apic.c > Fix a free of an uninitialized variable in an error path. > ok miod@ > found by Maxime Villard / Brainy Code Scanner. thanks. (mlarkin@) arch/i386/conf ~ Makefile.i386 + ld.script > Use a linker script when building i386 kernels to allow section padding on > PAGE_SIZE boundaries. This is required to enforce proper separation of > sections when adding page protections (coming shortly). > This was in snaps before release with no reported side effects. > ok deraadt@ (mlarkin@) ~ ld.script > Increase the size of the masks used in i386 ldscript to account for larger > sections that may be encountered when using larger than normal ramdisks. > No binary change. > Requested by and diff provided by > Nathanael Rensen <nathanael at list.polymorpheus.com> (mlarkin@) arch/i386/i386 ~ mpbios_intr_fixup.c > Explicitly NULL-terminate mpbios_icu_table as required by the code which > uses it. On ramdisk kernels built with -Os, (accidental termination) did > not occur, leading to heisenbug occurances.... > Modified files: > sys/arch/amd64/amd64: mpbios_intr_fixup.c > Log message: > Explicitly NULL-terminate mpbios_icu_table as required by the code which > uses it. On ramdisk kernels built with -Os, (accidental termination) did > not occur, leading to heisenbug occurances.... > Found by Mike Larkin, ok kettenis (deraadt@) ~ locore.s > Use a linker script when building i386 kernels to allow section padding on > PAGE_SIZE boundaries. This is required to enforce proper separation of > sections when adding page protections (coming shortly). > This was in snaps before release with no reported side effects. > ok deraadt@ (mlarkin@) arch/loongson/conf ~ files.loongson > Some bits for Loongson 3A support. (miod@) arch/loongson/dev ~ glx.c > typo (miod@) arch/loongson/include ~ cpu.h > Some bits for Loongson 3A support. (miod@) arch/loongson/loongson ~ bus_dma.c + loongson3_machdep.c > Some bits for Loongson 3A support. (miod@) arch/macppc/macppc ~ genassym.cf > replace the asm mutexes with a c implementation. > there's no real functional advantage to this, except that it will > make it easier to add deadlock detection to the code. > this is modelled on the c mutex implementation thats on alpha, > mips64, and hppa. > ok mpi@ kettenis@ (dlg@) arch/mips64/conf ~ files.mips64 > Some bits for Loongson 3A support. (miod@) arch/mips64/include ~ cache.h > Some bits for Loongson 3A support. (miod@) arch/mips64/mips64 ~ pmap.c > Remove unnecessary pmap == NULL checks in mips64 pmap. > ok miod@ (visa@) + cache_loongson3.c + cache_mips64r2.c > Some bits for Loongson 3A support. (miod@) arch/powerpc/conf ~ files.powerpc > replace the asm mutexes with a c implementation. > there's no real functional advantage to this, except that it will > make it easier to add deadlock detection to the code. > this is modelled on the c mutex implementation thats on alpha, > mips64, and hppa. > ok mpi@ kettenis@ (dlg@) arch/powerpc/include ~ lock.h ~ mutex.h > replace the asm mutexes with a c implementation. > there's no real functional advantage to this, except that it will > make it easier to add deadlock detection to the code. > this is modelled on the c mutex implementation thats on alpha, > mips64, and hppa. > ok mpi@ kettenis@ (dlg@) arch/powerpc/powerpc - mutex.S ~ lock_machdep.c + mutex.c > replace the asm mutexes with a c implementation. > there's no real functional advantage to this, except that it will > make it easier to add deadlock detection to the code. > this is modelled on the c mutex implementation thats on alpha, > mips64, and hppa. > ok mpi@ kettenis@ (dlg@) conf ~ newvers.sh > Back to -current. (jca@) ~ GENERIC > turn POOL_DEBUG back on (sthen@) ddb ~ db_sym.c > Use a linker script when building i386 kernels to allow section padding on > PAGE_SIZE boundaries. This is required to enforce proper separation of > sections when adding page protections (coming shortly). > This was in snaps before release with no reported side effects. > ok deraadt@ (mlarkin@) dev ~ ksyms.c > Use a linker script when building i386 kernels to allow section padding on > PAGE_SIZE boundaries. This is required to enforce proper separation of > sections when adding page protections (coming shortly). > This was in snaps before release with no reported side effects. > ok deraadt@ (mlarkin@) ~ flash.c > Remove last two 'uses' of d_subtype in tree. No point in setting > it to 0 immediately after a bzero() of the entire label. Nor in > swapping endianness since nobody looks at it. Don't touch the actual > field in disklabel. Yet. > ok deraadt@ as part of larger diff that needs splitting up. (krw@) dev/acpi ~ acpidev.h ~ acpihpet.c > Check proper HPET period value during attach. > Pointed out by patrick keshishian <pkeshish at gmail.com>, thanks. > (mlarkin@) dev/ic ~ ti.c > removes two mem leaks in ti (in error path). > one leak reported by Maxime Villard > initial patch from Christian Schulte (with spelling corrections in > comments) > second leak corrected by myself > ok kettenis@ (semarie@) ~ i82365.c > Do not perform timeout maintainance on sc->poll_timeout if it has not been > initialized yet. (miod@) dev/pci ~ emuxki.c > Don't inline long functions as this tends to increase object size > with no benefit. > ok millert, "correct" deraadt (ratchov@) ~ if_myx.c > rework how we track the packets on the rx rings. > originally there were two mutex protected lists for rx packets, a > list of free packets, and a list of packets that were on the ring. > filling the ring popped packets off the free list, attached an mbuf > and dmamapped it, and pushed it onto the list of active packets. > the hw fills packets in order, so on rx completion we'd pop packets > the active list, unmap the mbuf and shove it up the stack before > putting the packet on the free list. > the problem with the lists is that every rx ring operation resulted > in two mutex ops. so 4 mutex ops per packet after you do both fill > and rxeof. > this replaces the mutexed lists with rings that shadow the hardware > rings. filling the rx ring pushes a producer index along, while > rxeof chases it with a consumer. because we know only one thing can > do either of those tasks at a time, we can get away with not using > atomic ops for them. > there's more to be done, but this is a good first step. (dlg@) ~ if_myx.c > move to a per rx ring timeout for refilling empty rings. > this lets me get rid of the locking around the refilling of the rx ring. > the timeout only runs refill if the rx ring is empty. we know rxeof > wont try and refill it in that situation because there's no packets > on the ring so we wont get interrupts for it. therefore we dont > need to lock between the timeout and rxeof cos they cant run at the > same time. (dlg@) ~ if_myx.c > rework the tx path to use a ring to keep track of dmamaps/mbufs. > this removes the myx_buf structure and uses myx_slot instead. theyre > the same expcet slots dont have list entry structures, so theyre > smaller. > this cuts out four mutex ops per packet out of the tx handling. > just have to get rid of the atomic op per packet in myx_start now. (dlg@) ~ if_myx.c > do the global tx free accounting in myx_start with a single atomic op > instead of one per packet. > seems to let me send packets a little faster. (dlg@) dev/pv ~ vmt.c > Merge two return branches in vmt_tclo_tick(). No functional changes. > (uebayasi@) dev/usb ~ ugold.c > fix regressions introduced in my previous commmit, resulting in > 'unknown command' dmesg lines for TEMPer devices and a > possible type command loop for unsupported TEMPerHUM devices, > moreover, 2 whitespace fixes while here > tested by myself and frederic cambus > ok mpi@ (jung@) ~ ugold.c > update author information of the copyright section. > no binary update. (yuo@) kern ~ subr_disk.c > Remove last two 'uses' of d_subtype in tree. No point in setting > it to 0 immediately after a bzero() of the entire label. Nor in > swapping endianness since nobody looks at it. Don't touch the actual > field in disklabel. Yet. > ok deraadt@ as part of larger diff that needs splitting up. (krw@) ~ uipc_mbuf.c > provide ml_requeue and mq_requeue for prepending mbufs on lists/queues > ok mpi@ claudio@ (dlg@) lib/libsa ~ nfs.c > Use signed variables to store the result of rpc_call(). (miod@) ~ rpc.c > When sendrecv() returns -1, have rpc_call() return -1 as well. Otherwise, > due > to the cast to unsigned, it fails the error test and returns a bogus > partial > read to the caller, which is painful to debug. (miod@) net ~ if.c > If no handler consumed a mbuf, free it. This also apply if an interface > does not have any registered handler. > Plug a mbuf leak found by sthen@ with gif(4) in a bridge. > ok sthen@, claudio@ (mpi@) ~ if.c > avoid a toctou problem in if_input in the bpf handling. > load ifp->if_bpf into a local variable, test that, and pass it to bpf. > this is instead of instead of assuming ifp->if_bpf wont change between > checking it and passing it to bpf. (dlg@) ~ bpf.c ~ bpfdesc.h > make bpf_mtap mpsafe by using SRPs. > this was originally implemented by jmatthew@ last year, and updated > by us both during s2k15. > there are four data structures that need to be looked after. > the first is the bpf interface itself. it is allocated and freed > at the same time as an actual interface, so if you're able to send > or receive packets, you're able to run bpf on an interface too. > dont need to do any work there. > the second are bpf descriptors. these represent userland attaching > to a bpf interface, so you can have many of them on a single bpf > interface. they were arranged in a singly linked list before. now > the head and next pointers are replaced with SRP pointers and > followed by srp_enter. the list updates are serialised by the kernel > lock. > the third are the bpf filters. there is an inbound and outbound > filter on each bpf descriptor, ann a process can replace them at > any time. the pointers from the descriptor to those is also changed > to be accessed via srp_enter. updates are serialised by the kernel > lock. > the fourth thing is the ring that bpf writes to for userland to > read. there's one of these per descriptor. because these are only > updated when a filter matches (which is hopefully a relatively rare > event), we take the kernel lock to serialise the writes to the ring. > all this together means you can run bpf against a packet without > taking the kernel lock unless you actually caught a packet and need > to send it to userland. even better, you can run bpf in parallel, > so if we ever support multiple rings on a single interface, we can > run bpf on each ring on different cpus safely. > ive hit this pretty hard in production at work (yay dhcrelay) on > myx (which does rx outside the biglock). > ok jmatthew@ mpi@ millert@ (dlg@) ~ if.c > dont need the biglock to call bpf now. (dlg@) netinet ~ tcp_input.c > In tcp syn cache convert the struct sockaddr casts to satosin() > inline functions. They have the advantage to check the old type > before casting. > OK dlg@ (bluhm@) ~ tcp_input.c > Use foreach queue macros in tcp syn cache. > OK markus@ (bluhm@) ~ in_gif.c ~ ip_divert.c ~ ip_icmp.c ~ ip_ipip.c ~ udp_usrreq.c > Replace sockaddr casts with the proper satosin() or satosin6() calls. > From David Hill; OK mpi@ (bluhm@) netinet6 ~ in6.c > Remove backward compatibilify goos for IN6_IFF_DEPRECATED and instead > reject SIOCAIFADDR_IN6 ioctl(2) where it is set. > ok jca@, bluhm@ (mpi@) nfs ~ nfs_boot.c > Replace sockaddr casts with the proper satosin() or satosin6() calls. > From David Hill; OK mpi@ (bluhm@) sys ~ mbuf.h > provide ml_requeue and mq_requeue for prepending mbufs on lists/queues > ok mpi@ claudio@ (dlg@) ~ disklabel.h > The disktab attribute 'ty' was used to set D_REMOVEABLE and D_RAMDISK > flags in the disklabel. These flags were discarded in 2006. > Remove documentation for and instances of 'ty'. Add instances of > 'dt' that were missing. Use 'floppy' as the value of 'dt' for all > floppies and 'rdroot' for all boot images/miniroots. > Add 'rdroot' to dktypenames and an associated #define DTYPE_RDROOT, > since 'dt' values are parsed by matching entries in dktypenames[]. > Slightly tweaked part of larger cleanup diff previously ok deraadt@. (krw@) == usr.bin =========================================================== 10/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin doas ~ doas.c > more explicit warnings. Okay tedu@ (espie@) ~ doas.c > and now we can unify the code. okay tedu@ > err() suggestion by Martijn van Duren (espie@) file ~ magic-common.c ~ magic-load.c ~ magic.h > Add another function for printing warnings before the magic_line is > created so all warnings go through the same fprintf. (nicm@) ~ magic-load.c > Include more context in warnings where it is possible. (nicm@) ~ magic-load.c > Allow spaces around any operator, not just =. (nicm@) ~ magic-load.c > If we are expecting a signed number but it fails, try to parse it as > unsigned instead. (nicm@) ~ magic-load.c ~ magic-test.c ~ magic.h > Support = test for floats and doubles. (nicm@) ~ magic-load.c ~ magic-test.c > Extend accepted operators to +-&/%* for integer tests. (nicm@) ~ magic-load.c > An invalid line can't just be thrown away because if it has any children > they will end up with the wrong parent. Instead, leave it in the tree > but force its type to NONE so it never matches. (nicm@) ~ magic-load.c > Actually leave the invalid ml in the tree after making it type NONE. > (nicm@) ~ magic-common.c > Accept hexadecimal numbers without 0x if they aren't a valid decimal > number. (nicm@) ~ magic-load.c > Warn sensibly for unrecognised !: lines rather than trying to parse them. > (nicm@) ~ magic-load.c ~ magic-test.c > Any type can be prefixed with "u", even where it makes no sense. Also > make pstring/upstring a text type. (nicm@) ~ magic-test.c > When an exact string match is found, only print the test string, not up > to \0. Noticed by Theo with some GIF files. (nicm@) ~ magic-load.c > Only warn about [bl]estring16 when they are used, like the other > unsupported types. (nicm@) ~ magic-test.c > Add string/Ww as aliases for string/Bb, and ignore t. (The latest > version of the original file replaced Bb with Ww and then reused b for > something else (!), but alias them instead.) (nicm@) ~ magic-test.c > Fix adjustment of the offset when string, pstring or search match. (nicm@) ~ magic-test.c > Support + and - for dates. (nicm@) locale ~ locale.1 > Mention LC_MESSAGES. > Input & okay (pre-lock) from jmc@, sobrado@ and stsp@. (zhuk@) ~ locale.c > Remove charsets other than UTF-8 from locale(1) output. > ok mpi tedu phessler zhuk, and discussed with many at c2k15 (stsp@) locate ~ locate/updatedb.sh > Move locate(1) database build directory back to /tmp and kill non-existent > /usr/tmp references. > Diff from Craig Skinner via tech@ plus a /usr/tmp removal from me in the > updatedb script. > ok millert@. (rzalamena@) nm ~ elf.c ~ elfuncs.h ~ nm.1 ~ nm.c ~ util.h > Grow -P (POSIX output) and -t (POSIX output radix) support. Several > 3rd-party > software depend upon this. > Requested by feinerer@, ok millert@; manpage bits ok jmc@ (miod@) ~ nm.1 > oops, SYNOPSIS was missing an Ar; while here i tweaked the list spacing; > (jmc@) openssl ~ openssl.1 ~ s_client.c > Improve openssl s_client -starttls xmpp support. > From > https://rt.openssl.org/Ticket/Display.html?id=2860&user=guest&pass=guest > - add a -xmpphost option to specify the xmpp virtual host > - fix an infinite loop when the vhost isnt what the server expects > - fix communication with openfire & prosody servers > with tweaks & ok bcook@ doug@ manpage bits jmc@ (landry@) sndiod ~ file.c > Don't call poll(2) with few millisecond time-out argument when -1 > could be used. Avoids syscalls when the daemon is not being used. > Requested by deraadt. (ratchov@) ~ file.c > Use INTIM instead of -1 as poll(2) time-out argument. > Suggested by deraadt. (ratchov@) ssh ~ sshpty.c TAGGED OPENBSD_5_7 > MFC sshpty.c r1.30, "fix pty permissions; patch from Nikolay Edigaryev; ok > deraadt" (sthen@) ~ ssh_config.5 ~ sshd_config.5 TAGGED OPENBSD_5_7 > match myproposal.h order; from brian conway > (i snuck in a tweak while here) > ok dtucker (jmc@) tmux ~ cmd-find.c ~ tmux.1 > Rename left/right/up/down relative to active pane to add -of suffix > (left-of/right-of/etc) to remove conflict with left/right meaning > leftmost or rightmost pane. From Ben Boeckel. (nicm@) ~ cmd-find.c > right-up should be right-of, also rename the values too. (nicm@) ~ cmd-clear-history.c > Come out of copy mode when history is cleared. (nicm@) == usr.sbin ========================================================== 11/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin ikectl ~ ikeca.c > corrects three err() to errx() calls > - a if condition don't set errno > - strlcpy(3) don't set errno (no mention is man page) > - ca_readpass() already manage errno error message with warn(3) > ok sthen@ (semarie@) ~ ikeca.c > correct mode_t 644 to 0644 > ok sthen@ (semarie@) ntpd ~ ntp.c > When checking whether we should scan the sensors again use <= rather > than < for the comparison. Otherwise, if we don't do enough work > in the loop to advance the clock (for instance if the network is > down) we may end up calling poll() multiple times with no timeout, > racking up CPU time for no real reason. OK bcook@ (millert@) pkg_add ~ OpenBSD/PkgCreate.pm > let pkg_create recreate all packages correctly, again. (espie@) ~ OpenBSD/RequiredBy.pm ~ OpenBSD/Tracker.pm > scaffolding that will display more info for the elusive REQUIRED_BY error > (espie@) ~ OpenBSD/Dependencies.pm > remove partial to_register from sets when we merge, since we have to do the > work again. > Should solve the +REQUIRED_BY problem hopefully. (espie@) rcctl ~ rcctl.sh > Remove getall now that we're post 5.8. (ajacoutot@) relayd ~ relayd.conf.5 > typo, decl*e*ration; from Larry Hynes (sthen@) smtpd ~ smtpd.conf.5 > tls and verify are not mutually exclusive; > pointed out by l?vai d?niel and david dahlberg > ok gilles (jmc@) ~ smtpd.conf.5 > change "priorly" to "previously", it reads better (gilles@) ~ rfc2822.h > bump size of acceptable headers lines, there is no need to be too strict > (gilles@) ~ smtp_session.c > assume messages use 8bit bytes by default, not just when 8BITMIME extension > is used, this is what the world expects, this is what other MTA do. > (gilles@) ~ util.c > when we switch valid_domainpart() from our own logic to using res_hnok() we > missed the fact that res_hnok() will consider an empty string as valid. > (gilles@) ~ smtpctl.8 > use a less ambiguous example; from larry hynes (jmc@) sysmerge ~ sysmerge.sh > Sync stripcom() with /etc/rc. (ajacoutot@) =============================================================================== _______________________________________________ owc mailing list [email protected] http://www.squish.net/mailman/listinfo/owc
