OpenBSD src changes summary for 2016-01-13 ==========================================
bin/test games/sail sbin/ifconfig sbin/pdisk share/man share/mk sys/arch/amd64/conf sys/dev/acpi sys/dev/i2c sys/dev/pci sys/dev/pv sys/kern sys/msdosfs sys/net sys/net80211 sys/netinet sys/netinet6 sys/tmpfs usr.bin/less usr.bin/ssh usr.sbin/dhcrelay usr.sbin/vmctl usr.sbin/vmd == bin =============================================================== 01/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin test ~ test.c > fix exit status on pledge fail, eval here should be 2. > OK tb@ (gsoares@) == games ============================================================= 02/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games sail ~ lo_main.c > there's a resource leak here. missing a fclose(3) to kill the stream. > OK deraadt@ mestre@ (gsoares@) == sbin ============================================================== 03/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin ifconfig ~ ifconfig.8 ~ ifconfig.c > Make 'ifconfig $if mode' a valid subcommand that works independently of > the 'media' subcommand. Allow clearing the mode with 'ifconfig $if -mode'. > This makes commands such as 'ifconfig iwn0 mode 11a' work without having > to type all of 'ifconfig iwn0 media autoselect mode 11a'. > ok sthen@ deraadt@ jmc@ (stsp@) pdisk ~ file_media.c > Nuke unused enum. (krw@) ~ pdisk.c > Remove obsolete flags (h, v, i, c) from getopt() call. > No need for 'flags' variable. Just call usage() on unknown options. (krw@) == share ============================================================= 04/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/xnf.4 > Drop implementation notes section (mikeb@) mk ~ bsd.README > fix remaining sudo reference (s,sudo,doas,) > OK deraadt@ millert@ tb@ sthen@ (gsoares@) == sys =============================================================== 05/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/conf ~ GENERIC > Enable Xen support in GENERIC; discussed with deraadt@ (mikeb@) dev/acpi ~ dsdt.h > Add data structures and defines for Generic and I2C Serial Bus Connection > descriptors. > ok jcs@ (kettenis@) ~ dwiic.c > Don't confuse the HID descriptor address (which really is an office into > the > register space of the i2c device) with the i2c address. For i2c busses > enumerated by ACPI we get the address from the I2C Serial Bus Connection > Resource Descriptor returned by the _CRS methide of the i2c device. Pass > the > HID descriptor address in the ia_size member. > ok jcs@ (kettenis@) ~ dsdt.c ~ dsdt.h > Change aml_find_node() such that it only walks down the tree and doesn't > traverse sideways. This seems to be what all callersexpect it to do, and > fixes a bug in dwiic(4) where it would try to access i2c devices on busses > they're not attached to. > If there is any fallout from this change, the right thing to do is probably > to make sure callers pass the right node. > While there, change the return type to void, as the return value was > useless > and none of the callers looked at it. > ok mlarkin@ (kettenis@) dev/i2c ~ ihidev.c ~ ihidev.h > Don't confuse the HID descriptor address (which really is an office into > the > register space of the i2c device) with the i2c address. For i2c busses > enumerated by ACPI we get the address from the I2C Serial Bus Connection > Resource Descriptor returned by the _CRS methide of the i2c device. Pass > the > HID descriptor address in the ia_size member. > ok jcs@ (kettenis@) ~ ihidev.c > fix hid packet length calculation > noticed by jsg (jcs@) dev/pci ~ if_iwn.c > Fix iwn(4) firmware SYSASSERT during hardware initialization. > For some reason we would end up passing channel number zero to > the RXON firmware command, which the firmware doesn't like. > ok sthen@ reyk@ > and also tested by stefan@, deraadt@, mikeb@ (stsp@) ~ if_iwn.c > Tell the iwn(4) firmware to retry failed Tx at 1Mbit/s instead of MCS 0. > Seems to make Tx rate scaling go up faster and helps Rx performance. > ok deraadt@ (stsp@) ~ if_iwn.c > Revert most of if_iwm.c r1.155. Use of channel zero was a symptom of > another bug introduced in my turbo mode removal commit; Now fixed. > Keep the debug printf added in r1.155. (stsp@) dev/pv ~ if_xnf.c ~ xen.c > Create rx and tx fragment maps with a page size boundary restriction > We need to ensure that rx and tx fragments do not cross page boundary > since grant table reference can only point to a complete page. Add a > couple of kernel assertions in the dma map loading code to catch these > problems early in the future. (mikeb@) ~ xen.c > spacing typos (mikeb@) ~ if_xnf.c > Implement transmit watchdog for testing purposes (mikeb@) ~ if_xnf.c > Bump number of tx fragments to the stock value of 18 (mikeb@) kern ~ subr_log.c > Convert to uiomove(); from Martin Natano, thanks! > ok deraadt@ (stefan@) ~ uipc_socket.c > To make bug hunting easier, print more information in the soreceive() > and somove() panic messages. > OK phessler@ benno@ deraadt@ mpi@ (bluhm@) msdosfs ~ denode.h ~ msdosfs_vnops.c > Implement VFS read clustering for MSDOSFS. > The logic used in msdosfs_bmap() to loop calling pcbmap() comes from > FreeBSD and is not really efficient but it is good enough since it is > only called when generating I/O. > With this diff I get a 100% improvement when reading big files from a > crappy USB stick. > With this and bread_cluster(9) modified to not re-fetch B_CACHED buffers, > reading large contiguous files with chunk sizes of MAXPHYS is almost as > fast as physio(9) on the same device. > For a 'real world' example, when copying music files from a USB stick I > see a speed jump from 15MB/s on -current to 24Mb/s with this diff. > While here rename some 'lbn' variables into 'cn' to better reflect what > we're dealing with. > Tested by Mathieu, with support from deraadt@ (mpi@) net ~ if_vlan.c > dont propagate any of the parent interfaces offload features on svlan > this avoids confusion about checksum offload if you configure ips > on svlan interfaces on top of interfaces that do offload, like bge > or em. > the problem was reported by and this fix was tested by denis fondras > analyzed by naddy@ > thanks guys (dlg@) net80211 ~ ieee80211.c > Fix fallout from turbo mode removal commit: Channel initialization > was broken and lots of drivers ran into trouble as a result. > ok deraadt@ (stsp@) netinet ~ ip_output.c > Prevent a double if_put(). > ok mikeb@, bluhm@ (mpi@) netinet6 ~ ip6_output.c > Prevent a double if_put(). > ok mikeb@, bluhm@ (mpi@) tmpfs ~ tmpfs_vfsops.c > kill malloc(9) pointless check, malloc(9) call is using M_WAITOK flag and > thus will sleep until > get memory available so shouln't fail. > OK deraadt@ mmcc@ (gsoares@) == usr.bin =========================================================== 06/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin less ~ less.h ~ line.c ~ output.c ~ prompt.c > unify two identical function pairs now that we've removed less's off_t > aliases > ok nicm@ (mmcc@) ssh ~ clientloop.c ~ clientloop.h ~ mux.c ~ ssh.c > eliminate fallback from untrusted X11 forwarding to trusted > forwarding when the X server disables the SECURITY extension; > Reported by Thomas Hoger; ok deraadt@ (djm@) == usr.sbin ========================================================== 07/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin dhcrelay ~ packet.c > "Check UDP length for short as well as long values" - apply the fix from > usr.sbin/dhcpd/packet.c r1.4 to dhcrelay. ok deraadt@ (sthen@) vmctl ~ vmctl.c > Update the comments in vmctl.c that are describing function arguments. > (reyk@) vmd ~ vmm.c > Update the comment that is decribing terminate_vm()'s arguments, > sort the description of arguments for init_emulated_hw(). > Pointed out my mlarkin (reyk@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
