OpenBSD src changes summary for 2016-01-22 ==========================================
regress/usr.sbin sbin/pdisk sys/arch/octeon/dev sys/dev/acpi sys/dev/ic sys/dev/pv sys/dev/usb sys/miscfs/fuse sys/net sys/netinet usr.bin/calendar usr.sbin/smtpd == regress =========================================================== 01/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress usr.sbin ~ pkg_add/Makefile ~ pkg_add/list7.out > Replace a (broken) test for @option explicit-update (the code has been > removed 2 years ago) by a (working) test for @ask-update (landry@) == sbin ============================================================== 02/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin pdisk ~ dump.c ~ dump.h ~ partition_map.c ~ pdisk.8 ~ pdisk.c > Nuke 'expert' mode and the enabling, undocumented, '-d' flag by > just making all the commands available all the time. Document the > newly available commands. > Remove the former 'P' command (list partitions in base address > order) and use 'P' from expert mode (show map data structures). > Stop accepting uppercase aliases for commands documented as lower > case. > Bring the 'h' help text and man pages into agreement. > ok jasper@ millert@ (krw@) ~ dump.c ~ partition_map.c ~ partition_map.h ~ pdisk.c > In the "why use two variables when one would do" category, eliminate > the 'written' field and just use the 'changed' field to mediate > when it is appropriate to ask whether changes should be discarded. (krw@) ~ partition_map.c ~ partition_map.h ~ pdisk.c > Repair creation of initial partition table on a blank disk, broken > when hoisting file operations and ioctl to main(). Pass media size > to open_partition_map() and create_partition_map() so they can > properly initialize a map. (krw@) ~ pdisk.8 > escape punctuation to have it mark up properly; (jmc@) ~ file_media.c ~ file_media.h ~ partition_map.c ~ validate.c > Merge read_block() and read_file_media() into read_block(). Ditto > write_block() and write_file_media(). One layer of read/write > wrappers for pread/pwrite should be enough for anyone. (krw@) ~ partition_map.c > Lost a fix for one invocation of write_block() in diff juggling. It > takes an off_t offset, not a disk address, for now. (krw@) ~ dpme.h > Whitespace fixes. (krw@) ~ partition_map.h > Whitespace fixes. (krw@) ~ dump.c ~ partition_map.c ~ partition_map.h ~ validate.c > Rename map field 'misc' to 'block0' since that's what it is. (krw@) ~ convert.c > Whitespace fixes. (krw@) ~ convert.c > Change parameter name 'data' to 'block0'. (krw@) ~ convert.c > Of course if you change the parameter name you need to change the uses of > said parameter to the new name. (krw@) ~ convert.c ~ dump.c ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c > Change partition map field 'data' to 'dmpe'. Change 'create_data' > to 'create_dmpe'. Sweep up some 'struct dpme *data' to struct dpme > *dpme'. (krw@) == sys =============================================================== 03/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/octeon/dev ~ cn30xxipd.c > Add back the initialisation of a cn30xxipd_offload() variable removed > in rev 1.6 so SET doesn't or bits into uninitialised memory. > ok visa@ (jsg@) dev/acpi ~ dwiic.c > Zero the local structs holding crs information before parsing _CRS. > This avoids reading uninitialised memory when expected value types are > not present, as is currently the case with gpio signalled interrupts, > and could also be the case with buggy aml. > Without this change under certain conditions on the ideapad 100s > (such as a ramdisk kernel or generic kernel compiled with -O0) > ihidev would incorrectly attach to a bogus ioapic interrupt. > ok kettenis@ (jsg@) dev/ic ~ twe.c > remove a surplus splbio > ok deraadt@ krw@ (jsg@) dev/pv ~ xen.c ~ xenstore.c > Convert membar_* calls into virtio_membar_sync where it matters > membar_* functions are defined only as compiler barriers on !MP > kernels, while we're trying to be conservative in our use of the > barriers. Barriers are placed only where loads and stores might > get reordered and it matters at the same time. Shared info page > operations are using atomic instructions on Linux, so they get > barriers as well. (mikeb@) ~ xen.c > To facilitate reading make sure to use a GTF_invalid flag by name (mikeb@) ~ if_xnf.c > Set minimum number of slots on the receive ring to 18 > After some experimentation, discussions with Xen folks and pondering Linux > source code, it became clear that most versions of Xen require at least 18 > slots available on the receive ring to send an event. (mikeb@) ~ if_xnf.c > Setup interface features based on capabilities provided by the backend > Instead of just setting bits that we think we need, do a better job of > figuring out what's supported by the backend and what's not and what do > we really need. The following improvements were implemented: > o fallback for when scatter gather I/O is not supported by Dom0; > o tcp/udp checksum offloading; > o larger mtu up to 9000: an experimental feature; > o stop requesting multicast control feature that we don't support. > (mikeb@) dev/usb ~ usb.c > If usb_fill_udf_task() failed to fill the struct, udf_data still > contained the pointer it received from user land. usbioctl() has > to reset it, otherwise user supplied data is passed to free(). > OK mpi@ (bluhm@) miscfs/fuse ~ fuse_device.c ~ fuse_vnops.c > Straightforward uiomovei -> uiomove conversion. All size arguments for > uiomove had unsigned types already. > Diff from Martin Natano. (stefan@) net ~ if_etherip.c > Support tunnel VRF on etherip(4) > ok dlg@ yasuoka@ (goda@) ~ if_vxlan.c > Drop packets whose VNI flag is not set and VNI is not zero > ok reyk@ yasuoka@ (goda@) ~ if_ethersubr.c > Always check destination MAC address of received unicast packets, not > only when in promiscuous mode > This necessary for NICs like virtio, where the unicast MAC filter is > 'best effort' only. > ok dlg@ > encouragement from mpi@ (sf@) netinet ~ tcp_input.c > fix a missing if_put() in the default af path of tcp_mss() > ok mpi@ (jsg@) ~ ip_ipip.c > add a missing if_put() to ipip_input() > ok mpi@ (jsg@) == usr.bin =========================================================== 04/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin calendar ~ calendars/calendar.nz > - new plymouth day is better known as taranaki > - correct a duplicate south canterbury entry > first correction from peter kane > second, and diff, from craig skinner (jmc@) == usr.sbin ========================================================== 05/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin smtpd ~ table_static.c > add a log_warn() so that when smtpd fails to start due to a problem reading > the configuration file of a table, user actually understands what happens > diff by Alexis Vachette, ok jung@ (gilles@) ~ lka.c > in lka process, revoke proc/exec pledges after privsep-ed table backends > are forked at startup > i thought i had committed this already, diff has been okayed several weeks > ago... > ok jung@, ok millert@, ok sunil@ (gilles@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
