OpenBSD src changes summary for 2016-03-15 ==========================================
distrib/notes distrib/sets games/hack lib/libc lib/libssl share/man share/zoneinfo sys/arch/amd64/amd64 sys/arch/i386/i386 sys/arch/i386/include sys/arch/macppc/dev sys/arch/sparc/dev sys/arch/sparc64/dev sys/dev/ata sys/dev/ic sys/dev/pci sys/kern sys/sys sys/uvm usr.bin/hexdump usr.bin/mandoc usr.bin/unifdef usr.sbin/tcpdump usr.sbin/zdump usr.sbin/zic == distrib =========================================================== 01/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib notes ~ i386/hardware > 'accomodate' -> 'accommodate' in comments. > Started by diff from Mical Mazurek. (krw@) sets ~ lists/comp/mi > Remove now unused legacy uiomovei() function. > All its callers got reviewed and converted to > use uiomove() properly. > ok deraadt@ (stefan@) == games ============================================================= 02/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games hack ~ hack.pager.c ~ hack.unix.c > execl(3) calls must have the last argument casted to (char *)NULL > At the time when this was commited me and tb@ discussed that it shouldn't > be > changed, but still snucked in within a larger diff that we didn't notice. > OK tb@ (mestre@) == lib =============================================================== 03/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ stdio/fseek.3 > remind people rewind is seldom a good choice > okay jmc@ (espie@) libssl ~ src/crypto/bn/bn_lib.c ~ src/crypto/dso/dso.h ~ src/crypto/sha/sha_locl.h ~ src/crypto/sha/asm/sha1-mips.pl ~ src/crypto/whrlpool/wp_block.c > 'accomodate' -> 'accommodate' in comments. > Started by diff from Mical Mazurek. (krw@) == share ============================================================= 04/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man9/Makefile ~ man9/uiomove.9 > Remove now unused legacy uiomovei() function. > All its callers got reviewed and converted to > use uiomove() properly. > ok deraadt@ (stefan@) ~ man9/uiomove.9 > spelling fix; (jmc@) zoneinfo ~ datfiles/asia ~ datfiles/australasia ~ datfiles/backward ~ datfiles/europe ~ datfiles/iso3166.tab ~ datfiles/leapseconds ~ datfiles/northamerica ~ datfiles/zone.tab ~ datfiles/zone1970.tab > Update to tzdata2016b from ftp.iana.org. (millert@) == sys =============================================================== 05/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ vmm_support.S > 'accomodate' -> 'accommodate' in comments. > Started by diff from Mical Mazurek. (krw@) arch/i386/i386 ~ autoconf.c ~ cpu.c ~ genassym.cf ~ locore.s ~ machdep.c ~ pmap.c > Burn more LDT deadwood: stop allocating one for each idle thread, > load the ldt register with the null selector (disabling use of it), > stop reloading it on every context switch, and blow away the table > itself, as well as the pcb and pmap bits that were used to track > it (making sure to keep pcb_savefpu correctly aligned). > testing naddy@ > ok kettenis@ mpi@ mlarkin@ (guenther@) arch/i386/include ~ cpu.h ~ pcb.h ~ pmap.h ~ segments.h > Burn more LDT deadwood: stop allocating one for each idle thread, > load the ldt register with the null selector (disabling use of it), > stop reloading it on every context switch, and blow away the table > itself, as well as the pcb and pmap bits that were used to track > it (making sure to keep pcb_savefpu correctly aligned). > testing naddy@ > ok kettenis@ mpi@ mlarkin@ (guenther@) arch/macppc/dev ~ pm_direct.c > not compiled before commit (deraadt@) arch/sparc/dev ~ fb.c > 'accomodate' -> 'accommodate' in comments. > Started by diff from Mical Mazurek. (krw@) arch/sparc64/dev ~ fb.c > 'accomodate' -> 'accommodate' in comments. > Started by diff from Mical Mazurek. (krw@) dev/ata ~ atascsi.c > Fix size passed to free(), found the hard way by Nick Permyakov > ok deraadt@ (jca@) dev/ic ~ rtwn.c ~ rtwnvar.h > usbd_is_dying() can't be part of the common rtwn(4) driver code once we > merge code from urtwn(4). So timeouts must move back to the bus-specific > part of the driver. > ok mpi@ (stsp@) ~ aic79xx.c ~ atw.c ~ lm78var.h > 'accomodate' -> 'accommodate' in comments. > Started by diff from Mical Mazurek. (krw@) dev/pci ~ pcidevs > Add Exar 4 port PCIe serial port (puc) (mlarkin@) ~ pcidevs.h ~ pcidevs_data.h > sync (mlarkin@) ~ pcidevs_data.h ~ pcidevs.h > sync (mlarkin@) ~ pcidevs > Typo in part number in previous commit (fix Exar P/N from XR17C354 to > XR17V354) (mlarkin@) ~ pcidevs.h ~ pcidevs_data.h > sync (mlarkin@) ~ pucdata.c > Exar XR17V354 puc(4) device, "high speed quad uart". (mlarkin@) ~ if_rtwn.c > usbd_is_dying() can't be part of the common rtwn(4) driver code once we > merge code from urtwn(4). So timeouts must move back to the bus-specific > part of the driver. > ok mpi@ (stsp@) ~ if_age.c ~ if_alc.c ~ if_ale.c ~ if_jme.c ~ if_vio.c ~ if_vr.c ~ ixgbe.h > Ethernet drivers no longer need to include if_vlan_var.h for the VLAN > definitions; ok mpi@ (naddy@) kern ~ kern_subr.c > Remove now unused legacy uiomovei() function. > All its callers got reviewed and converted to > use uiomove() properly. > ok deraadt@ (stefan@) ~ kern_pledge.c > pledge: wl_paths: corrects a memory leak in error code path and an > evaluation > order ("a += b > c" is the same as "a += (b > c)" which is wrong here) > ok jca@ (semarie@) ~ kern_pledge.c > pledge: wl_paths: resolvpath() logic error > prepend chroot value *after* canonization and not before. (semarie@) sys ~ systm.h > Remove now unused legacy uiomovei() function. > All its callers got reviewed and converted to > use uiomove() properly. > ok deraadt@ (stefan@) uvm ~ uvm_amap.c > For amaps with only a few slots, allocate the slots via pool(9) > This saves some memory compared to using malloc, because there's > no roundup to the next bucket size. And it reduces kmem pressure > at least for some architectures (e.g. amd64). > Testing by sthen@ and tobiasu@, thanks! > ok sthen@ deraadt@ (stefan@) ~ uvm_unix.c > Allocate amap slots for a virtual memory range reserved with sbrk lazily. > This avoids wasting kernel memory if the user process does not make > use of the allocated memory. > Testing by sthen@ and tobiasu@, thanks! > ok deraadt@ (stefan@) ~ uvm_map.c > 'accomodate' -> 'accommodate' in comments. > Started by diff from Mical Mazurek. (krw@) == usr.bin =========================================================== 06/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin hexdump ~ display.c ~ hexdump.h ~ hexsyntax.c ~ odsyntax.c ~ parse.c > o clean up a little whitespace and formatting > o move some declarations out of hexdump.h > o mark some declarations as __dead or static > from Michal Mazurek, with input from and ok tb@ (mmcc@) mandoc ~ mandocdb.c > 'accomodate' -> 'accommodate' in comments. > Started by diff from Mical Mazurek. (krw@) unifdef ~ unifdef.c > Replace two malloc casts that deraadt@ and I removed over the past year > or two. Upstream wants to keep them for C++ support, and it isn't worth > maintaining a larger diff. No binary change. > Upstream commit: > https://github.com/fanf2/unifdef/commit/87dfd91 > I'll send more merging diffs to tech@ soon. (mmcc@) == usr.sbin ========================================================== 07/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin tcpdump ~ print-icmp6.c ~ print-snmp.c > o remove legacy code that defines abs(3) if it isn't available > o inline an ugly and potentially risky macro of the form: > #define x if (a) b; else > o fix a >21 y.o. bug resulting from someone writing: > puts("[nothing to parse], stdout"); > when they meant: > fputs("[nothing to parse]", stdout); > ok canacar@ (mmcc@) zdump ~ zdump.c > Don't warn about valid time zone abbreviations. POSIX through 2000 > says that an abbreviation cannot start with ':', and cannot contain > ',', '-', '+', NUL, or a digit. POSIX from 2001 on changes this > rule to say that an abbreviation can contain only '-', '+', and > alphanumeric characters from the portable character set in the > current locale. To be portable to both sets of rules, an abbreviation > must therefore use only ASCII letters." Adapted from tzcode2015f. > OK deraadt@ mestre@ (millert@) zic ~ zic.c > Don't warn about valid time zone abbreviations. POSIX through 2000 > says that an abbreviation cannot start with ':', and cannot contain > ',', '-', '+', NUL, or a digit. POSIX from 2001 on changes this > rule to say that an abbreviation can contain only '-', '+', and > alphanumeric characters from the portable character set in the > current locale. To be portable to both sets of rules, an abbreviation > must therefore use only ASCII letters." Adapted from tzcode2015f. > OK deraadt@ mestre@ (millert@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
