OpenBSD src changes summary for 2016-05-22 ==========================================
distrib/armv7 distrib/miniroot distrib/sets etc/rc lib/libc lib/libedit lib/libkvm libexec/ld.so regress/lib regress/sys sys/dev/hid sys/dev/pckbc sys/isofs/cd9660 sys/isofs/udf sys/msdosfs sys/ntfs sys/ufs/ext2fs sys/ufs/ffs sys/uvm usr.bin/kdump usr.sbin/httpd usr.sbin/smtpd == distrib =========================================================== 01/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib armv7 ~ miniroot/Makefile.inc + miniroot/boot.cmd > use a simple u-boot script for all the miniroots that loads with fdt > ok patrick@ kettenis@ (jsg@) ~ miniroot/am335x/Makefile ~ miniroot/beagle/Makefile ~ miniroot/cubie/Makefile ~ miniroot/cubox/Makefile ~ miniroot/nitrogen/Makefile ~ miniroot/panda/Makefile ~ miniroot/wandboard/Makefile > Remove LOADADDR definitions, the default ${loadaddr} set by u-boot is > now used. (jsg@) ~ ramdisk/install.md > use a common simple u-boot script that loads with fdt (jsg@) ~ ramdisk/install.md > force long filenames on the initial fat16 mount here as well > dtb filenames are longer than 8.3 (jsg@) miniroot ~ install.sub > Rename variable $action (which is actually global) to AI_MODE. > While there, (re)set AI_MODE and AI_SERVER at the start of the > installer script. > OK krw@ (rpe@) sets ~ lists/man/mi > sync (deraadt@) == etc =============================================================== 02/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc rc ~ rc > Use the -F flag of install(1) to ensure the file's content is flushed to > disk. > OK deraadt (rpe@) == lib =============================================================== 03/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc - arch/powerpc/sys/cerror.S > Oh right, actually delete this now that __cerror is unused (guenther@) ~ arch/powerpc/gen/setjmp.S ~ arch/powerpc/gen/sigsetjmp.S > Add XOR cookies for r1 (stack) and lr. Switch from calling obsolete > sig{block,setmask} to directly using the sigprocmask syscall. Rewrite > sig{set,long}jmp based on {set,long}jmp to avoid the deprecated > store/load-multiple instructions. > in snaps; ok deraadt@ (guenther@) libedit ~ editline.3 ~ editrc.5 > Document el_wpush(3) and fix the description of el_push(3). > Improve precision in the description of the "bind" builtin command. > Tweak terminology to better match editline(7). (schwarze@) ~ chared.c ~ chared.h ~ common.c ~ el.c ~ read.c ~ read.h > Improve modularization at the chared/read boundary, no functional change. > Stop the read.c module from poking the el_chared.c_macro data > structure that used to belong to the chared.c module. Given that > no other module, not even chared itself, is using that data, move it > into the read modules's own opaque data structure, struct el_read_t. > That gets rid of one struct, one #define, one struct member, and one > function argument in the chared.h interface. > OK czarkoff@ (schwarze@) libkvm ~ kvm_proc.c > Make amaps use less kernel memory > 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@) ~ kvm_proc.c > Revert previous: breaks i386 and powerpc, probably all non-PMAP_DIRECT > archs (guenther@) == libexec =========================================================== 04/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ i386/rtld_machine.c > Ignore the listed protection (which may contain X) when making page > writeable temporary. > As pointed out by kettenis, discussed with guenther (deraadt@) == regress =========================================================== 05/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress lib ~ libedit/read/glue.c ~ libedit/read/test_getcmd.c > cope with simplified chared/read interface (schwarze@) sys ~ net/pf_forward/ping6_mtu.py ~ net/pf_forward/ping_mtu.py ~ net/pf_fragment/frag.py ~ net/pf_fragment/frag6.py ~ net/pf_fragment/frag6_cutnew.py ~ net/pf_fragment/frag6_cutold.py ~ net/pf_fragment/frag6_dropnew.py ~ net/pf_fragment/frag6_dropold.py ~ net/pf_fragment/frag6_ext.py ~ net/pf_fragment/frag_cutnew.py ~ net/pf_fragment/frag_cutold.py ~ net/pf_fragment/frag_dropnew.py ~ net/pf_fragment/frag_dropold.py ~ net/pf_fragment/ping6_cksum.py ~ net/pf_fragment/ping6_mtu_1300.py ~ net/pf_fragment/ping_cksum.py ~ net/pf_fragment/ping_mtu_1300.py ~ net/pf_fragment/udp6_cksum.py ~ net/pf_fragment/udp_cksum.py ~ netinet6/frag6/frag6.py ~ netinet6/frag6/frag6_ext.py ~ netinet6/frag6/frag6_opt.py ~ netinet6/frag6/frag6_overatomic.py ~ netinet6/frag6/frag6_overdrop.py ~ netinet6/frag6/frag6_overhead.py ~ netinet6/frag6/frag6_overhead0.py ~ netinet6/frag6/frag6_overtail.py ~ netinet6/frag6/frag6_padding.py ~ netinet6/frag6/frag6_permute.py ~ netinet6/frag6/frag6_refrag.py ~ netinet6/frag6/frag6_shortatomic.py ~ netinet6/frag6/frag6_timeout.py ~ netinet6/frag6/frag6_udpatomic.py ~ netinet6/frag6/frag6_udpheader.py ~ netinet6/frag6/frag6_udppayload.py ~ netinet6/frag6/frag6_zerofirst.py ~ netinet6/frag6/frag6_zerosecond.py ~ netinet6/rh0/rh0_empty.py ~ netinet6/rh0/rh0_final.py ~ netinet6/rh0/rh0_frag2.py ~ netinet6/rh0/rh0_frag_empty.py ~ netinet6/rh0/rh0_frag_final.py ~ netinet6/rh0/rh0_frag_route.py ~ netinet6/rh0/rh0_none.py ~ netinet6/rh0/rh0_route.py > Fix tests: Restrict getpid() to lower 16 bit so that it can still > be used as packet id. Now scapy calls nexthopmtu with this name > explicitly in icmp structure. (bluhm@) == sys =============================================================== 06/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys dev/hid ~ hidms.c > Use the new input functions of wsmouse in mouse and touchscreen drivers. > ok kettenis@ (bru@) dev/pckbc ~ pms.c > Use the new input functions of wsmouse in mouse and touchscreen drivers. > ok kettenis@ (bru@) isofs/cd9660 ~ cd9660_vfsops.c > When pulling an msdos formated umass stick during mount while the > usb stack was busy, the kernel could trigger an uvm fault. There > is a race between vop_generic_revoke() and sys_mount() where vgonel() > could reset v_specinfo. Then v_specmountpoint is no longer valid. > So after sleeping, msdosfs_mountfs() could crash in the error path. > The code in the different *_mountfs() functions was inconsistent, > implement the same check everywhere. > OK krw@ natano@ (bluhm@) isofs/udf ~ udf_vfsops.c > When pulling an msdos formated umass stick during mount while the > usb stack was busy, the kernel could trigger an uvm fault. There > is a race between vop_generic_revoke() and sys_mount() where vgonel() > could reset v_specinfo. Then v_specmountpoint is no longer valid. > So after sleeping, msdosfs_mountfs() could crash in the error path. > The code in the different *_mountfs() functions was inconsistent, > implement the same check everywhere. > OK krw@ natano@ (bluhm@) msdosfs ~ msdosfs_vfsops.c > When pulling an msdos formated umass stick during mount while the > usb stack was busy, the kernel could trigger an uvm fault. There > is a race between vop_generic_revoke() and sys_mount() where vgonel() > could reset v_specinfo. Then v_specmountpoint is no longer valid. > So after sleeping, msdosfs_mountfs() could crash in the error path. > The code in the different *_mountfs() functions was inconsistent, > implement the same check everywhere. > OK krw@ natano@ (bluhm@) ntfs ~ ntfs_vfsops.c > When pulling an msdos formated umass stick during mount while the > usb stack was busy, the kernel could trigger an uvm fault. There > is a race between vop_generic_revoke() and sys_mount() where vgonel() > could reset v_specinfo. Then v_specmountpoint is no longer valid. > So after sleeping, msdosfs_mountfs() could crash in the error path. > The code in the different *_mountfs() functions was inconsistent, > implement the same check everywhere. > OK krw@ natano@ (bluhm@) ufs/ext2fs ~ ext2fs_vfsops.c > When pulling an msdos formated umass stick during mount while the > usb stack was busy, the kernel could trigger an uvm fault. There > is a race between vop_generic_revoke() and sys_mount() where vgonel() > could reset v_specinfo. Then v_specmountpoint is no longer valid. > So after sleeping, msdosfs_mountfs() could crash in the error path. > The code in the different *_mountfs() functions was inconsistent, > implement the same check everywhere. > OK krw@ natano@ (bluhm@) ufs/ffs ~ ffs_vfsops.c > When pulling an msdos formated umass stick during mount while the > usb stack was busy, the kernel could trigger an uvm fault. There > is a race between vop_generic_revoke() and sys_mount() where vgonel() > could reset v_specinfo. Then v_specmountpoint is no longer valid. > So after sleeping, msdosfs_mountfs() could crash in the error path. > The code in the different *_mountfs() functions was inconsistent, > implement the same check everywhere. > OK krw@ natano@ (bluhm@) uvm ~ uvm_amap.c ~ uvm_amap.h > Make amaps use less kernel memory > 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@) ~ uvm_amap.c ~ uvm_amap.h > Revert previous: breaks i386 and powerpc, probably all non-PMAP_DIRECT > archs (guenther@) == usr.bin =========================================================== 07/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin kdump ~ ktrstruct.c > On hppa, function pointer comparison can require dereferencing them. > kdump can't do that for a sigaction sa_handler pointer from the trace, > so cast to void* to suppress it. > ok deraadt@ (guenther@) == usr.sbin ========================================================== 08/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin httpd ~ httpd.c > fix unbalanced va_start and va_end macros > from Hiltjo Posthuma > "do." deraadt (jung@) ~ server_http.c > makes sure the value of the asprintf buffer is zeroed on error > from Hiltjo Posthuma > "do." deraadt (jung@) smtpd ~ to.c > use temporary variables to store some struct tm values, no functional > change but reduces the changeset with portable version (gilles@) ~ mda.c ~ mta.c ~ mta_session.c ~ smtp_session.c > start work on improving the log format, this is work in progress but it'll > be better worked in tree > ok eric@, beck@ (gilles@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
