OpenBSD src changes summary for 2017-10-28 ==========================================
include/pthread.h lib/libc lib/librthread sys/arch/amd64/amd64 sys/arch/amd64/conf sys/dev/i2c sys/dev/pckbc usr.bin/ctfconv usr.bin/ctfdump usr.bin/netstat usr.sbin/sysmerge == include =========================================================== 01/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/include pthread.h ~ pthread.h > Change pthread_cleanup_{push,pop} to macros that store the cleanup info > on the stack instead of mallocing the list and move the APIs from > libpthread > to libc so that they can be used inside libc. > Note: the standard was explicitly written to permit/support this > "macro with unmatched brace" style and it's what basically everyone > else already does. We xor the info with random cookies with a > random magic to detect/trip-up overwrites. > Major bump to both libc and libpthread due to the API move. > ok mpi@ (guenther@) == lib =============================================================== 02/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ sys/stat.2 > consistently use .Vt for variable types and use ".Fa path" where > appropriate; > one of the bugs reported by <ilya dot kaliman at gmail dot com> via jmc@ > (schwarze@) ~ gen/sysctl.3 > No need to include <sys/param.h> before <sys/sysctl.h>. > ok deraadt@, jca@ (mpi@) ~ arch/arm/Symbols.list > Stop exporting some symbols internal to the softfloat implementation, > unneeded linker-generated symbols and libgcc symbols that are accidentally > re-exported. > Riding the upcoming libc major bump. > ok guenther@ (kettenis@) ~ Symbols.list ~ shlib_version ~ hidden/pthread.h ~ include/thread_private.h ~ thread/Makefile.inc ~ thread/rthread.c + thread/rthread_cleanup.c > Change pthread_cleanup_{push,pop} to macros that store the cleanup info > on the stack instead of mallocing the list and move the APIs from > libpthread > to libc so that they can be used inside libc. > Note: the standard was explicitly written to permit/support this > "macro with unmatched brace" style and it's what basically everyone > else already does. We xor the info with random cookies with a > random magic to detect/trip-up overwrites. > Major bump to both libc and libpthread due to the API move. > ok mpi@ (guenther@) ~ thread/rthread_once.c > If the init_routine used with pthread_once() is canceled, then we need to > unlock the mutex inside the pthread_once_t. Push a cleanup wrapper for > that. > Diff from Scott Cheloha <[email protected]> > ok mpi@ (guenther@) ~ Symbols.list > Eliminate some more linker generated symbols that aren't needed. > ok kettenis@ (guenther@) ~ arch/aarch64/Symbols.list ~ arch/aarch64/sys/brk.S > Typo: 'end' should have been '_end', which is already exported/imported. > Also, '_memcpy' and '_stack' were specific to arm and should not have been > copied here (guenther@) - arch/sparc64/gen/saveregs.S ~ arch/sparc64/Symbols.list ~ arch/sparc64/gen/Makefile.inc > Remove __builtin_saveregs: gcc hasn't used it for years. > suggested by miod@ > ok kettenis@ (guenther@) librthread ~ Symbols.map ~ pthread.h ~ rthread.c ~ shlib_version > Change pthread_cleanup_{push,pop} to macros that store the cleanup info > on the stack instead of mallocing the list and move the APIs from > libpthread > to libc so that they can be used inside libc. > Note: the standard was explicitly written to permit/support this > "macro with unmatched brace" style and it's what basically everyone > else already does. We xor the info with random cookies with a > random magic to detect/trip-up overwrites. > Major bump to both libc and libpthread due to the API move. > ok mpi@ (guenther@) == sys =============================================================== 03/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ efifb.c > Attach efifb(4) when the system is booted with serial console. Also > make it usable as a wsdisplay0. (yasuoka@) ~ efifb.c > Rename function name and order. No fuctional change. (yasuoka@) arch/amd64/conf ~ GENERIC > Attach efifb(4) when the system is booted with serial console. Also > make it usable as a wsdisplay0. (yasuoka@) dev/i2c ~ iatp.c > Add the compat-mode setup for wsmouse. (bru@) dev/pckbc ~ pms.c > Adapt the Elantech handlers (v1-3) to the new wsmouse infrastructure. > The new versions use wsmouse_configure, and leave compat-mode handling > to wsmouse. > ok stsp (bru@) == usr.bin =========================================================== 04/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin ctfconv ~ parse.c > Define nitems() locally and stop including <sys/param.h> (mpi@) ~ parse.c > Document the use of a rbtree for resolving types inside a single CU. > No functional changes. (mpi@) ctfdump ~ ctfdump.c > Print values as unsigned when dumping header. (mpi@) ~ ctfdump.c > Correct an integer overflow check to detect invalid CTF section. > Found by jsg@ with afl(1). (mpi@) ~ ctfdump.c > Correctly handle binaries without string table. > Found by jsg@ with afl(1). (mpi@) netstat ~ mbuf.c > Bring "netstat -m" output up to speed with the kernel > The kernel no longer sets watermarks on cluster pools rendering > "max" values useless. Instead, there's now a global limit on how > much memory all cluster pools combined together can allocate from > the system. The limit is set to kern.maxclusters number of 2Kb > increments which allows us to display current, peak and maximum > total memory used by the network. > OK claudio, millert (mikeb@) == usr.sbin ========================================================== 05/05 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin sysmerge ~ sysmerge.sh > Prefer useradd(1) over chpass(1) so that new users are added before the YP > '+' > token. > req. by Miod (ajacoutot@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
