OpenBSD src changes summary for 2017-04-16 to 2017-04-23 inclusive ==================================================================
bin/mt distrib/sets distrib/syspatch etc/examples/httpd.conf etc/mtree/4.4BSD.dist etc/rc games/tetris gnu gnu/usr.bin/clang include/Makefile include/tib.h lib/libc lib/libcompiler_rt lib/libcxx lib/libcxxabi lib/libpcap lib/libskey lib/libssl lib/libunwind lib/libutil libexec/ftpd regress/lib regress/misc regress/sbin regress/sys regress/usr.bin regress/usr.sbin sbin/dhclient sbin/disklabel sbin/iked sbin/ipsecctl sbin/ldattach sbin/pfctl share/man share/mk share/termtypes sys/arch/alpha/alpha sys/arch/alpha/include sys/arch/amd64/amd64 sys/arch/amd64/include sys/arch/arm/armv7 sys/arch/arm/include sys/arch/arm64/include sys/arch/hppa/hppa sys/arch/hppa/include sys/arch/i386/i386 sys/arch/i386/include sys/arch/loongson/loongson sys/arch/m88k/include sys/arch/m88k/m88k sys/arch/mips64/include sys/arch/mips64/mips64 sys/arch/octeon/octeon sys/arch/powerpc/include sys/arch/powerpc/powerpc sys/arch/sh/include sys/arch/sh/sh sys/arch/sparc64/include sys/arch/sparc64/sparc64 sys/conf sys/ddb sys/dev/pci sys/dev/usb sys/isofs/cd9660 sys/isofs/udf sys/kern sys/miscfs/fuse sys/msdosfs sys/net sys/net80211 sys/netinet sys/netinet6 sys/sys sys/tmpfs sys/ufs/ext2fs sys/ufs/ffs sys/ufs/ufs sys/uvm usr.bin/file usr.bin/htpasswd usr.bin/less usr.bin/make usr.bin/mandoc usr.bin/nc usr.bin/openssl usr.bin/pctr usr.bin/signify usr.bin/ssh usr.bin/systat usr.bin/tmux usr.bin/vi usr.sbin/arp usr.sbin/bgpd usr.sbin/dhcpd usr.sbin/dhcrelay usr.sbin/dhcrelay6 usr.sbin/hostapd usr.sbin/httpd usr.sbin/identd usr.sbin/ldpd usr.sbin/mksuncd usr.sbin/mopd usr.sbin/npppd usr.sbin/ntpd usr.sbin/pkg_add usr.sbin/rarpd usr.sbin/rbootd usr.sbin/relayd usr.sbin/sasyncd usr.sbin/snmpd usr.sbin/syslogd usr.sbin/tcpdump usr.sbin/tftp-proxy usr.sbin/tftpd usr.sbin/vmctl usr.sbin/vmd usr.sbin/ypldap == bin =============================================================== 01/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin mt ~ mt.1 > /dev/rmt* is no longer relevant; from miod (jmc@) == distrib =========================================================== 02/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/base/mi > sync (deraadt@) ~ checkflist ~ maketars ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armv7 ~ lists/base/md.hppa ~ lists/base/md.i386 ~ lists/base/md.landisk ~ lists/base/md.loongson ~ lists/base/md.luna88k ~ lists/base/md.macppc ~ lists/base/md.octeon ~ lists/base/md.sgi ~ lists/base/md.socppc ~ lists/base/md.sparc64 ~ lists/base/mi ~ lists/comp/md.amd64 ~ lists/comp/md.i386 ~ lists/comp/mi ~ lists/man/mi + lists/comp/clang.amd64 + lists/comp/clang.i386 + lists/comp/gcc.alpha + lists/comp/gcc.amd64 + lists/comp/gcc.armv7 + lists/comp/gcc.hppa + lists/comp/gcc.i386 + lists/comp/gcc.landisk + lists/comp/gcc.loongson + lists/comp/gcc.luna88k + lists/comp/gcc.macppc + lists/comp/gcc.octeon + lists/comp/gcc.sgi + lists/comp/gcc.socppc + lists/comp/gcc.sparc64 > create a gross mechanism that can handle gcc-only, clang-only, > and gcc+clang architectures > with kettenis (deraadt@) ~ lists/comp/clang.amd64 ~ lists/comp/clang.i386 ~ lists/comp/md.amd64 ~ lists/comp/md.i386 > put clang binaries into clang set (deraadt@) ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armv7 ~ lists/base/md.hppa ~ lists/base/md.i386 ~ lists/base/md.landisk ~ lists/base/md.loongson ~ lists/base/md.luna88k ~ lists/base/md.macppc ~ lists/base/md.octeon ~ lists/base/md.sgi ~ lists/base/md.socppc ~ lists/base/md.sparc64 ~ lists/comp/clang.amd64 ~ lists/comp/clang.i386 ~ lists/comp/gcc.alpha ~ lists/comp/gcc.amd64 ~ lists/comp/gcc.armv7 ~ lists/comp/gcc.hppa ~ lists/comp/gcc.i386 ~ lists/comp/gcc.landisk ~ lists/comp/gcc.loongson ~ lists/comp/gcc.luna88k ~ lists/comp/gcc.macppc ~ lists/comp/gcc.octeon ~ lists/comp/gcc.sgi ~ lists/comp/gcc.socppc ~ lists/comp/gcc.sparc64 ~ lists/comp/mi > sort (deraadt@) ~ lists/base/md.arm64 ~ lists/comp/md.arm64 + lists/comp/clang.arm64 > add a clang comp list for arm64 (jsg@) ~ makelocatedb > same hack logic as maketars. noticed by landry@/semarie@ (espie@) ~ lists/base/mi > sync (deraadt@) ~ lists/comp/clang.amd64 ~ lists/comp/clang.i386 ~ lists/comp/mi > sync (deraadt@) ~ lists/base/mi > sync (deraadt@) ~ lists/man/mi > sync (deraadt@) syspatch ~ bsd.syspatch.mk > rework the syspatch makefile and do complete builds for each errata > and diff those instead of doing partial builds of affected directories > (robert@) + diff.sh > Add a small shell script to be used by syspatch to diff the fake root > directories for changes due to the fact that we have to do some "magic" > to figure out if things have really changed. (robert@) ~ diff.sh > do not leave temp files after the diffing is done (robert@) == etc =============================================================== 03/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc examples/httpd.conf ~ examples/httpd.conf > Remove /etc/ssl/acme/. We don't need it now that we have a default > acme-conf(5) > that direclty uses /etc/ssl/{,private} by default. Adapt the httpd.conf > example > accordingly. > ok florian@ benno@ millert@ (ajacoutot@) mtree/4.4BSD.dist ~ mtree/4.4BSD.dist > Remove /etc/ssl/acme/. We don't need it now that we have a default > acme-conf(5) > that direclty uses /etc/ssl/{,private} by default. Adapt the httpd.conf > example > accordingly. > ok florian@ benno@ millert@ (ajacoutot@) ~ mtree/4.4BSD.dist > skip mtree creation of two include dirs. gcc3 may still use them, but > if so gcc3 should create them itself. (deraadt@) ~ mtree/4.4BSD.dist > installation of the compiler creates include/g++ if needed; mtree does not > need to do this. (deraadt@) rc ~ rc > Simplify patching of motd(5), also making it agree better with the > documentation if the first line of the file is blank. > Quirk reported by Anthony Coulter <bsd at anthonycoulter dot name>. > OK rpe@ (schwarze@) == games ============================================================= 04/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games tetris ~ screen.c > According to termcap(3), char PC, *BC, *UP need to be extern. Fixes an > ld(1) error found by mestre a while ago. > fix suggested and ok naddy (tb@) == gnu =============================================================== 05/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu gnu ~ llvm/tools/lld/ELF/DriverUtils.cpp > Disable colored diagnostics in LLVM's lld. > Requested by deraadt@ (patrick@) ~ lib/Makefile ~ usr.bin/Makefile > Change build infrastructure to allow building both gcc and clang. This > doesn't actually flip the switch yet, so aarch64 continues to be the only > architecture for which we build clang. > ok jsg@, deraadt@ (kettenis@) usr.bin/clang ~ Makefile.inc > Change build infrastructure to allow building both gcc and clang. This > doesn't actually flip the switch yet, so aarch64 continues to be the only > architecture for which we build clang. > ok jsg@, deraadt@ (kettenis@) ~ clang/Makefile ~ clang-tblgen/Makefile ~ include/llvm/Config/config.h ~ llc/Makefile ~ lld/Makefile ~ llvm-tblgen/Makefile > Take a more radical approach to disabling colours: pretend we don't > HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM > don't seem to respect our default setting. > As a result, delete the -ltermlib dependency. > Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole > codebase is out of scope for now ... > Prompted by an instance found in the AsmParser by deraadt@ > ok kettenis@ patrick@ (pascal@) ~ include/clang/intrin/Makefile > Install clflushoptintrin.h and move pkuintrin.h such that the list is > properly sorted. > pointed out by espie@ (kettenis@) == include =========================================================== 06/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/include Makefile ~ Makefile > Change build infrastructure to allow building both gcc and clang. This > doesn't actually flip the switch yet, so aarch64 continues to be the only > architecture for which we build clang. > ok jsg@, deraadt@ (kettenis@) tib.h ~ tib.h > Get TCB address using the RDHWR instruction instead of __get_tcb(). > This gives fast access to the address on systems that implement > the UserLocal register. TCB caching is still used when running > in the single-threaded mode in order not to penalize old systems. > The kernel counterpart of this change must be in place before > using this diff! > With guenther@ (visa@) == lib =============================================================== 07/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ arch/aarch64/gen/_setjmp.S > Always return nonzero from _longjmp too. > ok jsg@ (kettenis@) ~ stdlib/malloc.c > whitespace fixes (otto@) ~ stdlib/malloc.3 > consictently use .Dv NULL and a few other tweaks; ok schwarze@ (otto@) ~ stdlib/malloc.c > don't forget to fill in canary bytes for posix_memalign(3); reported by > and ok jeremy@ (otto@) ~ include/cancel.h > Get TCB address using the RDHWR instruction instead of __get_tcb(). > This gives fast access to the address on systems that implement > the UserLocal register. TCB caching is still used when running > in the single-threaded mode in order not to penalize old systems. > The kernel counterpart of this change must be in place before > using this diff! > With guenther@ (visa@) ~ include/cancel.h > Fix previous. (visa@) ~ stdlib/malloc.c > For small allocations (chunk) freezero only validates the given > size if canaries are enabled. In that case we have the exact requested > size of the allocation. But we can at least check the given size > against the chunk size if C is not enabled. Plus add some braces > so my brain doesn't have to scan for dangling else problems when I > see this code. (otto@) ~ stdlib/malloc.3 > Rearrange text a bit to make it clear what "discarded" means; ok jmc@ > deraadt@ (otto@) libcompiler_rt ~ Makefile > Change build infrastructure to allow building both gcc and clang. This > doesn't actually flip the switch yet, so aarch64 continues to be the only > architecture for which we build clang. > ok jsg@, deraadt@ (kettenis@) libcxx ~ Makefile > Change build infrastructure to allow building both gcc and clang. This > doesn't actually flip the switch yet, so aarch64 continues to be the only > architecture for which we build clang. > ok jsg@, deraadt@ (kettenis@) ~ include/stdio.h > wipe some more macros that do not belong in C++ forwarding headers. > (breaks lincity-ng) > okay kettenis@ (espie@) libcxxabi ~ Makefile > Change build infrastructure to allow building both gcc and clang. This > doesn't actually flip the switch yet, so aarch64 continues to be the only > architecture for which we build clang. > ok jsg@, deraadt@ (kettenis@) libpcap ~ pcap-bpf.c > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) libskey ~ skeylogin.c > use freezero() (deraadt@) libssl ~ ssl_asn1.c > backout previous, data_len is not always initialized (otto@) libunwind ~ include/__libunwind_config.h ~ src/DwarfInstructions.hpp ~ src/DwarfParser.hpp ~ src/Registers.hpp ~ src/UnwindCursor.hpp ~ src/UnwindRegistersRestore.S ~ src/UnwindRegistersSave.S ~ src/libunwind.cpp > Add sparc64 support. (kettenis@) libutil ~ pkcs5_pbkdf2.c > use freezero() instead of explicit_bzero+free (deraadt@) ~ openpty.3 ~ pty.c ~ shlib_version ~ util.h > Add getptmfd(), fdopenpty(), fdforkpty() functions. These allow programs > to separate the open(/dev/ptm) from the ioctl(PTMGET) for privilege > separation or pledge(). > Based on a diff from reyk@. > ok deraadt millert (nicm@) ~ openpty.3 > add previous to NAME; (jmc@) == libexec =========================================================== 08/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ftpd ~ ftpcmd.y > memset() of password field should be explicit_bzero(). > [Not using freezero() in yacc files yet] (deraadt@) ~ monitor.c > freezero() can be used here (deraadt@) == regress =========================================================== 09/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress lib ~ libcrypto/rsa/rsa_test.c > Remove unused rnd_seed variable. Upstream made the same change 4 days ago. > Fixes compiling this test using clang on arm64. (kettenis@) ~ libc/regex/Makefile > Define DEF_WEAK like we do for ld.so to fix building this with clang. > ok millert@, deraadt@ (kettenis@) ~ libc/db/dbtest.c > Use INT_MAX instead of SIZE_MAX as the maximum file size we can handle. > Fixes this test on 64-bit architectures. > ok visa@ (kettenis@) misc ~ Makefile > Skip objc tests with clang. (kettenis@) sbin ~ ipsecctl/sa25.ok ~ ipsecctl/sa26.ok ~ ipsecctl/sa27.ok > SA group has been renamed to bundle. Adapt test. (bluhm@) sys ~ netinet/ipsec/Makefile ~ netinet/pmtu/Makefile > Make sure these tests print "SKIPPED" if the necessary variables aren't > set. > The current code doesn't work since the magic .BEGIN target runs before > the regress target that prints "SKIPPED" and the .BEGIN target fails when > the variables aren't set. > ok bluhm@ (kettenis@) ~ net/pf_table/Makefile > Make the test pass when an obj directory exists. (bluhm@) usr.bin ~ openssl/options/optionstest.c > Use %zu to print a size_t. (kettenis@) ~ ssh/unittests/Makefile.inc ~ ssh/misc/kexfuzz/Makefile > Change COMPILER_VERSION tests which limited additional warnings to gcc4 > to instead skip them on gcc3 as clang can handle -Wpointer-sign and > -Wold-style-definition. (jsg@) ~ mandoc/mdoc/Lk/noarg.in ~ mandoc/mdoc/Lk/noarg.out_ascii ~ mandoc/mdoc/Lk/noarg.out_lint ~ mandoc/mdoc/Lk/noarg.out_markdown > test display of long URIs (schwarze@) usr.sbin ~ syslogd/Client.pm + syslogd/args-repeat.pl > Test syslogd(8) "last message repeated" feature and -r option. (bluhm@) == sbin ============================================================== 10/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ bpf.c > After 11 years of pondering about it I think that [email protected] > had it correct. Don't BPF_WORDALIGN() the value for the number of > bytes read() into the buffer. This could theoretically cause the > processing of 1 - 3 more bytes than were read. (krw@) ~ bpf.c ~ dhcpd.h ~ packet.c > Tweak parameters to decode_*, add a check or two, and thus gain most of the > sanity improvements reyk@ recently put into dhcrelay to ensure no more than > the captured packet is processed. (krw@) ~ bpf.c > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) disklabel ~ Makefile ~ editor.c > enlarge obj to satisfy new world order that has *big* compilers and > remove condition for static linking; ok tb@ (otto@) ~ disklabel.8 > Bump numbers for /usr/obj allocation with *big* compilers. > ok otto (tb@) iked ~ pfkey.c > use freezero() (deraadt@) ipsecctl ~ pfkey.c > use freezero() (deraadt@) ~ ipsecctl.c ~ ipsecctl.h ~ parse.y ~ pfkdump.c ~ pfkey.c > Rename all SA groups to bundles consistently. The first kernel > commit in 2000 that introduced the features already called them SA > bundles. The word group is taken by Diffie-Hellman, reusing it > causes confusion. > OK hshoexer@ (bluhm@) ldattach ~ Makefile > Different compilers and versions of compilers have different warnings. > Remove -Werror to give code a greater chance of building. > ok deraadt@ florian@ (jsg@) pfctl ~ pfctl.8 ~ pfctl.c > Add "key" modifier for -k to make pfctl can kill a state by specifying > the key of the state. > ok sasha (yasuoka@) ~ pfctl.8 > trim the documentation for -k: make it more consistent, > and do not try to do all the documenting in SYNOPSIS/usage(); > ok deraadt (jmc@) ~ pfctl.c > oops, this was meant to be committed with the pfctl.8 change: > sync usage() with SYNOPSIS; (jmc@) == share ============================================================= 11/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/ure.4 > from brad: document rgephy (jmc@) ~ man4/pipex.4 > Including sys/types.h and net/if.h are needed to use pipex(4). (yasuoka@) ~ man8/release.8 > Cleaning out /usr/obj is necessary the first time due to permission issues. > Make this more clearly visible and also state explicitly that this is no > longer necessary after completing a full release build. > ok deraadt (tb@) ~ man8/release.8 > spelling fix; (jmc@) ~ man4/Makefile + man4/witness.4 > Manual page for witness(4). Adapted from FreeBSD. (visa@) ~ man4/ddb.4 ~ man4/options.4 ~ man4/witness.4 > Shuffle bits into their proper files. > Prompted by jmc@ (visa@) ~ man4/witness.4 > Xr mutex(9) and rwlock(9) (visa@) ~ man5/port-modules.5 > The gnome module supports cmake now. (ajacoutot@) mk ~ bsd.own.mk > Change build infrastructure to allow building both gcc and clang. This > doesn't actually flip the switch yet, so aarch64 continues to be the only > architecture for which we build clang. > ok jsg@, deraadt@ (kettenis@) ~ bsd.own.mk > ship clang with i386 and amd64. It does not become the main compiler YET. > ok kettenis (deraadt@) termtypes ~ termtypes.master > Update to terminfo.src 2017-04-01. (nicm@) == sys =============================================================== 12/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/alpha ~ mutex.c > Hook up mutex(9) to witness(4). (visa@) arch/alpha/include ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) arch/amd64/amd64 ~ lock_machdep.c > Replace fetch_and_add() with atomic_inc_int_nv() from <sys/atomic.h> > to make the code more similar to sparc64's. > OK mpi@, guenther@, kettenis@ (visa@) ~ db_trace.c > Add routines for saving stack traces and printing saved traces > on amd64 and i386. > With guenther@ (visa@) ~ lock_machdep.c > Hook up mplock to witness(4) on amd64 and i386. (visa@) ~ mutex.S > Hook up mutex(9) to witness(4). (visa@) ~ db_interface.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) arch/amd64/include ~ mplock.h > Hook up mplock to witness(4) on amd64 and i386. (visa@) ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) arch/arm/armv7 ~ armv7_mutex.c > Hook up mutex(9) to witness(4). (visa@) arch/arm/include ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) arch/arm64/include ~ ieee.h > Define EXT_IMPLICIT_NBIT like we do on sparc64 and mips64. Makes vaious > long double math stuff (including printf) actually work. > While there remove 'struct ieee_ldouble', which isn't defined on other > architectures. > ok deraadt@ (kettenis@) ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) arch/hppa/hppa ~ mutex.c > Hook up mutex(9) to witness(4). (visa@) arch/hppa/include ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) arch/i386/i386 ~ lock_machdep.c > Replace fetch_and_add() with atomic_inc_int_nv() from <sys/atomic.h> > to make the code more similar to sparc64's. > OK mpi@, guenther@, kettenis@ (visa@) ~ db_trace.c > Add routines for saving stack traces and printing saved traces > on amd64 and i386. > With guenther@ (visa@) ~ lock_machdep.c > Hook up mplock to witness(4) on amd64 and i386. (visa@) ~ mutex.S > Hook up mutex(9) to witness(4). (visa@) ~ db_mp.c ~ mem.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) arch/i386/include ~ mplock.h > Hook up mplock to witness(4) on amd64 and i386. (visa@) ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) arch/loongson/loongson ~ machdep.c > Fix an early boot failure on Loongson 3A2000. > Reported and patch tested by wen heping (visa@) arch/m88k/include ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) arch/m88k/m88k ~ mutex.S > Hook up mutex(9) to witness(4). (visa@) arch/mips64/include ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) ~ cpu.h ~ mips_cpu.h ~ mips_opcode.h ~ tcb.h > Make TCB address available to userspace via the UserLocal register. > This lets programs get the address without a system call on OCTEON II > and later. > Add UserLocal load emulation for systems that do not implement > the RDHWR instruction or the UserLocal register. > OK guenther@ (visa@) ~ tcb.h > Get TCB address using the RDHWR instruction instead of __get_tcb(). > This gives fast access to the address on systems that implement > the UserLocal register. TCB caching is still used when running > in the single-threaded mode in order not to penalize old systems. > The kernel counterpart of this change must be in place before > using this diff! > With guenther@ (visa@) arch/mips64/mips64 ~ mutex.c > Hook up mutex(9) to witness(4). (visa@) ~ context.S ~ cpu.c ~ genassym.cf ~ trap.c > Make TCB address available to userspace via the UserLocal register. > This lets programs get the address without a system call on OCTEON II > and later. > Add UserLocal load emulation for systems that do not implement > the RDHWR instruction or the UserLocal register. > OK guenther@ (visa@) ~ cpu.c > Recognize Loongson 3A2000/3B2000 processors. (visa@) arch/octeon/octeon ~ machdep.c > Make TCB address available to userspace via the UserLocal register. > This lets programs get the address without a system call on OCTEON II > and later. > Add UserLocal load emulation for systems that do not implement > the RDHWR instruction or the UserLocal register. > OK guenther@ (visa@) ~ autoconf.c > Reindent with tabs and add missing braces. (visa@) arch/powerpc/include ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) arch/powerpc/powerpc ~ mutex.c > Hook up mutex(9) to witness(4). (visa@) arch/sh/include ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) arch/sh/sh ~ mutex.c > Hook up mutex(9) to witness(4). (visa@) arch/sparc64/include ~ ieee.h > Remove some defines marked #ifdef notyet, which really is #ifdef notever. > Reduces the diffs with other architectures. (kettenis@) ~ cpu.h ~ tcb.h > Use register names without the % prefix in the global register variable > declarations since clang doesn't register the %-prefixed ones. (kettenis@) ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) arch/sparc64/sparc64 ~ mutex.S > Hook up mutex(9) to witness(4). (visa@) conf ~ files > Add a port of witness(4) lock validation tool from FreeBSD. > Go-ahead from kettenis@, guenther@, deraadt@ (visa@) ~ files > Hook up mutex(9) to witness(4). (visa@) ~ GENERIC > Add option to compile witness(4). (visa@) ddb ~ db_access.h ~ db_output.c > Add routines for saving stack traces and printing saved traces > on amd64 and i386. > With guenther@ (visa@) ~ db_command.c > Add a port of witness(4) lock validation tool from FreeBSD. > Go-ahead from kettenis@, guenther@, deraadt@ (visa@) dev/pci ~ drm/drm_linux.h > Always evaluate expression in BUG_ON() macro to avoid unused variable > warnings. Makes non diagnostic kernel compile. > OK kettenis@ (bluhm@) ~ drm/drm_crtc.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) ~ pcidevs > Remove an incorrect Bay Trail I2C entry that masked a valid Bay Trail > PCIE entry as it used the same product id. > Add another PLX/Avago/"Broadcom" PCIE bridge seen in the wild while here. > (jsg@) ~ pcidevs.h ~ pcidevs_data.h > regen (jsg@) ~ if_iwm.c > Fix nic lock usages around iwm_{read,write}_prph(). > The iwm_{read,write}_prph() calls don't grab the nic lock themselves > so make sure to acquire it where necessary. > The iwm_{set,clear}_bits_prph() on the other hand acquire/release the > nic lock themselves. Since the nic lock doesn't do recursive locking > we need to be careful to avoid accidentally releasing the nic lock > too early that way. > Patch by Imre Vadasz. (stsp@) ~ if_iwm.c > Fix nic lock usage around iwm_disable_rx_dma(). > iwm_disable_rx_dma() was unintentionally releasing the nic lock too early. > Patch by Imre Vadasz. (stsp@) ~ if_iwm.c > Make id parameter of iwm_send_cmd_pdu() a uint32_t so that it matches > the size of the corresponding id field in struct iwm_host_cmd. > Patch by Imre Vadasz. (stsp@) dev/usb ~ if_ure.c > Rearrange ure_iff to resemble other drivers a bit more. > from Brad (jmatthew@) ~ if_umb.c ~ if_umb.h ~ mbim.h > Support packet aggregation for umb(4) on tx. > tested by bluhm@, ststp@ and Bryan Vyhmeister. > ok bluhm@ ststp@ (gerhard@) ~ if_cdce.c > Use ether_crc32_le() instead of a custom version. > From Hiltjo Posthuma. (mpi@) isofs/cd9660 ~ cd9660_vfsops.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) isofs/udf ~ udf_vfsops.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) kern ~ vfs_bio.c ~ vfs_biomem.c > Flip previously warm pages in the buffer cache to memory above the DMA > region if uvm tells us it is available. > nits from deraadt@ > ok krw@ guenther@ kettenis@ (beck@) ~ kern_pledge.c > matthieu@ observes % pax (without any arguments) hits pledge violation, > because it tries MTIOCTOP against stdin, the tty. It is very inconvenient > to use isatty to distinguish this difference in userland, so return ENOTTY > for tty devices. > ok natano (deraadt@) ~ vfs_bio.c > ensure the buffer cache backs off all the way with the correct type > of memory, handling the fact that both queues are actually in dma > space when not flipping buffers high (beck@) ~ init_main.c ~ kern_exit.c ~ kern_fork.c ~ kern_sig.c + subr_witness.c > Add a port of witness(4) lock validation tool from FreeBSD. > Go-ahead from kettenis@, guenther@, deraadt@ (visa@) ~ kern_lock.c > Hook up mplock to witness(4) on amd64 and i386. (visa@) ~ kern_rwlock.c ~ kern_synch.c > Hook up rwlock(9) to witness(4). > Loosely based on a diff from Christian Ludwig (visa@) ~ kern_synch.c + kern_mutex.c > Hook up mutex(9) to witness(4). (visa@) ~ subr_disk.c ~ subr_pool.c ~ subr_prf.c ~ vfs_subr.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) ~ kern_lock.c > Drop unnecessary headers. This fixes kernel build on platforms > without <machine/mplock.h>. (visa@) ~ kern_pledge.c > only 32 bits of the pledgecode were passed up via ktrace > from Anton Lindqvist > ok semarie (deraadt@) miscfs/fuse ~ fuse_vfsops.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) msdosfs ~ msdosfs_denode.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) net ~ pipex.c > Fix pipex(4) not to cause panics on strict alignment architectures. > ok claudio (yasuoka@) ~ if_loop.c ~ route.c ~ rtsock.c > Use the rt_rmx defines that hide the struct rt_kmetrics indirection. > No binary change. > OK mpi@ (bluhm@) ~ bpf.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) ~ pf_ioctl.c > Speed up DIOCKILLSTATES by using the RB tree index if all fields used > by the tree of given state key are filled. > ok sasha (yasuoka@) ~ pf_lb.c ~ pf_norm.c ~ pf_osfp.c > Some of the LOG_NOTICE messages from PF were seen in normal operations > with certain rulesets and excessively noisy; move them to LOG_INFO (which > was > previously unused). ok benno@ (sthen@) net80211 ~ ieee80211.h ~ ieee80211_mira.c > Handle unequal numbers of Tx and Rx streams in MiRA. > Problem reported by Colton Lewis on misc@ > ok tb@ (stsp@) netinet ~ udp_usrreq.c > Use the address family passed down with pr_input to simplify > udp_input(). > OK florian@ (bluhm@) ~ tcp_input.c > Use the address family passed down with pr_input to simplify > tcp_input(). > OK florian@ (bluhm@) ~ raw_ip.c > The raw ip input functions are called from several places. Use the > address family passed down with pr_input to check that the correct > one is used. > OK florian@ (bluhm@) ~ ip_icmp.c ~ ip_input.c ~ ip_output.c ~ tcp_input.c ~ tcp_subr.c ~ tcp_timer.c > Use the rt_rmx defines that hide the struct rt_kmetrics indirection. > No binary change. > OK mpi@ (bluhm@) netinet6 ~ in6.c > We need to update the ia6_updatetime when changing the vltime/pltime > vio ioctl(2). Otherwise ifconfig shows the wrong times since > vltime/pltime are calculated from this value on export. > The handling of router advertisements does the right thing. > OK bluhm (florian@) ~ raw_ip6.c > The raw ip input functions are called from several places. Use the > address family passed down with pr_input to check that the correct > one is used. > OK florian@ (bluhm@) ~ icmp6.c ~ ip6_output.c > Use the rt_rmx defines that hide the struct rt_kmetrics indirection. > No binary change. > OK mpi@ (bluhm@) ~ icmp6.c ~ raw_ip6.c > icmp6_rip6_input() was mostly duplicated code from rip6_input(). > Merge these functions together and remove icmp6_rip6_input(). > OK mpi@ (bluhm@) sys ~ mount.h > Statistics for high memory flips in the buffer cache > nits from deraadt@ > ok krw@ guenther@ kettenis@ (beck@) ~ buf.h > Flip previously warm pages in the buffer cache to memory above the DMA > region if uvm tells us it is available. > nits from deraadt@ > ok krw@ guenther@ kettenis@ (beck@) ~ proc.h + _lock.h + witness.h > Add a port of witness(4) lock validation tool from FreeBSD. > Go-ahead from kettenis@, guenther@, deraadt@ (visa@) ~ systm.h > Hook up mplock to witness(4) on amd64 and i386. (visa@) ~ rwlock.h > Hook up rwlock(9) to witness(4). > Loosely based on a diff from Christian Ludwig (visa@) ~ mutex.h > Hook up mutex(9) to witness(4). (visa@) ~ ktrace.h ~ pledge.h ~ syscall_mi.h > only 32 bits of the pledgecode were passed up via ktrace > from Anton Lindqvist > ok semarie (deraadt@) ~ _endian.h > Cast the result of the __swapXX macros to the proper type. > The ternary operator was causing the result to be promoted to > int for __swap16. Fixes warning with clang. OK guenther@ (millert@) tmpfs ~ tmpfs_subr.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) ufs/ext2fs ~ ext2fs_vfsops.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) ufs/ffs ~ ffs_vfsops.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) ufs/ufs ~ ufs_vnops.c > Add size to free() > ok deraadt@ visa@ (dhill@) ~ ufs_dirhash.c > Add sizes to free() > ok deraadt@ visa@ (dhill@) uvm ~ uvm_map.c > Tweak lock inits to make the system runnable with witness(4) > on amd64 and i386. (visa@) == usr.bin =========================================================== 13/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin file ~ file.c ~ magic-load.c ~ magic-test.c ~ text.c > Style nits; no binary change. (nicm@) htpasswd ~ Makefile > Different compilers and versions of compilers have different warnings. > Remove -Werror to give code a greater chance of building. > ok deraadt@ florian@ (jsg@) ~ Makefile > remove -g from CFLAGS at florian's request (jsg@) less ~ charset.c > control_char() for ASCII needs to include both genuine control > characters and top-bit-set nonprintable characters (so both iscntrl() > and !isprint()), fixes behaviour broken in r1.15/r1.16, noticed by > deraadt@. > ok deraadt tedu (nicm@) make ~ make.1 > spelling fixes from michael w. bombardieri (jmc@) ~ main.c > use strtonum instead of strtoll to parse the argument to -j > ok deraadt@ benno@ (dlg@) mandoc ~ mdoc_html.c ~ mdoc_macro.c ~ mdoc_man.c ~ mdoc_markdown.c ~ mdoc_term.c > Fix handling of trailing punctuation in .Lk. > This macro is unusual in so far as trailing punction needs to remain > inside the scope because it must be inside, not after the display > of long URIs in terminal output mode. > Improves formatting of fw_update(1), help(1), less(1), sendbug(1), > acx(4), inet6(4), ipsec(4), oce(4), isakmpd.conf(5), afterboot(8), > release(8), traceroute(8). (schwarze@) ~ mdoc_man.c > implement display of long .Lk URIs to match -Tascii (schwarze@) ~ mansearch.c ~ mansearch.h > Restore -kO Nd, -kO Nm, -kO sec, and -kO arch to working order. > They got broken in the SQLite removal. > As opposed to the rest of -kO, they are no longer very useful, > but they are certainly not supposed to fail assertions. > Issue reported by Gonzalo Tornaria <tornaria at cmat dot edu dot uy>. > (schwarze@) ~ mansearch.c > Fix previous: i forgot explicit NUL termination; > noticed by Gonzalo <Tornaria at cmat dot edu dot uy>, thanks! (schwarze@) ~ mansearch.c > The apropos(1) manual still documents the unary -i operator for > regular expression search terms, but it appears that somewhere > along the way, the implementation got lost, so restore it. > Bug found while investigating other reports from Gonzalo Tornaria. > (schwarze@) ~ main.c > Delete the undocumented and unimplemented man(1) -i (interactive > apropos) option. It will not be implemented. Featurism isn't the > plan for the future; simplicity is. (schwarze@) ~ main.c > Now that global -i is gone, pass -i through to the apropos(1) > expression parser, such that "apropos -i 'Nm~dump\>'" > finds kdump(1) and WCOREDUMP(2) and you don't need > to type the counter-intuitive "apropos -- -i 'Nm~dump\>'". (schwarze@) ~ cgi.c > More thoroughly reject direct access to unintended files, such that > URIs like http://man.openbsd.org/OpenBSD-current/mandoc.db and > http://man.openbsd.org/OpenBSD-current/man1/ do not cause display > of garbage. (schwarze@) nc ~ netcat.c > Move comments into a block and uses {} to unconfuse reading. (deraadt@) openssl ~ apps.c ~ dgst.c ~ s_client.c ~ s_server.c > use freezero() instead of 4-line conditional explicit_bzero + free > (deraadt@) pctr ~ Makefile > Different compilers and versions of compilers have different warnings. > Remove -Werror to give code a greater chance of building. > ok deraadt@ florian@ (jsg@) signify ~ signify.c > use freezero() instead of explicit_bzero + free (deraadt@) ssh ~ Makefile.inc > Change COMPILER_VERSION tests which limited additional warnings to gcc4 > to instead skip them on gcc3 as clang can handle -Wpointer-sign and > -Wold-style-definition. (jsg@) ~ utf8.c > Recognize nl_langinfo(CODESET) return values "646" and "" as aliases > for "US-ASCII", useful for different versions of NetBSD and Solaris. > Found by dtucker@ and by Tom G. Christensen <tgc at jupiterrise dot com>. > OK dtucker@ deraadt@ (schwarze@) systat ~ iostat.c > Statistics for high memory flips in the buffer cache > nits from deraadt@ > ok krw@ guenther@ kettenis@ (beck@) tmux ~ tty.c > Use EL1 to clear lines when redrawing the leftmost pane, rather than > spaces. (nicm@) ~ tmux.c > Memory leak, from David CARLIER. (nicm@) ~ server-client.c ~ server-fn.c ~ tmux.h ~ tty.c > Remove a couple of redraw flags that no longer have any effect. (nicm@) ~ tty.c > Don't bother moving the cursor for empty lines. (nicm@) ~ tty-keys.c > Include client name in key logging. (nicm@) ~ tty.c > Do not check for BCE for a background colour that isn't needed, use > colour 8 instead. (nicm@) ~ format.c ~ tmux.1 ~ tmux.h ~ tty.c > Add a format for number of bytes writtent to client, useful for debugging. > (nicm@) ~ tmux.h ~ tty-keys.c ~ tty.c > Detect iTerm2 and use DECSLRM for it as well. (nicm@) ~ server-client.c > On terminals without DECSLRM, when a pane that is less than the full > with of the terminal scrolls, tmux needs to redraw the entire pane. This > results in a large amount of output data which can cause slow terminals > to struggle, particularly when many lines are scrolled together quickly. > This can be reduced by only redrawing when tmux doesn't hold any > buffered data for the terminal. If a redraw is required and data is > buffered, the redraw is deferred until all that data is consumed (it is > checked after every event loop, a timer is used to ensure this happens > at some point). While a redraw is pending, no additional data will be > written to the terminal. > The redraw still happens, now it is just pushed back if it is possible > it would just add more data on top of a terminal that is already > behind. This both gives the terminal a chance to catch up, and allows > tmux to process more scrolling (that would require additional redraws) > in the meantime. > Helps with a problem reported by Greg Hurrell. (nicm@) ~ tmux.h ~ tty-keys.c ~ tty.c > Revert use of DECSLRM on iTerm2, it doesn't help as much as we throught, > and there are some question marks about it's support. (nicm@) ~ format.c ~ server-client.c ~ tmux.1 ~ tmux.h ~ tty.c > When the data we have buffered to write to a terminal grows beyond a > reasonable amount (currently width * height * 8 bytes), discard all > output to the terminal and start trying to redraw periodically > instead. Continue with this until the amount of data we are trying to > write falls to a low level again. > This helps to prevent tmux sitting on a huge buffer of data when there > are processes with fast output running inside tmux but the outside > terminal is slow. > A new client_discarded format holds the amount of data that has been > discarded due to this mechanism. > The three variables (when to start this, when to stop, and how often to > redraw) are basically "works for me" at the moment, this is going in to > see how it goes and if it causes problems for anyone else. (nicm@) ~ cmd-command-prompt.c ~ grid.c ~ tmux.c > Style nits and a missing cast. (nicm@) ~ cmd-detach-client.c ~ server-client.c ~ tmux.h > Add a suspend helper function, and do not allow detaching or suspending > while already doing so. (nicm@) ~ cmd-source-file.c > load_cfg returns < 0 on error, not != 0. Problem reported by Kaushal Modi. > (nicm@) ~ cmd-if-shell.c ~ cmd-run-shell.c ~ cmd-show-messages.c ~ format.c ~ job.c ~ server.c ~ tmux.1 ~ tmux.h ~ window-copy.c > If a #() command doesn't exit, use its most recent line of output (it > must be a full line). Don't let it redraw the status line more than once > a second. > Requested by someone about 10 years ago... (nicm@) ~ format.c ~ tmux.h ~ window.c > There is no real need for window_printable_flags to allocate, make it > return a buffer from the stack. (nicm@) ~ format.c ~ tmux.h ~ window.c > Now that struct winlink has a session pointer, can remove some arguments. > (nicm@) ~ server-client.c > Only set up a current target for mouse key bindings. Fixes: > bind q select-pane -U \; resize-pane -Z > (There is still some possible weirdness with the way we do current > targets, it should probably be done in a different way at some point.) > (nicm@) - pty.c ~ Makefile ~ tmux.c ~ tmux.h ~ window.c > Use fdforkpty() instead of our own unwrapped versions. (nicm@) ~ cfg.c > Do not run the config file in the context of the first client, instead > use no client like we did before. This means commands like new-session > won't try to attach if they are in the config file. (nicm@) ~ cmd-attach-session.c ~ cmd-copy-mode.c ~ cmd-find.c ~ cmd-if-shell.c ~ cmd-list-keys.c ~ cmd-new-session.c ~ cmd-queue.c ~ cmd-resize-pane.c ~ cmd-send-keys.c ~ cmd-switch-client.c ~ format.c ~ key-bindings.c ~ server-client.c ~ tmux.h > Store state shared between multiple commands in the queue in a shared > structure. (nicm@) ~ cfg.c ~ server.c > History needs to be loaded after config parsing is done - now that > commands are queued, that's in cfg_done not after start_cfg finishes. > (nicm@) ~ alerts.c ~ cmd-find.c ~ cmd-new-window.c ~ notify.c ~ tmux.h > More unnecessary arguments now winlink points back to session. (nicm@) ~ server-client.c ~ tmux.h > It is annoying that the copy mode key table (or any other key table) > will suppress root key table bindings. So change to always check the > root table if no binding is found in the current table (whether it be > the prefix table from pressing the prefix or the copy mode table from a > pane). > A root key binding can be blocked by binding the key to a command that > does nothing (like send-keys with no arguments). > Problem reported by Thomas Sattler. (nicm@) ~ cmd-find.c ~ cmd-split-window.c ~ server-client.c ~ tmux.h > Add cmd_find_from_winlink_pane and use it in a couple of places, and > make functions that can't fail void. (nicm@) ~ cmd-queue.c ~ tmux.h > Style nits and an unused struct. (nicm@) ~ key-bindings.c ~ server-client.c > Key needs to be initialized to zero now it has flags in it. (nicm@) ~ cmd-find.c ~ cmd-queue.c ~ cmd-run-shell.c ~ cmd.c ~ notify.c ~ server.c ~ tmux.h > Make the cmd_find_* functions more obvious when looking for a client, > rather than having it inside other functions. Should be no change to the > way targets are resolved just yet. (nicm@) ~ cmd-queue.c > Clear shared state if not filling it in. (nicm@) ~ cmd-select-pane.c > Rename a variable. (nicm@) ~ cmd-find.c > Make sure cmd_find_from_* clear the state if they fail. (nicm@) ~ cmd-find.c ~ cmd-queue.c ~ server-client.c > Log error properly when no current state, and some other minor tweaks. > (nicm@) ~ cmd-load-buffer.c ~ cmd-save-buffer.c ~ cmd-set-option.c ~ options.c ~ server.c > Memory leaks, from David CARLIER. (nicm@) ~ tmux.1 > Typo in example. (nicm@) ~ cmd-if-shell.c > Fix if-shell without a client (so in the config file). Reported by Theo > Buehler. (nicm@) ~ input.c > We need to collect UTF-8 characters so that width != 1 characters are > correctly flushed. (nicm@) ~ cmd-attach-session.c ~ cmd-break-pane.c ~ cmd-find-window.c ~ cmd-join-pane.c ~ cmd-new-session.c ~ cmd-new-window.c ~ cmd-select-pane.c ~ cmd-select-window.c ~ cmd-split-window.c ~ cmd-switch-client.c ~ server-client.c > Mouse bindings and hooks set up an initial current state when running a > command. This is used for the session, window and pane for all commands > in the command sequence if there is no -t or -s. > However, using it for all commands in the command sequence means that if > the active pane or current session is changed, subsequent commands still > use the previous state. So make commands which explicitly change the > current state (such as neww and selectp) update it themselves for later > commands. Commands which may invalidate the state (like killp) are > already OK because an invalid state will be ignored. > Also fill in the current state for all key bindings rather than just the > mouse, so that any omissions are easier to spot. (nicm@) ~ cmd-attach-session.c ~ cmd-break-pane.c ~ cmd-capture-pane.c ~ cmd-choose-buffer.c ~ cmd-choose-client.c ~ cmd-choose-tree.c ~ cmd-command-prompt.c ~ cmd-confirm-before.c ~ cmd-copy-mode.c ~ cmd-detach-client.c ~ cmd-display-message.c ~ cmd-display-panes.c ~ cmd-find-window.c ~ cmd-find.c ~ cmd-if-shell.c ~ cmd-join-pane.c ~ cmd-kill-pane.c ~ cmd-kill-session.c ~ cmd-kill-window.c ~ cmd-list-clients.c ~ cmd-list-panes.c ~ cmd-list-windows.c ~ cmd-lock-server.c ~ cmd-move-window.c ~ cmd-new-session.c ~ cmd-new-window.c ~ cmd-paste-buffer.c ~ cmd-pipe-pane.c ~ cmd-queue.c ~ cmd-refresh-client.c ~ cmd-rename-session.c ~ cmd-rename-window.c ~ cmd-resize-pane.c ~ cmd-respawn-pane.c ~ cmd-respawn-window.c ~ cmd-rotate-window.c ~ cmd-run-shell.c ~ cmd-select-layout.c ~ cmd-select-pane.c ~ cmd-select-window.c ~ cmd-send-keys.c ~ cmd-set-environment.c ~ cmd-set-hook.c ~ cmd-set-option.c ~ cmd-show-environment.c ~ cmd-show-messages.c ~ cmd-show-options.c ~ cmd-split-window.c ~ cmd-swap-pane.c ~ cmd-swap-window.c ~ cmd-switch-client.c ~ cmd.c ~ tmux.h > Get rid of the extra layer of flags and cmd_prepare() and just store the > CMD_FIND_* flags in the cmd_entry and call it for the command. Commands > with special requirements call it themselves and update the target for > hooks to use. (nicm@) ~ cmd-new-session.c > new -A should use the session name. (nicm@) ~ screen-write.c > Can't collect UTF-8 characters of more than one byte at the moment. (nicm@) ~ arguments.c ~ cmd-find.c ~ tmux.c > Do not need getopt.h. (nicm@) ~ status.c > Memory leak from David CARLIER. (nicm@) ~ tty.c > Only use ED for clear screen if at the bottom, same as earlier fix to > clear end of screen. (nicm@) vi ~ cl/cl_screen.c ~ common/cut.c ~ common/exf.c ~ common/key.c ~ common/log.c ~ common/main.c ~ common/options.c ~ common/screen.c ~ common/seq.c ~ ex/ex_bang.c ~ ex/ex_init.c ~ ex/ex_read.c ~ ex/ex_script.c ~ ex/ex_subst.c ~ ex/ex_tag.c ~ vi/v_init.c ~ vi/v_paragraph.c ~ vi/vi.c ~ vi/vs_msg.c > free(NULL) is ok so use it; from Michael W. Bombardieri (deraadt@) == usr.sbin ========================================================== 14/14 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin arp ~ arp.c > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) bgpd ~ pfkey.c > use freezero() (deraadt@) dhcpd ~ dhcpd.h ~ packet.c > Use better types for checksum() parameters and local var from > dhclient. Eliminate extra prototypes for checksum() and wrapsum(). (krw@) ~ bpf.c > After 11 years of pondering about it I think that [email protected] > had it correct. Don't BPF_WORDALIGN() the value for the number of > bytes read() into the buffer. This could theoretically cause the > processing of 1 - 3 more bytes than were read. (krw@) ~ bpf.c ~ dhcpd.h ~ packet.c > Tweak parameters to decode_*, add a check or two, and thus gain most of the > sanity improvements reyk@ recently put into dhcrelay to ensure no more than > the captured packet is processed. (krw@) ~ bpf.c > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) dhcrelay ~ bpf.c > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) dhcrelay6 ~ Makefile > Remove -Werror to make dhcrelay6 on gcc3 architecture successfully. > ok reyk (aoyama@) ~ bpf.c > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) hostapd ~ hostapd.c > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) httpd ~ server.c > some freezero() calls (deraadt@) identd ~ Makefile > Different compilers and versions of compilers have different warnings. > Remove -Werror to give code a greater chance of building. > ok deraadt@ florian@ (jsg@) ~ identd.c > removed unused function; from Edgar Pettijohn (deraadt@) ldpd ~ pfkey.c > use freezero() (deraadt@) mksuncd ~ Makefile > Different compilers and versions of compilers have different warnings. > Remove -Werror to give code a greater chance of building. > ok deraadt@ florian@ (jsg@) mopd ~ common/pf.c > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) npppd ~ npppd/npppd.c > Delete #include lines which are unnecessary. (yasuoka@) ~ npppd/npppd.c > Warn if pipex(4) is disabled but the configuration uses it. (yasuoka@) ~ npppd/privsep.c ~ pppoe/pppoed.c > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) ntpd ~ ntp_dns.c > don't manipulate hdr.len, it's used internally by libutil now; ok florian@ > (otto@) pkg_add ~ OpenBSD/Error.pm > recent perl have signal names we don't have, protect against that. > also, allow child_error to take a parameter so that this can be used to > decode > an arbitrary wait() result. (espie@) rarpd ~ rarpd.c > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) rbootd ~ bpf.c ~ rbootd.8 > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) relayd ~ relayd.conf.5 > better example; from hiltjo posthuma > ok sthen (jmc@) sasyncd ~ pfkey.c > use freezero() (deraadt@) snmpd ~ trap.c > Fix uninitialized variable that coult result in a crash. > Fix from Rivo Nurges. (jca@) ~ control.c ~ snmpd.h ~ snmpe.c > Repair AgentX support. > which I broke when adding support for multiple listen address. SNMP > data should be sent to the client using the appropriate socket, which we > now store when we receive the query. > Reported & fix tested by Rivo Nurges. (jca@) syslogd ~ syslogd.8 ~ syslogd.c > Add syslogd(8) option -r to suppress the summary line for pipe and > remote loghost as they are most commonly used for automated log > processing. With -rr the "last message repeated" feature can be > disabled completely. > OK sthen@ deraadt@ jmc@ (bluhm@) tcpdump ~ privsep_pcap.c ~ tcpdump.8 > Switch base tools from /dev/bpf0 to /dev/bpf. Now that /dev/bpf has been > around for two releases, it should be safe to do so. > ok bluhm deraadt sthen tb yasuoka (natano@) tftp-proxy ~ Makefile > Different compilers and versions of compilers have different warnings. > Remove -Werror to give code a greater chance of building. > ok deraadt@ florian@ (jsg@) tftpd ~ Makefile > Different compilers and versions of compilers have different warnings. > Remove -Werror to give code a greater chance of building. > ok deraadt@ florian@ (jsg@) vmctl ~ main.c ~ vmctl.8 ~ vmctl.c > Add support for dynamic "NAT" interfaces (-L/local interface). > When a local interface is configured, vmd configures a /31 address on > the tap(4) interface of the host and provides another IP in the same > subnet via DHCP (BOOTP) to the VM. vmd runs an internal BOOTP server > that replies with IP, gateway, and DNS addresses to the VM. The > built-in server only ever responds to the VM on the inside and cannot > leak its DHCP responses to the outside. > Thanks to Uwe Werler, Josh Grosse, and some others for testing! > OK deraadt@ (reyk@) vmd ~ Makefile ~ parse.y ~ priv.c ~ virtio.c ~ virtio.h ~ vm.c ~ vm.conf.5 ~ vmd.c ~ vmd.h + dhcp.c + dhcp.h + packet.c > Add support for dynamic "NAT" interfaces (-L/local interface). > When a local interface is configured, vmd configures a /31 address on > the tap(4) interface of the host and provides another IP in the same > subnet via DHCP (BOOTP) to the VM. vmd runs an internal BOOTP server > that replies with IP, gateway, and DNS addresses to the VM. The > built-in server only ever responds to the VM on the inside and cannot > leak its DHCP responses to the outside. > Thanks to Uwe Werler, Josh Grosse, and some others for testing! > OK deraadt@ (reyk@) ~ pci.c > vmd(8) pci emulation fix required for upcoming option rom support. > This will be used in the future to support an sgabios option rom, to > do VGA text mode console redirection. > ok reyk (mlarkin@) ~ config.c ~ control.c ~ dhcp.c ~ parse.y ~ priv.c ~ vm.conf.5 ~ vmd.c ~ vmd.h ~ vmm.c > Add global configuration option "local prefix" to change prefix for -L. > The default prefix is 100.64.0.0/10 from RFC6598. > Requested by sthen@ chris@ > OK mlarkin@ (reyk@) ~ parse.y > Fail if vm.conf exists but cannot be opened, ignore if it doesn't exist. > This fixes 'vmd -nf /etv/vm.conf' if the file is not readable. (reyk@) ypldap ~ ypldap_dns.c > don't manipulate hdr.len, it's used internally by libutil now; ok florian@ > (otto@) =============================================================================== _______________________________________________ owc mailing list [email protected] http://www.squish.net/mailman/listinfo/owc
