OpenBSD src changes summary for 2017-04-08 ==========================================
etc/netstart games/hack games/hunt sbin/dhclient share/man sys/arch/arm64/dev sys/arch/i386/i386 sys/arch/octeon/dev sys/conf sys/dev/acpi sys/dev/i2c sys/dev/ic sys/dev/pci sys/dev/usb sys/kern sys/sys usr.sbin/syspatch usr.sbin/vmd == etc =============================================================== 01/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc netstart ~ netstart > - localize the if, file and stat variables which also ensures that > variables are not named like commands. > - change test from [] to [[]] > OK tb@ halex@ (rpe@) == games ============================================================= 02/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games hack ~ hack.end.c > snprintf() format string should be literal > avoid compiler silly warnings > sure deraadt@ (gsoares@) hunt ~ hunt/hunt.c > format string is better be literal > OK deraadt (gsoares@) == sbin ============================================================== 03/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ dhclient.c ~ dhcpd.h ~ options.c > Replace a mess of snprintf() dances with easier to read code using > strlcat(). Shorter, clearer, fewer signed vs unsigned questions. > Shrink static buffer for the string version of an option value from > 32K to 8K. Since the string version of the entire lease is constructed > in a 8K buffer, bigger option values are pointless. > Use 8K of the saved space for a static buffer for pretty_print_string() > and use it rather scribbling intermediate values into the final > destination. > No intentional functional change. (krw@) ~ dhcpd.h ~ options.c > Replace another snprintf() dance with easier to read code using > strlcat(). Shorter, clearer, fewer signed vs unsigned questions. > Use an 8K static buffer for pretty_print_classless() and use it > rather scribbling intermediate values into the final destination. > No intentional functional change. (krw@) ~ clparse.c ~ conflex.c ~ dhclient.c ~ dhcpd.h ~ kroute.c ~ options.c ~ packet.c ~ parse.c > Reduce the overburden of signed vs unsigned comparisons by sprinkling > 'int' -> 'unsigned int' (and visa versa) where obvious. > Steal a couple of 'unsigned' -> u_int32_t from reyk@'s dhcrelay > tweaks. > No intentional functional change. (krw@) == share ============================================================= 04/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man5/port-modules.5 > Document the devel/meson MODULE. (ajacoutot@) == sys =============================================================== 05/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/arm64/dev ~ ampintc.c > Bring over the changes I made to the armv7 version of this driver such that > interrupts are correctly routed to the boot cpu if that isn't the one > connected to CPU interface zero on the interrupt controller. > ok patrick@ (kettenis@) ~ pciecam.c > For legacy interrupt use the tag of the topmost bridge to establish the > interrupt. We already correctly swizzle the pin. > ok patrick@ (kettenis@) arch/i386/i386 ~ trap.c > Remove some #if 0 code that dates back to r1.1 > Pointed out by Michael W. Bombardieri (mlarkin@) arch/octeon/dev ~ cn30xxgmx.c ~ cn30xxgmxreg.h > Make network ports work on Shasta. (visa@) conf ~ GENERIC > re-enable POOL_DEBUG after the release; ok deraadt@ (naddy@) dev/acpi ~ acpi.c ~ acpivar.h ~ dsdt.c > Two prototypes for acpi_maptable; merge to one place (deraadt@) ~ acpi.c > Sensors are run as callbacks inside tasks. During suspend a sensor > could be running inside a driver that will be force-detached, or due > to tsleep end up disrupting the softstate/hardstate contract. At > suspend time, quisce all these callbacks by waiting for completion. > This issue has never been observed for real, but may be implicated in > suspend/resume failures. > ok kettenis guenther mlarkin (deraadt@) dev/i2c ~ ihidev.c > A pile of sizes to free(9). In test for a few days in snapshots. > Errors will result in nice clean panic messages so we know what's wrong. > Reviewed by dhill visa natano jsg. (deraadt@) dev/ic ~ aac.c ~ ami.c ~ i82365.c ~ nvme.c ~ rtw.c > A pile of sizes to free(9). In test for a few days in snapshots. > Errors will result in nice clean panic messages so we know what's wrong. > Reviewed by dhill visa natano jsg. (deraadt@) dev/pci ~ if_nxe.c ~ if_wpi.c ~ if_wpivar.h ~ mfii.c ~ mpii.c > A pile of sizes to free(9). In test for a few days in snapshots. > Errors will result in nice clean panic messages so we know what's wrong. > Reviewed by dhill visa natano jsg. (deraadt@) ~ if_msk.c ~ if_skreg.h > Use ADDR64 opcodes to specify 64bit DMA addresses for all buffers. This > consumes two ring entries per segment, halving the effective size of the > rings, but keeps things simple. This is required for the onboard nic > on the Overdrive 1000 to work. > ok kettenis@, tested on i386 by jsg@ (jmatthew@) dev/usb ~ ehci.c ~ if_athn_usb.c ~ if_athn_usb.h ~ if_kue.c ~ if_kuereg.h ~ if_otus.c ~ if_otusreg.h ~ if_urndis.c ~ if_zyd.c ~ if_zydreg.h ~ uaudio.c ~ ubcmtp.c ~ ubsa.c ~ uchcom.c ~ ucycom.c ~ udl.c ~ udl.h ~ ugen.c ~ uhid.c ~ uhidev.c ~ uhub.c ~ umct.c ~ umidi.c ~ umsm.c ~ uoaklux.c ~ uoakrh.c ~ uoakv.c ~ upd.c ~ uplcom.c ~ usb.c ~ usb_mem.c ~ usb_subr.c ~ usbdi.c ~ usbdivar.h ~ uslhcom.c ~ usps.c ~ uticom.c ~ utrh.c ~ uts.c ~ utwitch.c ~ uvideo.c ~ uvscom.c > A pile of sizes to free(9). In test for a few days in snapshots. > Errors will result in nice clean panic messages so we know what's wrong. > Reviewed by dhill visa natano jsg. (deraadt@) kern ~ kern_sensors.c > Sensors are run as callbacks inside tasks. During suspend a sensor > could be running inside a driver that will be force-detached, or due > to tsleep end up disrupting the softstate/hardstate contract. At > suspend time, quisce all these callbacks by waiting for completion. > This issue has never been observed for real, but may be implicated in > suspend/resume failures. > ok kettenis guenther mlarkin (deraadt@) sys ~ sensors.h > Sensors are run as callbacks inside tasks. During suspend a sensor > could be running inside a driver that will be force-detached, or due > to tsleep end up disrupting the softstate/hardstate contract. At > suspend time, quisce all these callbacks by waiting for completion. > This issue has never been observed for real, but may be implicated in > suspend/resume failures. > ok kettenis guenther mlarkin (deraadt@) == usr.sbin ========================================================== 06/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin syspatch ~ syspatch.8 > use .Em for emphasis, not .Pa (schwarze@) vmd ~ i8253.c ~ i8253.h > implement channels 1 and 2 of the legacy PIT. > ok otto, deraadt (mlarkin@) ~ i8259.c > implement nonspecific EOI mode for the legacy PIC > ok deraadt (mlarkin@) ~ virtio.c > change a log message from "warn" to "debug" level, as the condition it is > reporting is not actually a warning. (mlarkin@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
