OpenBSD src changes summary for 2016-08-03 ==========================================
sbin/ifconfig sbin/pfctl share/man sys/arch/amd64/amd64 sys/arch/amd64/conf sys/arch/amd64/isa sys/arch/arm/arm sys/dev/acpi sys/dev/pv sys/dev/usb usr.bin/infocmp usr.bin/openssl usr.bin/ssh usr.bin/tmux usr.sbin/map-mbone usr.sbin/mtrace == sbin ============================================================== 01/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin ifconfig ~ ifconfig.c > Fix typo, spotted by Holger Mikolon <[email protected]> (vgross@) pfctl ~ pfctl_optimize.c > A couple of "a->blah == a->blah" -> "a->blah == b->blah". > Spotted by the Echelon team with AppChecker static analyzer. > ok sashan@ (krw@) == share ============================================================= 02/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/Makefile ~ man4/acpi.4 + man4/tpm.4 > add a man page for tpm(4) (jcs@) ~ man4/acpi.4 > reference dwiic here too (jcs@) ~ man4/acpi.4 > move acpimcfg to keep list sorted (jcs@) == sys =============================================================== 03/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ nvram.c > don't complain about invalid checksum if the bios isn't writing it > properly, the user isn't going to do anything about it (jcs@) arch/amd64/conf ~ GENERIC > add a minimal TPM 1.2 driver just to issue a "save state" command > before suspending, in order to fix suspend/resume on some newer > machines. > more cleanup and TPM 2.0 support coming later. > earlier version ok pirofti > ok deraadt (jcs@) arch/amd64/isa ~ clock.c > not having a century is a known layout by now (jcs@) arch/arm/arm ~ cpufunc.c ~ cpufunc_asm_armv7.S > The ARMv7 architecture deprecates the separate Instruction and Data TLB > maintanenance instruction and recommends to only use the instructions that > operate on the unified TLB. Those instructions will flush both TLBs on > implementations that still have separate Instruction and Data TLBs. Switch > the TLB maintenance primitives over to use those. This allows us to reduce > the number of primitives on armv7. We still keep separate "ID" and "D" > variants as we still have to flush the branch predictor when changing the > mappings of pages that contain instructions. > ok jsg@ (kettenis@) ~ pmap7.c > Simplify the way we handle TLB flushes. Since ARMv7 effectively has a > unified TLB there is not much point in optimizing TLB flushing for pages > that have never been executable. The only difference is a flush of the > branch predictor and even that isn't necessary anymore on all but the > oldest > Cortex cores. > ok patrick@ (kettenis@) dev/acpi ~ files.acpi + tpm.c > add a minimal TPM 1.2 driver just to issue a "save state" command > before suspending, in order to fix suspend/resume on some newer > machines. > more cleanup and TPM 2.0 support coming later. > earlier version ok pirofti > ok deraadt (jcs@) dev/pv ~ xen.c ~ xenreg.h ~ xenvar.h > Use an atomic operation to clear pending event bits > Pending event bits are located in a shared memory and are potentially > accessed by multiple CPUs running dom0 and the guest VM. It appears > that a failure to synchronize changes to this shared memory leads to > race conditions resulting in the guest missing out on notifications. > (mikeb@) ~ if_xnf.c > Remove the periodic timer and do rescheduling during Rx completion > This change adds a check into the Rx ring completion routine that > schedules an interrupt task to be executed immediately after if > consumer index has already advanced itself. The benefit of doing > this compared to an additional loop after replenishing the ring > (as done in FreeBSD for example) is that first of all this goes > through the loop in the taskqueue thread with a yeild check to > prevent CPU hogging and second is that it triggers Tx completion > as well since interrupt handler runs both. (mikeb@) ~ xen.c ~ xenvar.h > Use atomic operations to manipulate event masking bits (mikeb@) dev/usb ~ umass.c ~ umass_scsi.c ~ umass_scsi.h > Fold umass_atapi_attach() and umass_scsi_setup() into umass_scsi_attach() > to > shorten and simplify code. > No intentional functional change. (krw@) == usr.bin =========================================================== 04/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin infocmp ~ infocmp.c > strnames[i][0] == 'k' && strnames[i][0] == 'f' should be > strnames[i][0] == 'k' && strnames[i][1] == 'f'. > Spotted by the Echelon team with AppChecker static analyzer. > millert@ naddy@ and ncurses 6.0 all agree. (krw@) openssl ~ openssl.1 > shorten the openssl dhparam text; > guenther helped rewrite the -dsaparam parts. (jmc@) ssh ~ sshd.c > Fix bug introduced in rev 1.467 which causes "buffer_get_bignum_ret: > incomplete message" errors when built with WITH_SSH1 and run such that no > Protocol 1 ephemeral host key is generated (eg "Protocol 2", no SSH1 host > key supplied). Reported by rainer.laatsch at t-online.de, ok deraadt@ > (dtucker@) ~ cipher-chachapoly.c ~ cipher.c ~ cipher.h ~ packet.c ~ sshkey.c > small refactor of cipher.c: make ciphercontext opaque to callers > feedback and ok markus@ (djm@) tmux ~ layout-custom.c ~ layout-set.c ~ layout.c ~ tmux.h > Fix minimum size when pane status line is enabled, reported by Y Petremann. > (nicm@) ~ tmux.1 > We only replace the first %%, not multiple (use %2 for second). (nicm@) == usr.sbin ========================================================== 05/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin map-mbone ~ mapper.c > Apply fix from mrouted 3.8 via NetBSD. Our mbone support may > be slightly dated. > Spotted by the Echelon team with AppChecker static analyzer. (krw@) mtrace ~ mtrace.c > Apply fix from David Binderman via NetBSD. "Use all 3 of b, p, n > to determine if route changed". > Spotted by the Echelon team with AppChecker static analyzer. > NetBSD fix pointed out by millert@ (krw@) ~ mtrace.c > Apply a warning fix from lukem@NetBSD circa 1997 (more '()'), and > one from he@NetBSD circa 1998 (more '{}'). > Makes gcc happier. (krw@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
