OpenBSD src changes summary for 2016-05-26 ==========================================
distrib/armv7 distrib/miniroot etc/MAKEDEV.common etc/Makefile etc/Makefile.inc etc/rc lib/libc lib/libcurses lib/libkvm libexec/ld.so regress/lib regress/usr.bin share/locale share/mk sys/dev/usb sys/kern sys/miscfs/fuse sys/uvm usr.bin/aucat usr.bin/tmux usr.bin/which usr.sbin/npppd usr.sbin/procmap usr.sbin/vmd == distrib =========================================================== 01/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib armv7 ~ miniroot/Makefile.inc ~ miniroot/cubox/Makefile ~ miniroot/nitrogen/Makefile ~ ramdisk/install.md > Use a fat16 partition starting at sector 2048/1MB everywhere to simplify > things. OMAP can still load the first u-boot stage (MLO) from the fs > and imx u-boot can load files off fat. The offset allows space for the > u-boot images placed at raw offsets on imx and sunxi. > discussed with kettenis (jsg@) miniroot ~ install.sub > Rename variables to a less ambiguous name better matching their purpose. > OK krw (rpe@) == etc =============================================================== 02/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc MAKEDEV.common ~ MAKEDEV.common > whitespace found during review (deraadt@) Makefile ~ Makefile > whitespace found during review (deraadt@) Makefile.inc ~ Makefile.inc > whitespace found during review (deraadt@) rc ~ rc > - rename rebuildlibs() to reorder_libs() > - move the info message inside the function > - skip reordering if /usr/lib is on a nfs mounted filesystem > - temporarily remount rw if /usr/lib is on a ro ffs file-system > OK deraadt (rpe@) ~ rc > whitespace found during review (deraadt@) == lib =============================================================== 03/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ regex/engine.c ~ regex/regex.3 > Change the way regexec handles REG_STARTEND combined with REG_NOTBOL. > The new code sees this combination as a continuation of string at offset > pmatch[0].rm_so, instead of a new string which starts at that offset. > This change fixes a search quirk in vi and is needed for upcoming fixes in > ed/sed/vi. > This new behaviour is also used in gnu regex. > Lots of help from schwarze@ > Manpage bits by schwarze@ > OK schwarze@ and millert@ (martijn@) ~ asr/asr.c > Calculate elapsed time in poll() and subtract that from the remaining time > when restarting poll() after receiving a signal. > The ruby runtime send signals to threads periodically, so without > accounting > for elapsed time, the timeout would never expire if we didn't get a > response > from a nameserver. > ok deraadt@ eric@ (jmatthew@) ~ stdio/fputs.3 > fputs(3) now returns a non-negative number (as opposed to 0) on successful > completion, just like puts(3). Found the hard way in portable code. > OK jmc@ (millert@) ~ gen/authenticate.c > Use S_ISDIR instead of doing it by hand. No binary change. (millert@) ~ string/strcat.3 > The destination string is declared as "s" but referred to as "dst" > in some cases. Be consistent and use "dst" everywhere like for > strlcat(3) and strncat(3). From Tim Kuijsten. (millert@) libcurses ~ Makefile > Use "cc -E" instead of "cpp". OK deraadt@ natano@ (millert@) libkvm ~ kvm_proc.c > Make amaps use less kernel memory (2nd try) > The original diff would crash at least i386 and powerpc, as spotted by > guenther@ The reason was an incorrect use of sizeof in amap_lookups(). > Confirmation that powerpc works by mpi@ and mglocker@ > "throw it in" deraadt@ > Original commit message: > This is achieved by grouping amap slots into chunks that are allocated > on-demand by pool(9). Endless "fltamapcopy" loops because of kmem > shortage should be solved now. The kmem savings are also important to later > enable vmm(4) to use larged shared memory mappings for guest VM RAM. > This adapts libkvm also because the amap structure layout has changed. > Testing and fix of libkvm glitch in initial diff by tb@ > Feedback and "time to get this in" kettenis@ (stefan@) == libexec =========================================================== 04/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ i386/rtld_machine.c > for textrels (sthen ran into one...): > Ignore the listed protection (which may contain X) when making page > writeable temporary. (deraadt@) == regress =========================================================== 05/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress lib ~ libc/regex/main.c > support for testing REG_STARTEND together with REG_NOTBOL (schwarze@) ~ libc/regex/tests > systematically test all combinations of REG_STARTEND, REG_NEWLINE, > and REG_NOTBOL with line and word anchors (schwarze@) ~ libc/regex/main.c > Fix an oversight that caused the test program to segfault: > Don't try to calculate strlen(NULL). (schwarze@) ~ libc/regex/tests > tests for the two segfaults in backref() that were just fixed (schwarze@) usr.bin ~ ssh/unittests/Makefile + ssh/unittests/utf8/Makefile + ssh/unittests/utf8/tests.c > test the new utf8 module (schwarze@) == share ============================================================= 06/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share locale ~ ctype/Makefile > mklocale(1) can handle C-style and shell-style comments natively, > no need for cpp here. From natano@ (millert@) mk ~ sys.mk > Zap the 'l' from ARFLAGS, totally useless these days. > Found while comparing qmake specs of different *BSDs. > okay deraadt@ and millert@ (zhuk@) == sys =============================================================== 07/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys dev/usb ~ uvideo.c > Remove superfluous loop counter to set alternate video interface since we > store the alternate video interface number already. > From Patrick Keshishian, thanks! (mglocker@) kern ~ vfs_subr.c > The doforce variable isn't modified anywhere. Also, the only filesystem > left using it is fuse. It has been removed from all other filesystems. > ok millert deraadt (natano@) miscfs/fuse ~ fuse_vfsops.c > The doforce variable isn't modified anywhere. Also, the only filesystem > left using it is fuse. It has been removed from all other filesystems. > ok millert deraadt (natano@) uvm ~ uvm_amap.c ~ uvm_amap.h > Make amaps use less kernel memory (2nd try) > The original diff would crash at least i386 and powerpc, as spotted by > guenther@ The reason was an incorrect use of sizeof in amap_lookups(). > Confirmation that powerpc works by mpi@ and mglocker@ > "throw it in" deraadt@ > Original commit message: > This is achieved by grouping amap slots into chunks that are allocated > on-demand by pool(9). Endless "fltamapcopy" loops because of kmem > shortage should be solved now. The kmem savings are also important to later > enable vmm(4) to use larged shared memory mappings for guest VM RAM. > This adapts libkvm also because the amap structure layout has changed. > Testing and fix of libkvm glitch in initial diff by tb@ > Feedback and "time to get this in" kettenis@ (stefan@) == usr.bin =========================================================== 08/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin aucat ~ aucat.c ~ dsp.c ~ dsp.h > Make format conversion routines return the number of frames > consumed from both input and output buffers. No behaviour change. > (ratchov@) tmux ~ environ.c > Just nuke environ instead of trying to unsetenv everything because that > doesn't necessarily work if there is an entry with an empty name. (nicm@) ~ key-string.c > Extend 0x1234 keys form to more bits so that Unicode keys work. (nicm@) which ~ Makefile > Use "cc -E" instead of "cpp". OK deraadt@ natano@ (millert@) == usr.sbin ========================================================== 09/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin npppd ~ npppd/npppd.conf.5 > Improve and clarify a few bits; with input from jmc@, ok yasuoka, jmc > (mikeb@) procmap ~ procmap.1 ~ procmap.c > Re-introduce vnode-to-filename mapping > The name cache walking code got adapted to the new name cache layout. > Along with the previous commit, procmap is now able to map a vnode > to a filename as long as it is in the name cache. > "nice stuff" deraadt@ (stefan@) vmd ~ loadfile_elf.c > Copy ELF headers into guest VM memory > This gives ddb access to the symbols of the kernel running inside the VM. > ok mlarkin@ (stefan@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
