OpenBSD src changes summary for 2017-08-26 ==========================================
bin/ksh distrib/notes lib/libm lib/libssl libexec/ld.so regress/lib regress/usr.bin sbin/dhclient sbin/dmesg sbin/fsck_ext2fs sys/arch/amd64/amd64 sys/arch/amd64/include sys/arch/i386/i386 sys/arch/loongson/loongson sys/arch/mips64/include sys/arch/mips64/mips64 sys/arch/octeon/octeon sys/dev/fdt sys/dev/pckbc sys/dev/usb usr.bin/mandoc usr.bin/pkg-config == bin =============================================================== 01/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ksh ~ history.c > Don't lose the latest history line & don't crash when shrinking histsize > ok tb@ (jca@) == distrib =========================================================== 02/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib notes ~ armv7/prep > mention U-Boot file/offset for Marvell ARMADA 38x > ok patrick@ (jsg@) == lib =============================================================== 03/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libm ~ man/erf.3 ~ man/lgamma.3 > For exceptional cases of mathematical formulae that can't reasonably > be represented otherwise, use eqn(7). > Idea originally from bentley@, feedback and OK bentley@, OK tb@, > and no objection from jmc@. (schwarze@) libssl ~ ssl_locl.h ~ ssl_tlsext.c ~ ssl_tlsext.h ~ t1_lib.c > Rewrite ALPN extension using CBB/CBS and the new extension framework. > ok bcook@ beck@ > input + ok jsing@ (doug@) == libexec =========================================================== 04/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ aarch64/Makefile.inc > Remove -fno-stack-protector; works fine without it. > ok deraadt@ (kettenis@) == regress =========================================================== 05/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress lib ~ libssl/tlsext/tlsexttest.c > Rewrite ALPN extension using CBB/CBS and the new extension framework. > ok bcook@ beck@ > input + ok jsing@ (doug@) usr.bin ~ pkg-config/Makefile + pkg-config/pcdir/filter2.pc > Add regression tests for not removing subpaths of /usr/include and > /usr/lib. > ok jasper@ (jsg@) == sbin ============================================================== 06/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ dhclient.c > Make log_debug() more likely to do something by > calling log_setverbose(1) when DEBUG is defined. (krw@) ~ kroute.c > Change currently unused populate_rti_info() with > the get_rtaddrs() everyone is using. Soon to be > used or deleted. (krw@) ~ kroute.c > Remove inadvertantly included param names in > get_rtaddrs() prototype. (krw@) ~ kroute.c > Since we no longer try to uniquely label routes added > by dhclients, there is no need to retry adding a route > if the first attempt fails with EEXIST. And EUNREACHABLE > should be considered final since the address if any is > already configured. > Use log_getverbose() to allow logging of EEXIST errors. (krw@) dmesg ~ dmesg.c > Be more precise in the messages given by err() after calling sysctl() > in dmesg.c. > Based on a diff from xiao_nan (at) dsi (dot) a-star (dot) edu (dot) sg - > thanks. > ok otto@ (tom@) fsck_ext2fs ~ pass1.c ~ setup.c > Do not check the array but its length; based on a netbsd commit by > christos@; > also unsigned values cannot be < 0; ok millert@ (otto@) == sys =============================================================== 07/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ copy.S ~ cpu.c ~ trap.c ~ vector.S TAGGED OPENBSD_6_1 > If SMAP is present, clear PSL_AC on kernel entry and interrupt so that > only the code in copy{in,out}* that need it run with it set. Panic if > it's set on entry to trap() or syscall(). Prompted by Maxime Villard's > NetBSD work. (bluhm@) ~ copy.S ~ cpu.c ~ trap.c ~ vector.S TAGGED OPENBSD_6_0 > If SMAP is present, clear PSL_AC on kernel entry and interrupt so that > only the code in copy{in,out}* that need it run with it set. Panic if > it's set on entry to trap() or syscall(). Prompted by Maxime Villard's > NetBSD work. (bluhm@) arch/amd64/include ~ codepatch.h TAGGED OPENBSD_6_1 > If SMAP is present, clear PSL_AC on kernel entry and interrupt so that > only the code in copy{in,out}* that need it run with it set. Panic if > it's set on entry to trap() or syscall(). Prompted by Maxime Villard's > NetBSD work. (bluhm@) ~ codepatch.h TAGGED OPENBSD_6_0 > If SMAP is present, clear PSL_AC on kernel entry and interrupt so that > only the code in copy{in,out}* that need it run with it set. Panic if > it's set on entry to trap() or syscall(). Prompted by Maxime Villard's > NetBSD work. (bluhm@) arch/i386/i386 ~ locore.s ~ trap.c TAGGED OPENBSD_6_1 > If SMAP is present, clear PSL_AC on kernel entry and interrupt so that > only the code in copy{in,out}* that need it run with it set. Panic if > it's set on entry to trap() or syscall(). Prompted by Maxime Villard's > NetBSD work. (bluhm@) ~ locore.s ~ trap.c TAGGED OPENBSD_6_0 > If SMAP is present, clear PSL_AC on kernel entry and interrupt so that > only the code in copy{in,out}* that need it run with it set. Panic if > it's set on entry to trap() or syscall(). Prompted by Maxime Villard's > NetBSD work. (bluhm@) arch/loongson/loongson ~ machdep.c > Use macros for Config1 bits. (visa@) arch/mips64/include ~ mips_cpu.h > Use macros for Config1 bits. (visa@) arch/mips64/mips64 ~ cache_mips64r2.c > Use macros for Config1 bits. (visa@) ~ db_machdep.c ~ fp_emulate.c ~ trap.c > Use copyin32() instead of a direct memory load when fetching a branch > instruction for branch emulation. This ensures the userspace memory > access is properly guarded and that TLB faults are handled. > In order not to complicate the interface of MipsEmulateBranch(), each > caller now has to provide the branch instruction for the function. > Feedback from miod@ (visa@) arch/octeon/octeon ~ machdep.c > Use macros for Config1 bits. (visa@) dev/fdt ~ rkclock.c > Add supporting for adjusting the CPU core clock frequency on RK3399. > Use this to bump up the clock of the "LITTLE" cluster on the Firefly-RK3399 > to 1.2 GHz to make the board a bit more usable. (kettenis@) ~ rkclock.c > Mark decimal constants as unsigned to avoid gcc warning. (kettenis@) dev/pckbc ~ pms.c > bug fix (bru@) dev/usb ~ usbdevs > Add device ID for Altusmetrum ChaosKey 1.0 > OK jasper@ (abieber@) ~ usbdevs.h ~ usbdevs_data.h > regen (abieber@) == usr.bin =========================================================== 08/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mandoc ~ mandocdb.c > No need to fork and exec rm(1) -rf, we know that we have exactly > one file and exactly one directory to remove. While here, increase > the size of the buffer such that the file name actually fits. > Minus 17 lines of code, no functional change. > Opportunity for simplification reported by George Brown <321 dot > george at gmail dot com> on misc@. (schwarze@) ~ mandocdb.c > Do not fork and exec cmp(1); instead, simply fstat(2), mmap(2), and > compare the files directly, allowing a much stricter pledge(2), at > very little cost: merely 15 additional lines of very simple code. > Suggested by George Brown <321 dot george at gmail dot com> on misc@. > (schwarze@) ~ mandocdb.c > Fix previous: mmap(2) returns MAP_FAILED on failure, not NULL. > Bug pointed out by tedu@. (schwarze@) pkg-config ~ pkg-config > Don't remove subpaths of /usr/include or /usr/lib from the output of > --cflags and --libs. > ok jasper@ (jsg@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
