OpenBSD src changes summary for 2017-08-01 ==========================================
bin/ksh distrib/sets distrib/special gnu gnu/usr.bin/perl lib/libc lib/libcrypto lib/libevent lib/librthread lib/libssl lib/libtls regress/libexec sbin/ifconfig sbin/wsconsctl share/man sys/arch/octeon/conf sys/arch/octeon/dev sys/dev sys/dev/fdt sys/dev/pci sys/dev/usb sys/dev/wscons sys/kern sys/net sys/net80211 sys/netinet usr.bin/ftp usr.bin/sed usr.bin/units usr.sbin/switchctl usr.sbin/syspatch == bin =============================================================== 01/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ksh ~ Makefile ~ config.h ~ history.c > Disable ksh VI-editing mode on the install media. We need the space > savings. (deraadt@) == distrib =========================================================== 02/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/man/mi > sync (visa@) special ~ ksh/Makefile > Disable ksh VI-editing mode on the install media. We need the space > savings. (deraadt@) == gnu =============================================================== 03/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu gnu ~ llvm/include/llvm/CodeGen/AsmPrinter.h ~ llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp ~ llvm/lib/Target/X86/X86AsmPrinter.h ~ llvm/lib/Target/X86/X86MCInstLower.cpp > Use int3 trap padding between functions instead of trapsleds with a leading > jump. > ok deraadt@ (mortimer@) usr.bin/perl ~ Configure > Zero out excess bytes in perl long doubles > From upstream commits by Niko Tyni <ntyni AT debian.org> > * dd6885360b15e763e0706dc28555eea328de432d > * 6b2c7479d6d33249c2385d8a36d8ee9e61e1a519 > ok aja@ (afresh1@) == lib =============================================================== 04/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ gen/signal.3 ~ stdlib/labs.3 ~ stdlib/lldiv.3 > add missing and correct misspelled names, most in NAME sections; > found with regress/usr.bin/mandoc/db/dbm_dump; > OK jmc@ (schwarze@) ~ compat-43/sigblock.3 ~ compat-43/sigsetmask.3 > delete sigmask(3) from sigsetmask(3) SYNOPSIS and use .Xr rather > than .Fn for it, it is documented sigblock(3) as noticed by jmc@; > some minor typo and punctuation cleanup while here; > OK jmc@ (schwarze@) libcrypto ~ man/BIO_ctrl.3 ~ man/d2i_ASN1_OCTET_STRING.3 ~ man/d2i_ECPKParameters.3 ~ man/EVP_PKEY_keygen.3 ~ man/HMAC.3 ~ man/RSA_get_ex_new_index.3 > add missing and correct misspelled names, most in NAME sections; > found with regress/usr.bin/mandoc/db/dbm_dump; > OK jmc@ (schwarze@) libevent ~ evbuffer_new.3 > add missing and correct misspelled names, most in NAME sections; > found with regress/usr.bin/mandoc/db/dbm_dump; > OK jmc@ (schwarze@) librthread ~ rthread.h > Use "volatile unsigned int" instead of _atomic_lock_t. The _atomic_lock_t > isn't the same size on all our architectures and should only be used for > spin locks. > ok visa@, mpi@ (kettenis@) libssl ~ man/SSL_CTX_set_default_passwd_cb.3 ~ man/SSL_CTX_set_generate_session_id.3 > add missing and correct misspelled names, most in NAME sections; > found with regress/usr.bin/mandoc/db/dbm_dump; > OK jmc@ (schwarze@) libtls ~ man/tls_load_file.3 > correct function name; > from carlos cardenas (jmc@) == regress =========================================================== 05/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress libexec ~ ld.so/randomdata/libaa/aa.c ~ ld.so/randomdata/prog/prog.c > A fix is coming in the future, but in the meantime we should never declare > a section(".openbsd.randomdata") variable as static or const, because the > compiler optimizes out access. (deraadt@) == sbin ============================================================== 06/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin ifconfig ~ ifconfig.c > use AI_NUMERICHOST for getaddrinfo(), we can only configure ip > adresses on pflow(4) interfaces, so don't try to resolve hostnames. > Report and fix from pjp -AT- centroid.eu > ok florian@ (benno@) wsconsctl ~ mouse.c > Handle the flags of mousecfg fields correctly. (bru@) == share ============================================================= 07/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/man4.octeon/Makefile + man4/man4.octeon/octxctl.4 > man octxctl(4) (visa@) == sys =============================================================== 08/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/octeon/conf ~ GENERIC ~ RAMDISK ~ files.octeon > Add a driver for the OCTEON USB3 controller bridge. > OK kettenis@, jmatthew@ (visa@) arch/octeon/dev + octxctl.c + octxctlreg.h > Add a driver for the OCTEON USB3 controller bridge. > OK kettenis@, jmatthew@ (visa@) dev ~ midi.c TAGGED OPENBSD_6_1 > Remove SIGIO support. The audio(4) driver doesn't implement it either and > the preferred method to access MIDI hardware is through sndiod(8) which > doesn't use it. > Fixes a potential issue with a stale struct proc pointer found by Ilja van > Sprundel. > errata 015 (bluhm@) dev/fdt ~ xhci_fdt.c > Add a driver for the OCTEON USB3 controller bridge. > OK kettenis@, jmatthew@ (visa@) ~ dwmmc.c > Remove some debug printfs. (kettenis@) dev/pci ~ if_myx.c > defer init of the myxmcl pool to mountroot, and enable pool cpu caches. > pool_cache_init cannot be called during autoconf because we cant > be confident about the number of cpus in the machine until the first > run of attaches. > mountroot is after autoconf, and myx already has code that runs > there for the firmware loading. > discussed with deraadt@ (dlg@) dev/usb ~ uhid.c TAGGED OPENBSD_6_1 > Remove SIGIO support. Base tools do not implement it and ports relying > on libusbhid, generally via SDL, shouldn't do it either since it's not > portable. > Suggested by deraadt@ after Ilja van Sprundel reported an issue with a > stale struct proc pointer in similar code. > errata 015 (bluhm@) dev/wscons ~ wsdisplay.c TAGGED OPENBSD_6_1 > Prevent integer overflow in WSDISPLAYIO_LDFONT ioctl. > Issue found by Ilja van Sprundel. > errata 024 (bluhm@) kern ~ subr_log.c TAGGED OPENBSD_6_1 > Both syslog(3) and syslogd(8) truncate the message at 8192 bytes. > Do the same in sendsyslog(2). > reported by Ilja Van Sprundel > errata 016 (bluhm@) ~ vfs_getcwd.c TAGGED OPENBSD_6_1 > Add some sanity length checks in VFS directory scan. This protects > us from bogus input from file systems like fuse. > bug report Ilja Van Sprundel > errata 017 (bluhm@) ~ uipc_syscalls.c TAGGED OPENBSD_6_1 > Move KTRPOINT call up. The lenght variable i is getting aligned and so > uninitialised data can be dumped into the ktrace message. > Found by Ilja Van Sprundel > errata 018 (bluhm@) ~ uipc_syscalls.c TAGGED OPENBSD_6_1 > When receiving a struct sockaddr from userland, enforce that memory > for sa_len and sa_family is provided. This will make handling of > socket name mbufs within the kernel safer. > issue reported by Ilja Van Sprundel > errata 020 (bluhm@) ~ sys_process.c TAGGED OPENBSD_6_1 > Uninitialized variable can leak kernel memory. > Found by Ilja Van Sprundel > errata 021 (bluhm@) ~ kern_descrip.c TAGGED OPENBSD_6_1 > Initialize a local variable to not leak kernel stack info to userland > if TIOCGPGRP fail. > Issue found by Ilja van Sprundel. > errata 022 (bluhm@) ~ uipc_socket.c TAGGED OPENBSD_6_1 > If pool_get() sleeps while allocating additional memory for socket > splicing, another process may allocate it in the meantime. Then > one of the splicing structures leaked in sosplice(). Recheck that > no struct sosplice exists after a protential sleep. > reported by Ilja Van Sprundel > errata 025 (bluhm@) net ~ if_spppsubr.c > Add missing splx(). > I introduced this bug in 2015 but the splsoftnet()/splx() dance in the > upper layer masked it. Pseudo drivers generally don't need any splnet() > protection. > Found by Mark Patruck and Andrei-Marius Radu since the NET_LOCK() no longer > raise any IPL. > Strangely jsg@ confirmed that cppcheck nor coccinelle found the missing > splx(). > ok kettenis@, sthen@, deraadt@ (mpi@) ~ if.c > rt_if_track() is needed even on ramdisk kernels, because of MPATH > ok mpi (deraadt@) net80211 ~ ieee80211_pae_input.c TAGGED OPENBSD_6_1 > Fix length checks in EAPOL key frame parsing. > Problem reported by Ilja Van Sprundel. > errata 023 (bluhm@) ~ ieee80211_ioctl.c TAGGED OPENBSD_6_1 > Plug an information leak in ieee80211_node2req(). > Problem reported by Ilja Van Sprundel. > errata 023 (bluhm@) netinet ~ tcp_usrreq.c TAGGED OPENBSD_6_1 > With an invalid address family in the connect address, tcp_usrreq() > may take an unintended code path. Return error EAFNOSUPPORT instead. > Found by Ilja Van Sprundel > errata 019 (bluhm@) == usr.bin =========================================================== 09/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin ftp ~ complete.c > Remove self assignment. > ok deraadt@ (anton@) sed ~ compile.c ~ extern.h ~ main.c > Apply stricter pledge rules if possible. These are based on the usage of > the 'w' and 'r' functions and the 'w' flag to the 's' function. > If non of the above is used and input is being read from stdin, we drop > all the way down to stdio! > Original inspiration by benno@. > OK millert@ (martijn@) units ~ units.lib > update currency exchange rates; (jmc@) == usr.sbin ========================================================== 10/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin switchctl ~ parser.c > #if 0 unused chunk for now (deraadt@) syspatch ~ syspatch.sh > For the kernel binpatches, only deal with /bsd. On MP machines we do have > /bsd.sp by default for now but it maybe de-selected during the installation > and > the opposite is true for SP machines (MP is *not* installed but may end up > being selected for installation). Having to deal with this is too error > prone. > This makes things much simpler and less confusing. > If you have a machine that goes from MP to SP or vice-versa, just > `syspatch -R && syspatch' so the proper kernel is updated. (ajacoutot@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
