OpenBSD src changes summary for 2016-04-24 to 2016-05-01 inclusive ==================================================================
bin bin/ksh bin/ps bin/systrace distrib/armv7 distrib/miniroot distrib/sets etc/MAKEDEV.common etc/Makefile etc/daily etc/etc.alpha/MAKEDEV etc/etc.alpha/MAKEDEV.md etc/etc.amd64/MAKEDEV etc/etc.amd64/MAKEDEV.md etc/etc.armish/MAKEDEV etc/etc.armish/MAKEDEV.md etc/etc.armv7/MAKEDEV etc/etc.armv7/MAKEDEV.md etc/etc.hppa/MAKEDEV etc/etc.hppa/MAKEDEV.md etc/etc.hppa64/MAKEDEV etc/etc.hppa64/MAKEDEV.md etc/etc.i386/MAKEDEV etc/etc.i386/MAKEDEV.md etc/etc.landisk/MAKEDEV etc/etc.landisk/MAKEDEV.md etc/etc.loongson/MAKEDEV etc/etc.loongson/MAKEDEV.md etc/etc.luna88k/MAKEDEV etc/etc.luna88k/MAKEDEV.md etc/etc.macppc/MAKEDEV etc/etc.macppc/MAKEDEV.md etc/etc.octeon/MAKEDEV etc/etc.octeon/MAKEDEV.md etc/etc.sgi/MAKEDEV etc/etc.sgi/MAKEDEV.md etc/etc.socppc/MAKEDEV etc/etc.socppc/MAKEDEV.md etc/etc.sparc/MAKEDEV etc/etc.sparc/MAKEDEV.md etc/etc.sparc64/MAKEDEV etc/etc.sparc64/MAKEDEV.md etc/etc.zaurus/MAKEDEV etc/etc.zaurus/MAKEDEV.md etc/mtree/4.4BSD.dist etc/mtree/special etc/rc etc/rc.d/rc.subr etc/rc.d/sndiod etc/systrace/usr_sbin_lpd gnu/usr.bin/binutils-2.17 gnu/usr.bin/perl lib/libc lib/libcrypto lib/libedit lib/libkvm lib/libm lib/libssl lib/libtls libexec/ftpd libexec/login_reject libexec/login_yubikey libexec/rpc.rusersd libexec/rpc.rwalld libexec/spamd regress/bin regress/lib regress/sys regress/usr.bin sbin/dhclient sbin/fsck_ext2fs sbin/ifconfig sbin/pdisk share/man share/mk sys/arch/alpha/alpha sys/arch/alpha/conf sys/arch/alpha/include sys/arch/amd64/amd64 sys/arch/amd64/conf sys/arch/amd64/include sys/arch/amd64/stand/efiboot sys/arch/arm/arm sys/arch/arm/include sys/arch/arm/xscale sys/arch/armish/armish sys/arch/armish/conf sys/arch/armv7/armv7 sys/arch/armv7/conf sys/arch/armv7/exynos sys/arch/armv7/imx sys/arch/armv7/omap sys/arch/armv7/vexpress sys/arch/hppa/conf sys/arch/hppa/hppa sys/arch/hppa/include sys/arch/hppa64/conf sys/arch/hppa64/hppa64 sys/arch/hppa64/include sys/arch/i386/conf sys/arch/i386/i386 sys/arch/i386/include sys/arch/landisk/conf sys/arch/landisk/landisk sys/arch/loongson/conf sys/arch/loongson/loongson sys/arch/luna88k/conf sys/arch/luna88k/luna88k sys/arch/m88k/include sys/arch/macppc/conf sys/arch/macppc/macppc sys/arch/mips64/include sys/arch/mips64/mips64 sys/arch/octeon/conf sys/arch/octeon/dev sys/arch/octeon/octeon sys/arch/powerpc/include sys/arch/sgi/conf sys/arch/sgi/sgi sys/arch/sh/include sys/arch/socppc/conf sys/arch/socppc/socppc sys/arch/sparc/conf sys/arch/sparc/include sys/arch/sparc/sparc sys/arch/sparc64/conf sys/arch/sparc64/include sys/arch/sparc64/sparc64 sys/arch/zaurus/conf sys/arch/zaurus/zaurus sys/conf sys/dev sys/dev/acpi sys/dev/ic sys/dev/pci sys/dev/pv sys/dev/sdmmc sys/dev/wscons sys/isofs/cd9660 sys/isofs/udf sys/kern sys/miscfs/fuse sys/msdosfs sys/net sys/net80211 sys/netinet sys/netinet6 sys/nfs sys/ntfs sys/sys sys/ufs/ext2fs sys/ufs/mfs usr.bin/compress usr.bin/doas usr.bin/file usr.bin/fstat usr.bin/kdump usr.bin/libtool usr.bin/mandoc usr.bin/netstat usr.bin/openssl usr.bin/ssh usr.bin/tmux usr.bin/units usr.sbin/dhcpd usr.sbin/httpd usr.sbin/installboot usr.sbin/kvm_mkdb usr.sbin/ldapctl usr.sbin/ldapd usr.sbin/pkg_add usr.sbin/pstat usr.sbin/rcctl usr.sbin/smtpd usr.sbin/sysmerge usr.sbin/user usr.sbin/vmctl usr.sbin/ypldap == bin =============================================================== 01/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin bin ~ Makefile > unlink systrace from the build. pledge is the glorious future that awaits. > the rest of systrace to be deleted in a serious of followup commits. > ok from larger openbsd developer community (tedu@) ksh ~ ksh.1 ~ lex.c > Do not handle echo "`echo \"hi\"`" in POSIX mode differently than in > traditional mode. This aligns ksh's behavior with bash and FreeBSD sh. > The interpretation of the POSIX text is disputed, but it is unlikely > that a change from the traditional behavior was intended. > ok millert@ (naddy@) ps ~ print.c ~ ps.1 > remove references to systrace (tedu@) ~ ps.1 > remove list item left in previous; (jmc@) systrace - Makefile - alias.c - cradle.c - filter.c - filter.h - intercept-translate.c - intercept.c - intercept.h - lex.l - openbsd-syscalls.c - parse.y - policy.c - register.c - systrace-errno.h - systrace-error.c - systrace-translate.c - systrace.1 - systrace.c - systrace.h - util.c - util.h > boom goes the dynamite (tedu@) == distrib =========================================================== 02/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib armv7 ~ ramdisk/list > libotermcap was removed from the miniroots in 2013. Additionally, -lc > was added for all miniroots at the same time. > ok deraadt@ jsg@ (patrick@) miniroot ~ install.sub > In upgrade mode, automatically run sysmerge(8) in batch mode before > fw_update(1). > Putting this at the beginning of the p2k16 hackathon so we can see if > anything > breaks and to get feedback about the output etc > If sysmerge cannot merge/install a file automatically, login into the > machine > and running it interactively will ask you what you want to do with it. > It may not stay in this exact form, but that's a first step and now is a > good > time to get it in. > discussed with deraadt@ for a while > ok rpe@ (ajacoutot@) ~ install.sub > rc.firsttime -> rc.sysmerge for running sysmerge(8) after an upgrade. > While here, don't echo 'running sysmerge...' since that'd get us a mail > each > time we upgrade even when nothing changed. > ok deraadt@ rpe@ (ajacoutot@) ~ install.sub > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) sets ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armish ~ lists/base/md.armv7 ~ lists/base/md.hppa ~ lists/base/md.hppa64 ~ 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.sparc ~ lists/base/md.sparc64 ~ lists/base/md.zaurus ~ lists/base/mi ~ lists/comp/mi ~ lists/etc/mi ~ lists/man/mi > sync (deraadt@) ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armish ~ lists/base/md.armv7 ~ lists/base/md.hppa ~ lists/base/md.hppa64 ~ 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.sparc ~ lists/base/md.sparc64 ~ lists/base/md.zaurus ~ lists/base/mi ~ lists/comp/md.alpha ~ lists/comp/md.amd64 ~ lists/comp/md.armish ~ lists/comp/md.armv7 ~ lists/comp/md.hppa ~ lists/comp/md.hppa64 ~ lists/comp/md.i386 ~ lists/comp/md.landisk ~ lists/comp/md.loongson ~ lists/comp/md.luna88k ~ lists/comp/md.macppc ~ lists/comp/md.octeon ~ lists/comp/md.sgi ~ lists/comp/md.socppc ~ lists/comp/md.sparc ~ lists/comp/md.sparc64 ~ lists/comp/md.zaurus ~ lists/comp/mi > sync (a few comp tools move to base, to support library boot-randomization) > (deraadt@) ~ lists/base/mi > sync (deraadt@) ~ lists/base/md.armv7 ~ lists/comp/md.armv7 > sync > ok deraadt@ jsg@ (patrick@) == etc =============================================================== 03/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc MAKEDEV.common ~ MAKEDEV.common > rm systrace (tedu@) ~ MAKEDEV.common > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) Makefile ~ Makefile > burn down the systrace (tedu@) daily ~ daily > Delete invocation of mailq(1) that was present for historical reasons. > On a real mailserver, it's too noisy and may be a privacy concern. > On a machine that's not a mailserver, it's pointless. > Besides, Theo points out that running subsystems that potentially > parse untrusted user data daily, at a predictable time, as root > is not a very good idea in the first place. > Suggested by millert@; gilles@ matthieu@ deraadt@ sthen@ agree (schwarze@) etc.alpha/MAKEDEV ~ etc.alpha/MAKEDEV > regen (tedu@) ~ etc.alpha/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.alpha/MAKEDEV.md ~ etc.alpha/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.alpha/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.amd64/MAKEDEV ~ etc.amd64/MAKEDEV > regen (tedu@) ~ etc.amd64/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.amd64/MAKEDEV.md ~ etc.amd64/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.amd64/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.armish/MAKEDEV ~ etc.armish/MAKEDEV > regen (tedu@) ~ etc.armish/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.armish/MAKEDEV.md ~ etc.armish/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.armish/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.armv7/MAKEDEV ~ etc.armv7/MAKEDEV > regen (tedu@) ~ etc.armv7/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.armv7/MAKEDEV.md ~ etc.armv7/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.armv7/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.hppa/MAKEDEV ~ etc.hppa/MAKEDEV > regen (tedu@) ~ etc.hppa/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.hppa/MAKEDEV.md ~ etc.hppa/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.hppa/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.hppa64/MAKEDEV ~ etc.hppa64/MAKEDEV > regen (tedu@) ~ etc.hppa64/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.hppa64/MAKEDEV.md ~ etc.hppa64/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.hppa64/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.i386/MAKEDEV ~ etc.i386/MAKEDEV > regen (tedu@) ~ etc.i386/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.i386/MAKEDEV.md ~ etc.i386/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.i386/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.landisk/MAKEDEV ~ etc.landisk/MAKEDEV > regen (tedu@) ~ etc.landisk/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.landisk/MAKEDEV.md ~ etc.landisk/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.landisk/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.loongson/MAKEDEV ~ etc.loongson/MAKEDEV > regen (tedu@) ~ etc.loongson/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.loongson/MAKEDEV.md ~ etc.loongson/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.loongson/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.luna88k/MAKEDEV ~ etc.luna88k/MAKEDEV > regen (tedu@) ~ etc.luna88k/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.luna88k/MAKEDEV.md ~ etc.luna88k/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.luna88k/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.macppc/MAKEDEV ~ etc.macppc/MAKEDEV > regen (tedu@) ~ etc.macppc/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.macppc/MAKEDEV.md ~ etc.macppc/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.macppc/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.octeon/MAKEDEV ~ etc.octeon/MAKEDEV > regen (tedu@) ~ etc.octeon/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.octeon/MAKEDEV.md ~ etc.octeon/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.octeon/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.sgi/MAKEDEV ~ etc.sgi/MAKEDEV > regen (tedu@) ~ etc.sgi/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.sgi/MAKEDEV.md ~ etc.sgi/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.sgi/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.socppc/MAKEDEV ~ etc.socppc/MAKEDEV > regen (tedu@) ~ etc.socppc/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.socppc/MAKEDEV.md ~ etc.socppc/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.socppc/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.sparc/MAKEDEV ~ etc.sparc/MAKEDEV > regen (tedu@) ~ etc.sparc/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.sparc/MAKEDEV.md ~ etc.sparc/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.sparc/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.sparc64/MAKEDEV ~ etc.sparc64/MAKEDEV > regen (tedu@) ~ etc.sparc64/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.sparc64/MAKEDEV.md ~ etc.sparc64/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.sparc64/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.zaurus/MAKEDEV ~ etc.zaurus/MAKEDEV > regen (tedu@) ~ etc.zaurus/MAKEDEV > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) etc.zaurus/MAKEDEV.md ~ etc.zaurus/MAKEDEV.md > burn down the systrace (tedu@) ~ etc.zaurus/MAKEDEV.md > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) mtree/4.4BSD.dist ~ mtree/4.4BSD.dist > burn down the systrace (tedu@) mtree/special ~ mtree/special > burn down the systrace (tedu@) rc ~ rc > Re-link (only the newest) libc.so, placing the objects in a random > order. > with shell script assistance from rpe (deraadt@) ~ rc > Use 'sort -V' which is actually meant to sort version numbers. > Noted by zhuk@ > OK deraadt@ (rpe@) ~ rc > We want to run sysmerge(8) a bit earlier in the boot process so that it has > a > chance to update the *default* configuration of the important daemons. > Factorize rc.firsttime into a run_upgrade_script() function which takes the > script suffix name as an argument. > i.e. run_upgrade_script sysmerge / run_upgrade_script firsttime > discussed with deraadt@ > ok deraadt@ rpe@ (ajacoutot@) rc.d/rc.subr ~ rc.d/rc.subr > Extend _RC_RUNFILE (/var/run/rc.d/scriptname) content with: > daemon_class, daemon_flags, daemon_timeout, daemon_user, pexp > Add "pexp" as a valid variable to _rc_parse_conf() and sort the list while > here. > Besides having an easy way to see how a daemon was started exactly, it > opens the > door to rdomain/rtable support in rc.d(8). We need to have as much > information > on a daemon as possible if we want to target a specific rtable (using -T) > and it > also makes it easier to start multiple instances of the same daemon with > similar > flags as a different user... > Of course that only works with rc.d scripts *not* overwritting the default > rc_* > functions. > Man page tweaks coming later. > discussed with and ok robert@ (ajacoutot@) ~ rc.d/rc.subr > Introduce rtable(4) support to rc.subr(8). > It works by adding daemon_rtable=$id in /etc/rc.conf.local. > rcctl(8) support coming in a few and so are the man pages bits. > If you want multiple instances of the same daemon running in different > routing tables, just symlink the original rc.d script. > e.g. > # cd /etc/rc.d && ln -s dhcpd dhcpd42 > Then enable your daemons as such in rc.conf.local: > dhcpd_flags= > dhcpd42_flags= > dhcpd42_rtable=42 > most work done by Jiri B <[email protected]>; with a few tweaks and > simplifications > by yours truly > ok robert@ > ... should make henning happy ;-) (ajacoutot@) ~ rc.d/rc.subr > Bump copyright. (ajacoutot@) ~ rc.d/rc.subr > Revert matching on the daemon user for now; it breaks sndiod handling which > does start as root but does not have a root master process and instead > changed its uid. > reported by deraadt@ (ajacoutot@) ~ rc.d/rc.subr > Revert the revert and match on the daemon_user again. > We'll see if something else breaks but it's the right thing to do. > discussed with robert@ (ajacoutot@) ~ rc.d/rc.subr > Experiment on matching on the daemon_user is over. It needs more work. > portmap isn't happy with it as reported by naddy@ (ajacoutot@) rc.d/sndiod ~ rc.d/sndiod > Override each and every rc.d functions to be able to match on the user. > (ajacoutot@) ~ rc.d/sndiod > Experiment on matching on the daemon_user is over. It needs more work. > portmap isn't happy with it as reported by naddy@ (ajacoutot@) systrace/usr_sbin_lpd - systrace/usr_sbin_lpd > burn down the systrace (tedu@) == gnu =============================================================== 04/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu usr.bin/binutils-2.17 ~ bfd/archures.c ~ bfd/bfd-in2.h ~ bfd/cpu-mips.c ~ bfd/elfxx-mips.c ~ gas/config/tc-mips.c ~ include/elf/mips.h ~ include/opcode/mips.h ~ opcodes/mips-dis.c ~ opcodes/mips-opc.c > Add Octeon specific sync opcodes. > This is needed for proper sili(4) functionality on Octeon II machines. > OK jasper@, visa@ (pirofti@) ~ binutils/readelf.c > Show octeon in readelf -h output. (visa@) usr.bin/perl ~ perl.c > Stop embedding the build time in the Perl binary. > This is a backport of commit 6baa8d with the local addition of: > undef PERL_BUILD_DATE > ok afresh1@ (daniel@) == lib =============================================================== 05/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ stdlib/setenv.c > Allow setenv(3) and putenv(3) to operate on a NULL environ pointer. > The getenv(3) and unsetenv(3) functions already support this. > This will make it easier to emulate the glibc clearenv() function in ports. > Based on a diff from and OK jca@ (millert@) ~ Makefile > Enable LIBREBUILD to construct libc.so.*.a (deraadt@) ~ arch/arm/string/Makefile.inc > remove duplicate strrchr.c entry in SRCS > ok deraadt@ (jsg@) ~ arch/sparc64/gen/setjmp.S > Don't use sigreturn(2) in longjmp(3). Instead use a similar approach as in > _longjmp(3) but also restore the signal mask. > ok deraadt@ (kettenis@) ~ arch/hppa/gen/Makefile.inc > Don't add setjmp.S twice. (kettenis@) ~ net/res_comp.c > Remove old NeXT-specific cruft. From mmcc@ (millert@) libcrypto ~ crypto/shlib_version > Crank majors for lib{crypto,ssl,tls} due to symbol removals, symbol > additions and functionality changes. (jsing@) libedit ~ search.c > Initialize the search buffer. > Otherwise, if you called ed-search-prev-history before doing any > history search but after entering at least one line into the history, > the buffer could get accessed uninitialized, potentially resulting > in a read buffer overrun. > Segfault reported in sftp(1) via djm@ by Alf Schlichting <A dot > Schlichting at lemarit dot com>, who also confirmed that the patch > fixes the issue for him. > OK martijn@ czarkoff@ (schwarze@) libkvm ~ kvm_file2.c ~ kvm_getfiles.3 > no more systrace (tedu@) libm ~ man/acos.3 ~ man/acosh.3 ~ man/asin.3 ~ man/atan.3 ~ man/atan2.3 ~ man/atanh.3 ~ man/cosh.3 ~ man/cproj.3 ~ man/erf.3 ~ man/exp.3 ~ man/fdim.3 ~ man/feclearexcept.3 ~ man/fmax.3 ~ man/hypot.3 ~ man/ilogb.3 ~ man/j0.3 ~ man/lgamma.3 ~ man/logb.3 ~ man/nan.3 ~ man/remainder.3 ~ man/scalbn.3 > Remove predefined strings from libm pages. > With lots of help, input and tweaks and finally ok schwarze@ (tb@) ~ man/atanh.3 ~ man/hypot.3 > minor cleanup; (jmc@) libssl ~ src/crypto/evp/e_chacha20poly1305.c ~ src/crypto/evp/evp.h ~ src/ssl/ssl_ciph.c > Rename EVP_aead_chacha20_poly1305() to EVP_aead_chacha20_poly1305_old() > and replace with EVP_aead_chacha20_poly1305_ietf(). The IETF version will > become the standard version. > Discussed with many. (jsing@) ~ src/ssl/s3_lib.c ~ src/ssl/ssl_ciph.c ~ src/ssl/ssl_locl.h ~ src/ssl/t1_enc.c ~ src/ssl/tls1.h > Implement the IETF ChaCha20-Poly1305 cipher suites. > Rename the existing ChaCha20-Poly1305 cipher suites with an "-OLD" suffix, > effectively replaces the original Google implementation. We continue to > support both the IETF and Google versions, however the existing names > now refer to the ciphers from draft-ietf-tls-chacha20-poly1305-04. > Feedback from doug@ (jsing@) ~ src/crypto/ui/ui_lib.c > don't go into an unbreakable infinite loop during operations such > as reading passwords. allow ^C to break. > the pain was mine, the fix is miod's. (tedu@) ~ ssl/shlib_version > Crank majors for lib{crypto,ssl,tls} due to symbol removals, symbol > additions and functionality changes. (jsing@) libtls ~ tls_init.3 > typos; (jmc@) ~ tls_init.3 > no more outlen; from remco > ok bcook deraadt (jmc@) ~ tls.c ~ tls.h ~ tls_config.c ~ tls_init.3 ~ tls_internal.h > Rework the error handling in libtls so that we can associate errors with > both configuration and contexts. This allows us to propagate errors that > occur during configuration, rather than either just failing with no reason > or delaying the failure until it can be propagated via the tls context. > Also provide a tls_config_error() function for retrieving the last error > from a tls_config *. > ok bcook@ (jsing@) ~ tls.c ~ tls.h ~ tls_client.c ~ tls_config.c ~ tls_init.3 ~ tls_internal.h ~ tls_server.c > Factor our the keypair handling in libtls. This results in more readable > and self-contained code, while preparing for the ability to handle > multiple keypairs. Also provide two additional functions that allow > a public certificate and private key to be set with a single function > call. > ok beck@ (jsing@) ~ shlib_version > Crank majors for lib{crypto,ssl,tls} due to symbol removals, symbol > additions and functionality changes. (jsing@) ~ tls_init.3 > spelling fix; (jmc@) == libexec =========================================================== 06/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ftpd ~ ftpd.c ~ monitor.c > prefer setres{u,g}id() rather than manipulating both real and effective > ids, it clarifies these are full revocation situations. > ok millert (deraadt@) login_reject ~ login_reject.c > Add missing "tty" promise to the pledge(2) call > This is needed since getpass(3) calls readpassphrase(3) which in turn tries > to open(2) a tty in O_RDWR mode > Problem reported by Kevin Chadwick <m8il1ists ! gmail.com> > Cluebat stick provided by deraadt@, OK millert@ (mestre@) login_yubikey ~ login_yubikey.c > explicit_bzero some keys after use. > From fritjof () alokat ! org, thanks! > ok semarie@ (benno@) rpc.rusersd ~ rusersd.c > prefer setres{u,g}id() rather than manipulating both real and effective > ids, it clarifies these are full revocation situations. > ok millert (deraadt@) rpc.rwalld ~ rwalld.c > prefer setres{u,g}id() rather than manipulating both real and effective > ids, it clarifies these are full revocation situations. > ok millert (deraadt@) spamd ~ spamd.c > Remove pledge(2)'s that are called before chroot(2) since in the near > future > this will be forbidden. The remaining pledge(2) calls after chroot(2) are > still > kept. > OK semarie@ "it is time now" (mestre@) == regress =========================================================== 07/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress bin - systrace/Makefile - systrace/id/Makefile - systrace/id/id.policy - systrace/id/id.sh - systrace/symlink/Makefile - systrace/symlink/ln.policy ~ Makefile > remove systrace (tedu@) lib ~ libcrypto/aead/aeadtest.c ~ libcrypto/aead/aeadtests.txt > Update AEAD regress to match EVP_aead_chacha20_poly1305() changes. (jsing@) ~ libssl/client/clienttest.c > Update regress test to reflect changes in the cipher list. (jsing@) sys - kern/pledge/generic/systrace.filter.in ~ kern/pledge/generic/Makefile > remove systrace (tedu@) ~ kern/pledge/generic/test_stdio.c > unbreak pledge/generic test (breaked since ?) > it still requires a pledge(2) with wlpath enable. (semarie@) usr.bin ~ file/Makefile + file/t31.in + file/t31.out > Test for default (RTF file with an unrecognized character set). (nicm@) ~ file/Makefile + file/t32.in + file/t32.out > Add a PPM file test (truncated to just the header so it is text only). > (nicm@) - file/t23.in - file/t23.out ~ file/Makefile > Remove some unnecessary comments and t23 which has been disabled forever. > (nicm@) ~ file/Makefile + file/t11.in + file/t11.out > pcap file test (header of file only). (nicm@) ~ file/Makefile ~ file/t18.in + file/t19.in + file/t19.out > BE ELF object (just the header); also trim the LE object to just the > header as well. (nicm@) ~ file/Makefile + file/t33.in + file/t33.out > Add a test for pstring (a QDOS executable header). (nicm@) == sbin ============================================================== 08/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ dhclient.c > If the attempt to broadcast a DCHPDISCOVER packet returns EAFNOSUPPORT, > don't bother to keep trying to get a lease. It ain't gonna happen. Just > print and error message and exit. (krw@) fsck_ext2fs ~ inode.c ~ pass2.c ~ setup.c > Fix fsck'ing. ext2fs_dinode grew extra bits to support ext4 > and sizeof(struct ext2fs_dinode) had to be replaced with > EXT2_DINODE_SIZE() and such. > ok beck@ (krw@) ifconfig ~ ifconfig.c > Show 11n HT rate in ifconfig scan output. Needs a new kernel. > ok mpi@ (stsp@) pdisk ~ pdisk.c > Tweak command line processing vs pledge logic to make things nicer. No > functional change. > Prodded (a while ago) and ok (recently) deraadt@ (krw@) == share ============================================================= 09/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/wscons.4 ~ man4/wsdisplay.4 > Remove mention of COMPAT_PCVT. Reminder by guenther@, thanks. (matthieu@) - man4/systrace.4 - man9/systrace.9 ~ man4/Makefile ~ man5/bsd.port.mk.5 ~ man7/hier.7 ~ man7/ports.7 ~ man9/Makefile ~ man9/syscall.9 > remove systrace (tedu@) ~ man8/man8.alpha/MAKEDEV.8 ~ man8/man8.amd64/MAKEDEV.8 ~ man8/man8.armish/MAKEDEV.8 ~ man8/man8.armv7/MAKEDEV.8 ~ man8/man8.hppa/MAKEDEV.8 ~ man8/man8.hppa64/MAKEDEV.8 ~ man8/man8.i386/MAKEDEV.8 ~ man8/man8.landisk/MAKEDEV.8 ~ man8/man8.loongson/MAKEDEV.8 ~ man8/man8.luna88k/MAKEDEV.8 ~ man8/man8.macppc/MAKEDEV.8 ~ man8/man8.octeon/MAKEDEV.8 ~ man8/man8.sgi/MAKEDEV.8 ~ man8/man8.socppc/MAKEDEV.8 ~ man8/man8.sparc/MAKEDEV.8 ~ man8/man8.sparc64/MAKEDEV.8 ~ man8/man8.zaurus/MAKEDEV.8 > regen (tedu@) ~ man4/rtsx.4 > Match on RTS522A. Found in 2016 thinkpads. > Tested by Bryan Vyhmeister on x260. (jsg@) ~ man5/port-modules.5 > add stub for font.port.mk (jasper@) ~ man5/port-modules.5 > We use MODPY_COMMENT, not MODPY_PYCOMMENT. > OK jasper@ danj@ (tsg@) ~ man5/port-modules.5 > some minor cleanup; (jmc@) ~ man8/rc.d.8 ~ man8/rc.subr.8 > Document recent rc.subr/rc.d changes. > ok sthen@ robert@ (ajacoutot@) ~ man8/rc.subr.8 > unwanted .El; (jmc@) ~ man8/man8.alpha/MAKEDEV.8 ~ man8/man8.amd64/MAKEDEV.8 ~ man8/man8.armish/MAKEDEV.8 ~ man8/man8.armv7/MAKEDEV.8 ~ man8/man8.hppa/MAKEDEV.8 ~ man8/man8.hppa64/MAKEDEV.8 ~ man8/man8.i386/MAKEDEV.8 ~ man8/man8.landisk/MAKEDEV.8 ~ man8/man8.loongson/MAKEDEV.8 ~ man8/man8.luna88k/MAKEDEV.8 ~ man8/man8.macppc/MAKEDEV.8 ~ man8/man8.octeon/MAKEDEV.8 ~ man8/man8.sgi/MAKEDEV.8 ~ man8/man8.socppc/MAKEDEV.8 ~ man8/man8.sparc/MAKEDEV.8 ~ man8/man8.sparc64/MAKEDEV.8 ~ man8/man8.zaurus/MAKEDEV.8 > Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is > unused for now, but I plan to convert all programs in base to use it in > a future diff. /dev/bpf0 is for compatibility with existing binaries > and is to be removed after a transition period. > ok rpe krw, for the installer part > "Let's see it hit the tree." deraadt (natano@) ~ man4/bpf.4 > Only one bpf device is required; pointed out by and ok jmc (natano@) ~ man4/vlan.4 > provide some examples. > encouragement and reminders from jmc@ (dlg@) ~ man8/daily.8 > Delete invocation of mailq(1) that was present for historical reasons. > On a real mailserver, it's too noisy and may be a privacy concern. > On a machine that's not a mailserver, it's pointless. > Besides, Theo points out that running subsystems that potentially > parse untrusted user data daily, at a predictable time, as root > is not a very good idea in the first place. > Suggested by millert@; gilles@ matthieu@ deraadt@ sthen@ agree (schwarze@) mk ~ bsd.lib.mk > provide support for a library setting LIBREBUILD, in which case a ar(1) > file is created of all the subsidiary .so files (deraadt@) == sys =============================================================== 10/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/alpha ~ conf.c > remove systrace (tedu@) ~ db_disasm.c ~ db_interface.c ~ db_trace.c > Stop using DDB_REGS. > ok dlg@ (mpi@) arch/alpha/conf ~ GENERIC > Remove 'option COMPAT_PCVT' now that X doen't use it anymore. > An X server built after april 3 is needed to be able to start X with > the new kernel. > ok kettenis@ (matthieu@) ~ Makefile.alpha > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/alpha/include ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/amd64/amd64 ~ vmm.c > add a few new exit types found in newer cpus (mlarkin@) ~ vmm.c > cr0, cr3, cr4 diagnostics / debug functions (used when VMs crash) > (mlarkin@) ~ vmm.c > spacing / KNF error in earlier commit (mlarkin@) ~ vmm.c > when returning from vmd with an unknown exit reason, print the name of the > exit in addition to the exit code. (mlarkin@) ~ conf.c > remove systrace (tedu@) ~ vmm.c > KNF / spacing (mlarkin@) ~ amd64_mem.c > Convert some magic numbers into #defines - this is needed for some MTRR > decoding code I'm working on for vmm(4) debugging. No functional change. > (mlarkin@) ~ vmm.c > Add decode functions for some of the MSRs that are commonly used. Only > compiled when VMM_DEBUG is enabled, and only used during VM crash. > (mlarkin@) ~ vmm.c > missed a block of code while merging the previous change. (mlarkin@) ~ vmm.c > minor spacing nit (mlarkin@) ~ cpu.c > Call sched_init_cpu() just before booting secondary CPUs. > This prevent the scheduler from scheduling tasks to CPUs not beeing able > to execute them during the boot process. > ok visa@, kettenis@ (mpi@) arch/amd64/conf ~ GENERIC > Remove 'option COMPAT_PCVT' now that X doen't use it anymore. > An X server built after april 3 is needed to be able to start X with > the new kernel. > ok kettenis@ (matthieu@) ~ Makefile.amd64 > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/amd64/include ~ vmmvar.h > add a few new exit types found in newer cpus (mlarkin@) ~ specialreg.h > cr0, cr3, cr4 diagnostics / debug functions (used when VMs crash) > (mlarkin@) ~ specialreg.h > Convert some magic numbers into #defines - this is needed for some MTRR > decoding code I'm working on for vmm(4) debugging. No functional change. > (mlarkin@) ~ specialreg.h > Add decode functions for some of the MSRs that are commonly used. Only > compiled when VMM_DEBUG is enabled, and only used during VM crash. > (mlarkin@) ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/amd64/stand/efiboot ~ efidev.c > Shuffle gpt/mbr code around a bit to make it more like other searches > for the disklabel. Tweak a few comments to make it more clear what > is happening. No intentional functional change. > ok yasuoka@ (krw@) arch/arm/arm ~ cpuswitch.S ~ cpuswitch7.S ~ vm_machdep.c > EABI's Procedure Call Standard (AAPCS) requires the stack pointer > to be 8-byte aligned. To guarantee this, align the stack pointers > passed to user processes and make sure the in-kernel stacks are > properly aligned, too. > ok jsg@ (patrick@) ~ disassem.c > add dmb (jsg@) ~ bcopyinout.S ~ copystr.S ~ cpufunc_asm.S ~ cpufunc_asm_armv4.S ~ cpufunc_asm_armv7.S ~ cpufunc_asm_xscale.S ~ cpuswitch.S ~ cpuswitch7.S ~ irq_dispatch.S ~ locore.S > Switch most of the cp14/cp15 use in .S files over to using sysreg.h > Matched and changed by a script, verified to cause no binary change with > armv7, armish, and zaurus kernels. > ok patrick@ (jsg@) ~ cpuswitch.S ~ cpuswitch7.S > fix whitespace (jsg@) ~ cpuswitch7.S > use the cps instructions introduced with armv6 instead of mrs/msr > ok patrick@ (jsg@) ~ conf.c > remove systrace (tedu@) arch/arm/include ~ frame.h > EABI's Procedure Call Standard (AAPCS) requires the stack pointer > to be 8-byte aligned. To guarantee this, align the stack pointers > passed to user processes and make sure the in-kernel stacks are > properly aligned, too. > ok jsg@ (patrick@) ~ frame.h > whitespace cleanup (patrick@) + sysreg.h > Add macros to access cp14/cp15 registers by name instead of six > arguments to instructions. Based on a file from FreeBSD. > ok patrick@ (jsg@) ~ atomic.h ~ frame.h > Implement atomic operations using the atomic instructions available > since ARMv6K. As we also support ARMs that are older than that, > guard the new atomic operations with an ifdef specifically for ARMv7. > ok jsg@ (patrick@) ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/arm/xscale ~ pxa2x0_apm_asm.S > Switch most of the cp14/cp15 use in .S files over to using sysreg.h > Matched and changed by a script, verified to cause no binary change with > armv7, armish, and zaurus kernels. > ok patrick@ (jsg@) ~ pxa2x0_mmc.c > Add support for changing the bus width to the sdmmc subsystem and the > sdhc(4) > controller. Use this to switch SD cards to a 4-bit bus if they support it. > ok deraadt@, jsg@ (kettenis@) arch/armish/armish ~ armish_start.S > Switch most of the cp14/cp15 use in .S files over to using sysreg.h > Matched and changed by a script, verified to cause no binary change with > armv7, armish, and zaurus kernels. > ok patrick@ (jsg@) arch/armish/conf ~ Makefile.armish > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/armv7/armv7 ~ armv7_start.S > Switch most of the cp14/cp15 use in .S files over to using sysreg.h > Matched and changed by a script, verified to cause no binary change with > armv7, armish, and zaurus kernels. > ok patrick@ (jsg@) ~ armv7.c ~ armv7var.h > Remove unused match function. The armv7 platforms implement their own, > which are more specific. > ok kettenis@ (patrick@) arch/armv7/conf ~ files.armv7 > New FDT-enabled busses will use a new "fdt" attribute. Unfortunately > this attribute is currently already defined. This define is only used > to disable the unused FDT functionality in the exynos and virtio code. > As the FDT code will be developed in a different manner than the way > those drivers are written today and the functionality has never been > enabled, simply remove the attribute and its users. > ok jsg@ (patrick@) ~ GENERIC > Remove 'option COMPAT_PCVT' now that X doen't use it anymore. > An X server built after april 3 is needed to be able to start X with > the new kernel. > ok kettenis@ (matthieu@) ~ Makefile.armv7 > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/armv7/exynos ~ exclock.c ~ exdisplay.c ~ exdog.c ~ exehci.c ~ exesdhc.c ~ exgpio.c ~ exiic.c ~ exmct.c ~ expower.c ~ exsysreg.c ~ exuart.c ~ exynos.c ~ exynos_machdep.c ~ files.exynos > New FDT-enabled busses will use a new "fdt" attribute. Unfortunately > this attribute is currently already defined. This define is only used > to disable the unused FDT functionality in the exynos and virtio code. > As the FDT code will be developed in a different manner than the way > those drivers are written today and the functionality has never been > enabled, simply remove the attribute and its users. > ok jsg@ (patrick@) ~ exesdhc.c > Add support for changing the bus width to the sdmmc subsystem and the > sdhc(4) > controller. Use this to switch SD cards to a 4-bit bus if they support it. > ok deraadt@, jsg@ (kettenis@) arch/armv7/imx ~ imxesdhc.c > Add support for changing the bus width to the sdmmc subsystem and the > sdhc(4) > controller. Use this to switch SD cards to a 4-bit bus if they support it. > ok deraadt@, jsg@ (kettenis@) arch/armv7/omap ~ ommmc.c > Add support for changing the bus width to the sdmmc subsystem and the > sdhc(4) > controller. Use this to switch SD cards to a 4-bit bus if they support it. > ok deraadt@, jsg@ (kettenis@) arch/armv7/vexpress ~ pl011.c ~ virtio_mmio.c > New FDT-enabled busses will use a new "fdt" attribute. Unfortunately > this attribute is currently already defined. This define is only used > to disable the unused FDT functionality in the exynos and virtio code. > As the FDT code will be developed in a different manner than the way > those drivers are written today and the functionality has never been > enabled, simply remove the attribute and its users. > ok jsg@ (patrick@) arch/hppa/conf ~ Makefile.hppa > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/hppa/hppa ~ conf.c > remove systrace (tedu@) arch/hppa/include ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/hppa64/conf ~ Makefile.hppa64 > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/hppa64/hppa64 ~ conf.c > remove systrace (tedu@) arch/hppa64/include ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/i386/conf ~ GENERIC > Remove 'option COMPAT_PCVT' now that X doen't use it anymore. > An X server built after april 3 is needed to be able to start X with > the new kernel. > ok kettenis@ (matthieu@) ~ Makefile.i386 > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/i386/i386 ~ conf.c > remove systrace (tedu@) ~ i686_mem.c > Convert some magic numbers into #defines - this is needed for some MTRR > decoding code I'm working on for vmm(4) debugging. No functional change. > (mlarkin@) ~ cpu.c > Call sched_init_cpu() just before booting secondary CPUs. > This prevent the scheduler from scheduling tasks to CPUs not beeing able > to execute them during the boot process. > ok visa@, kettenis@ (mpi@) arch/i386/include ~ specialreg.h > Convert some magic numbers into #defines - this is needed for some MTRR > decoding code I'm working on for vmm(4) debugging. No functional change. > (mlarkin@) ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/landisk/conf ~ Makefile.landisk > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/landisk/landisk ~ conf.c > remove systrace (tedu@) arch/loongson/conf ~ Makefile.loongson > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/loongson/loongson ~ conf.c > remove systrace (tedu@) arch/luna88k/conf ~ Makefile.luna88k > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/luna88k/luna88k ~ conf.c > remove systrace (tedu@) arch/m88k/include ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/macppc/conf ~ GENERIC > Remove 'option COMPAT_PCVT' now that X doen't use it anymore. > An X server built after april 3 is needed to be able to start X with > the new kernel. > ok kettenis@ (matthieu@) ~ Makefile.macppc > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/macppc/macppc ~ locore.S > Do not check if the CPU is inside the idle loop when enterting ddb(4). > This check only makes sense when a frame is saved for interrupts, not > for a (simulated) breakpoint. > This allows us to put breakpoints in interrupt context and have them > work if an interrupt fires while the CPU is idle. (mpi@) ~ conf.c > remove systrace (tedu@) arch/mips64/include ~ pmap.h > Keep pmap_update_{kernel,user}_page() inside pmap.c. (visa@) ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/mips64/mips64 ~ pmap.c > Keep pmap_update_{kernel,user}_page() inside pmap.c. (visa@) ~ pmap.c > Make pmap_invalidate_*_page() and pmap_update_*_page() operate only on > the local TLB and add pmap_shootdown_page() for invalidating remote > TLBs. Where the code previously updated a remote TLB entry, the code now > issues a remote invalidation, like in architectures with a > hardware-managed TLB. This eases work in the MP land because > invalidations do not need to strictly follow the order of page table > updates. > Almost as a side effect, pmap_emulate_modify() no longer touches remote > TLBs. It is no use to force a TLB D bit on other CPUs because they might > not need it. Moreover, a shootdown IPI probably has a higher overhead > than a local TLBModified exception. (visa@) arch/octeon/conf ~ Makefile.octeon > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/octeon/dev ~ if_cnmac.c ~ if_cnmacvar.h > Drop an unused workaround which does not even compile. (visa@) ~ if_cnmac.c ~ if_cnmacvar.h > sc_resume_ch is used nowhere. (visa@) ~ if_cnmac.c > Expand and remove macro OCTEON_ETH_TAP. (visa@) arch/octeon/octeon ~ conf.c > remove systrace (tedu@) arch/powerpc/include ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/sgi/conf ~ Makefile.sgi > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/sgi/sgi ~ conf.c > remove systrace (tedu@) arch/sh/include ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/socppc/conf ~ Makefile.socppc > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/socppc/socppc ~ locore.S > Do not check if the CPU is inside the idle loop when enterting ddb(4). > This check only makes sense when a frame is saved for interrupts, not > for a (simulated) breakpoint. > This allows us to put breakpoints in interrupt context and have them > work if an interrupt fires while the CPU is idle. (mpi@) ~ conf.c > remove systrace (tedu@) arch/sparc/conf ~ Makefile.sparc > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/sparc/include ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/sparc/sparc ~ conf.c > remove systrace (tedu@) arch/sparc64/conf ~ Makefile.sparc64 > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/sparc64/include ~ db_machdep.h > G/C DDB_REGS. (mpi@) arch/sparc64/sparc64 ~ conf.c > remove systrace (tedu@) ~ cpu.c > Call sched_init_cpu() just before booting secondary CPUs. > This prevent the scheduler from scheduling tasks to CPUs not beeing able > to execute them during the boot process. > ok visa@, kettenis@ (mpi@) arch/zaurus/conf ~ GENERIC > Remove 'option COMPAT_PCVT' now that X doen't use it anymore. > An X server built after april 3 is needed to be able to start X with > the new kernel. > ok kettenis@ (matthieu@) ~ Makefile.zaurus > Do not remove local symbols from the table. > ddb(4) can now see static functions. That doesn't mean we should start > declaring functions as ``static'', however it helps for the few existing > exceptions. > ok deraadt@, kettenis@ (mpi@) arch/zaurus/zaurus ~ zaurus_start.S > Switch most of the cp14/cp15 use in .S files over to using sysreg.h > Matched and changed by a script, verified to cause no binary change with > armv7, armish, and zaurus kernels. > ok patrick@ (jsg@) conf ~ GENERIC > unlink systrace from the build. pledge is the glorious future that awaits. > the rest of systrace to be deleted in a serious of followup commits. > ok from larger openbsd developer community (tedu@) ~ files > remove systrace (tedu@) dev - systrace.c - systrace.h > boom goes the dynamite (tedu@) ~ softraid.c > Restore intro comment to sr_hotspare_rebuild(), which was erroneously > replaced by comment for first chunk of code. > Pointed out by jsing@. (krw@) ~ softraid.c > Do NOT attempt a rebuild using a hot spare with a sector size > greater than the sector size of the softraid volume. i.e. 512-byte > hot spares should work on 4096-byte volumes but 4096-byte hotspares > will not work on 512-byte volumes. > Pointed out, errors corrected and ok jsing@ (krw@) ~ softraid.c > Display correct value in error message. (krw@) ~ softraid.c > Panic when attempting to execute a scsi command with no discipline > defined. Carrying on is pointless. And will currently cause a NULL > pointer deref anyway. > NULL deref found by mmcc@ and his friend clang. > ok deraadt@ (krw@) ~ diskmap.c > Fix some gibbering horrors due to uninitialized struct nameidata's > 1) turn NDINITAT into a function and make the macros point to it > with the later goal of getting rid of them. > 2) Sweep the kernel for places where people make a struct nameidata > manually > on the stack and fill in what they hope are the required fields and count > on prayer and clean living to always get them right. Instead use NDINIT > everywhere. NFS was especially bad for this and there have likely > been things lurking there for a while. > 3) Add a couple of strategic KASSERT's to catch future offenders. > ok krw@ sthen@ deraadt@ (beck@) dev/acpi ~ acpi.c > We attach acpihpet(4) and acpiec(4) without using the HID, so do not > report it in the dmesg. > OK deraadt@, mlarkin@. (pirofti@) ~ acpitz.c > corrects acpitz problem with active cooling and hysterisis > "if the temperature is below the active cooling level for a tz, turn the > fan off > regardless of what state it is currently in" > ok mlarkin@ (semarie@) ~ sdhc_acpi.c > Remove debug printfs, but do print "gpio" to indicate that card detection > is > done through a gpio pin instead of the standard register. (kettenis@) ~ sdhc_acpi.c > Implement DMA support. Bits and pieces taken from NetBSD, but we only > support ADMA2. The older SDMA mode has too many limitations to be really > usable. Gives us only moderate speed improvements, bus reduces the CPU > load > considerably. We will reap the full benefits once we implement wider bus > widths and high speed modes. > There is a remining issue with simultanious use of eMMC and external SD > card > on (some) Intel Bay Trail hardware. Still under investigation. > ok patrick@, stsp@, deraadt@ (kettenis@) ~ bytgpio.c > Mask all gpio interrupts when we attach. Fixes interrupt storm on the > Lenovo > Ideacentre Stick 300. (kettenis@) dev/ic ~ rtsx.c ~ w83l518d_sdmmc.c > Add support for changing the bus width to the sdmmc subsystem and the > sdhc(4) > controller. Use this to switch SD cards to a 4-bit bus if they support it. > ok deraadt@, jsg@ (kettenis@) dev/pci ~ pcidevs > add t460p (Sunrise Point H) and x260 (Sunrise Point-LP) ids (jsg@) ~ pcidevs.h ~ pcidevs_data.h > regen (jsg@) ~ azalia.c > enable snooping on Intel 100 Series LP HDA (jsg@) ~ pucdata.c > match on Intel 100 series and 100 series LP PCH (jsg@) ~ ichiic.c > match on Intel 100 Series LP (jsg@) - drm/i915/intel_fb.c > Remove unused file. (kettenis@) ~ rtsx_pci.c > Match on RTS522A. Found in 2016 thinkpads. > Tested by Bryan Vyhmeister on x260. (jsg@) ~ if_xge.c > tweak some command list handling > prefix the arrays with xge_, make them const, and use nitems to > iterate over them. move xge_setup_xgxs_xena to iterating over a > list of commands instead of doing a long series of register writes > in code. > from marisa emerson, who tested on both xena and herc boards (dlg@) ~ if_xge.c > align rx buffers so ip packets will be aligned correctly for the stack > this matters more for strict alignment archs than the ones xge > currently runs on. > from marisa emerson (dlg@) ~ if_xge.c > whitespace fixes, no functional change > largely done by marisa emerson (dlg@) ~ if_xge.c ~ if_xgereg.h > correctly set up byteswapping so this chip works on big endian archs > this, plus the m_adj fix before, makes xge work on sparc64 > from marisa emerson (dlg@) ~ if_iwn.c ~ if_iwnreg.h > Add a better implementation of iwn's update_htprot callback which uses > the RXON_ASSOC command instead of clearing and restoring firmware state. > This matches the behaviour of the Linux driver more closely. > However, for now, keep this implementation disabled and do _nothing_ when > HT protection changes. For some unknown reason, updating HT protection > seems to be related to subsequent Tx errors and block ack session > instablity. > We'll see how this approach works out in the wild. Please report any > issues. > ok tb@ (stsp@) ~ sdhc_pci.c > Implement DMA support. Bits and pieces taken from NetBSD, but we only > support ADMA2. The older SDMA mode has too many limitations to be really > usable. Gives us only moderate speed improvements, bus reduces the CPU > load > considerably. We will reap the full benefits once we implement wider bus > widths and high speed modes. > There is a remining issue with simultanious use of eMMC and external SD > card > on (some) Intel Bay Trail hardware. Still under investigation. > ok patrick@, stsp@, deraadt@ (kettenis@) dev/pv ~ xen.c > Preserve the domid when swapping 16 bit grant table entry flags > We use an atomic CMPXCHG on first 32 bits of the grant table entry > when revoking access to the memory page. Target domain ID field is > part of these 32 bits, thus shouldn't be masked out for comparison. > This appears to be the last piece of the QubesOS VM chaining puzzle; > tested by Marco Peereboom, thanks! (mikeb@) dev/sdmmc ~ sdhc.c ~ sdhcreg.h ~ sdhcvar.h ~ sdmmc.c ~ sdmmc_mem.c ~ sdmmcchip.h ~ sdmmcvar.h > Implement DMA support. Bits and pieces taken from NetBSD, but we only > support ADMA2. The older SDMA mode has too many limitations to be really > usable. Gives us only moderate speed improvements, bus reduces the CPU > load > considerably. We will reap the full benefits once we implement wider bus > widths and high speed modes. > There is a remining issue with simultanious use of eMMC and external SD > card > on (some) Intel Bay Trail hardware. Still under investigation. > ok patrick@, stsp@, deraadt@ (kettenis@) ~ sdhcreg.h > Add some missing interrupt bits, and enable the ADMA error interrupt. > (kettenis@) ~ sdhc.c > Enable high speed timing for bus clock frequencies over 26MHz and advertise > support for it. In principle SD cards use high speed timing for > frequencies > over 25MHz, but it is silly to run those with a clock between 25-26MHz. > (kettenis@) ~ sdhc.c ~ sdmmc.c ~ sdmmc_mem.c ~ sdmmcchip.h ~ sdmmcreg.h ~ sdmmcvar.h > Add support for changing the bus width to the sdmmc subsystem and the > sdhc(4) > controller. Use this to switch SD cards to a 4-bit bus if they support it. > ok deraadt@, jsg@ (kettenis@) ~ sdhc.c > Always write block count. This fixes the DMA issues on Bay Trail. > (kettenis@) ~ sdmmc_mem.c > Add a small delay after switching an MMC card into high-speed mode to make > sure it has witched before changing the bus clock speed. (kettenis@) ~ sdhc.c ~ sdmmc_mem.c > Add bus width switching support for MMC. Enable 8-bit bus support on > sdhc(4) controllers that support it. Mostly from NetBSD. > This makes the raw transfer rate of the eMMC on the Lenovo Ideacentre > Stick 300 go up to 40 MB/s. (kettenis@) ~ sdhc.c > Print base clock frequency. > ok deraadt@, patrick@ (kettenis@) ~ sdmmc.c > Print some capabilities. > ok deraadt@, patrick@ (kettenis@) dev/wscons ~ wsdisplay_compat_usl.c ~ wsdisplay_usl_io.h > Remove 'option COMPAT_PCVT' now that X doen't use it anymore. > An X server built after april 3 is needed to be able to start X with > the new kernel. > ok kettenis@ (matthieu@) isofs/cd9660 ~ cd9660_vfsops.c > Populate all necessary statfs members in .vfs_statfs. cd9660, udf, > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all > statfs information is filled in correctly for the (sb != &mp->mnt-stat) > case. > ok stefan (natano@) isofs/udf ~ udf_vfsops.c > Populate all necessary statfs members in .vfs_statfs. cd9660, udf, > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all > statfs information is filled in correctly for the (sb != &mp->mnt-stat) > case. > ok stefan (natano@) kern ~ kern_pledge.c > removes an unneeded check on flags (used historically when tame(2) was > using > bitflags) > ok deraadt@ jca@ (semarie@) ~ kern_pledge.c > simplifies the check for allowing only promises > reductions. > ok deraadt@ (semarie@) ~ exec_script.c ~ kern_exec.c ~ kern_exit.c ~ kern_fork.c ~ kern_sysctl.c ~ vfs_lookup.c > boom goes the dynamite (tedu@) ~ kern_descrip.c ~ kern_fork.c ~ uipc_usrreq.c > remove systrace remnants (tedu@) ~ vfs_subr.c > fix off by one in vfs_vnode_print - found by miod > ok deraadt@, krw@ (beck@) ~ vfs_subr.c > copy_statfs_info() is not only used by ufs, but by other filesystems too, > so make sure that all members of mp->mnt_stat.mount_info are copied. > ok stefan (natano@) ~ vfs_biomem.c > fix logic bug in deciding if we have UVM_PLA_NOWAIT or not in > buf_realloc_pages > noticed by miod@ (beck@) ~ kern_pledge.c ~ vfs_lookup.c > 1) Split pledge whitelist path handling out of pledge_namei() and into > pledge_namei_wlpath(). Call the wlpath check only at the end of namei > after the namei lookup would otherwise succeed. > 2) Add support to namei to keep the path that was looked up, without the > symlinks in it, and use that path for whitelist path lookups. This > means that paths in pledge whitelists will need to always be the > real path to an intended file to whitelist, without symlinks. Any > symlinks to the "real" file will then be allowed > ok deraadt@ semarie@ (beck@) ~ kern_time.c > careful study of the holy scrolls reveals that for pselect (and ppoll) > oversized timespecs should be clamped, not rejected. > ok millert (tedu@) ~ uipc_mbuf.c TAGGED OPENBSD_5_9 > MFC argument order fix for MCLGETI/m_get, from Armin Wolfermann via dlg, ok > mpi (sthen@) ~ vfs_lookup.c TAGGED OPENBSD_5_9 > Fix some gibbering horrors due to uninitialized struct nameidata's > 1) turn NDINITAT into a function and make the macros point to it > with the later goal of getting rid of them. > 2) Sweep the kernel for places where people make a struct nameidata > manually > on the stack and fill in what they hope are the required fields and count > on prayer and clean living to always get them right. Instead use NDINIT > everywhere. NFS was especially bad for this and there have likely > been things lurking there for a while. > 3) Add a couple of strategic KASSERT's to catch future offenders. > ok krw@ sthen@ deraadt@ (beck@) miscfs/fuse ~ fuse_vfsops.c > Populate all necessary statfs members in .vfs_statfs. cd9660, udf, > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all > statfs information is filled in correctly for the (sb != &mp->mnt-stat) > case. > ok stefan (natano@) msdosfs ~ msdosfs_vfsops.c > Populate all necessary statfs members in .vfs_statfs. cd9660, udf, > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all > statfs information is filled in correctly for the (sb != &mp->mnt-stat) > case. > ok stefan (natano@) net ~ route.c ~ route.h > Remove unused arguments from rt_checkgate(). > Since the rtalloc(9) rewrite no route lookup is done in this function so > there's no need for a destination or a rtable ID. (mpi@) ~ if_pflog.c ~ if_pflow.c ~ if_pfsync.c > Make if_output() return EAFNOSUPPORT instead of just dropping packets > and pretending the output succeeded. Packets are still dropped! > Idea from jsg@ following same change to bridge(4). ok mpi@ (krw@) ~ if_spppsubr.c > Remove a bogus "else" that was causing breakage with LCP echoes, > bug introduced in r1.138. > Reported at https://twitter.com/DarkSoul4242/status/722365165262405633 > (twitter is *NOT* the place to report bugs!) and in > https://marc.info/?l=openbsd-bugs&m=145988918010707&w=2, > pointed out by tb@ (sthen@) net80211 ~ ieee80211_input.c ~ ieee80211_ioctl.h ~ ieee80211_proto.c > Add some stat counters for events related to 802.11n. > netstat(1) needs to be recompiled to work with new kernel. > ok deraadt mpi (stsp@) ~ ieee80211_node.h > Reduce block ack gap timeout to 300 msec in order to reduce Rx latency. > This value seems to be a sweet spot. > testing and ok tb@ (stsp@) ~ ieee80211_ioctl.c ~ ieee80211_ioctl.h > Copy some ieee8021_node HT information to userspace. > ifconfig needs to be recompiled. > ok mpi@ (stsp@) ~ ieee80211_input.c > When a frame which falls into the block ack window is received, clear > counters that keep track of consecutive frames falling outside the window. > (stsp@) ~ ieee80211_ioctl.h > Add a net80211 stat counter for block ack window "slides" as opposed > to "jumps". Will be used soon by refined block ack window handling. > netstat needs to be recompiled. > With and ok tb@ (stsp@) ~ ieee80211_input.c > Rework handling of frames which fall beyond the block ack window. > tb@ discovered that we were not following the 802.11-2012 standard > correctly > for frames which fall within the range [winend, windend+winsize]. This > could > cause valid frames to be dropped because we moved the window too far ahead. > with and ok tb@ (stsp@) netinet ~ ip_input.c > Remove the single cache route for forwarding. > Testing help from Hrvoje Popovski. > ok mikeb@, henning@, claudio@ (mpi@) ~ if_ether.c > Remove unused arguments from rt_checkgate(). > Since the rtalloc(9) rewrite no route lookup is done in this function so > there's no need for a destination or a rtable ID. (mpi@) ~ ip_output.c > Do not allow to change the routing table of a bound socket. This > is not intended and will behave unexpectedly if the address is > already used in another domain. It did not work anyway, as the PCB > ended in the wrong hash bucket after changing the rtable. Fail > with EBUSY if the socket is already bound and rehash the PCB if its > rtable changes. > input claudio@; OK mpi@ (bluhm@) netinet6 ~ nd6.c > Remove unused arguments from rt_checkgate(). > Since the rtalloc(9) rewrite no route lookup is done in this function so > there's no need for a destination or a rtable ID. (mpi@) ~ ip6_forward.c ~ ip6_output.c ~ ip6_var.h > factor out ipsec into ip6_output_ipsec_{lookup,send}(); ok mpi@, naddy@ > (markus@) ~ ip6_output.c > Do not allow to change the routing table of a bound socket. This > is not intended and will behave unexpectedly if the address is > already used in another domain. It did not work anyway, as the PCB > ended in the wrong hash bucket after changing the rtable. Fail > with EBUSY if the socket is already bound and rehash the PCB if its > rtable changes. > input claudio@; OK mpi@ (bluhm@) nfs ~ nfs_vfsops.c > Populate all necessary statfs members in .vfs_statfs. cd9660, udf, > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all > statfs information is filled in correctly for the (sb != &mp->mnt-stat) > case. > ok stefan (natano@) ~ nfs_serv.c ~ nfs_subs.c ~ nfs_var.h ~ nfs_vnops.c > Fix some gibbering horrors due to uninitialized struct nameidata's > 1) turn NDINITAT into a function and make the macros point to it > with the later goal of getting rid of them. > 2) Sweep the kernel for places where people make a struct nameidata > manually > on the stack and fill in what they hope are the required fields and count > on prayer and clean living to always get them right. Instead use NDINIT > everywhere. NFS was especially bad for this and there have likely > been things lurking there for a while. > 3) Add a couple of strategic KASSERT's to catch future offenders. > ok krw@ sthen@ deraadt@ (beck@) ntfs ~ ntfs_vfsops.c > Populate all necessary statfs members in .vfs_statfs. cd9660, udf, > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all > statfs information is filled in correctly for the (sb != &mp->mnt-stat) > case. > ok stefan (natano@) sys ~ syscall_mi.h > boom goes the dynamite (tedu@) ~ file.h ~ proc.h ~ sysctl.h > remove systrace remnants (tedu@) ~ conf.h > more systrace goes away (deraadt@) ~ file.h > No good reason to retain comments about old DTYPE_CRYPTO or DTYPE_SYSTRACE > values. (deraadt@) ~ mbuf.h > mbuf tags are in an SLIST, so we need queue.h after all. > found by deraadt@ (dlg@) ~ namei.h ~ pledge.h > 1) Split pledge whitelist path handling out of pledge_namei() and into > pledge_namei_wlpath(). Call the wlpath check only at the end of namei > after the namei lookup would otherwise succeed. > 2) Add support to namei to keep the path that was looked up, without the > symlinks in it, and use that path for whitelist path lookups. This > means that paths in pledge whitelists will need to always be the > real path to an intended file to whitelist, without symlinks. Any > symlinks to the "real" file will then be allowed > ok deraadt@ semarie@ (beck@) ~ namei.h > Fix some gibbering horrors due to uninitialized struct nameidata's > 1) turn NDINITAT into a function and make the macros point to it > with the later goal of getting rid of them. > 2) Sweep the kernel for places where people make a struct nameidata > manually > on the stack and fill in what they hope are the required fields and count > on prayer and clean living to always get them right. Instead use NDINIT > everywhere. NFS was especially bad for this and there have likely > been things lurking there for a while. > 3) Add a couple of strategic KASSERT's to catch future offenders. > ok krw@ sthen@ deraadt@ (beck@) ufs/ext2fs ~ ext2fs_vfsops.c > Populate all necessary statfs members in .vfs_statfs. cd9660, udf, > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all > statfs information is filled in correctly for the (sb != &mp->mnt-stat) > case. > ok stefan (natano@) ~ ext2fs.h > Pad struct ext2fs out to 1024 (a.k.a. ext2fs SBSIZE) bytes. Satisfies > assumptions in fsck_ext2fs and eliminates spurious "VALUES IN SUPER > BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE" messages. > Part of the problem reported to bugs@ by Lampshade. > ok beck@ (krw@) ufs/mfs ~ mfs_extern.h ~ mfs_vfsops.c > Populate all necessary statfs members in .vfs_statfs. cd9660, udf, > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all > statfs information is filled in correctly for the (sb != &mp->mnt-stat) > case. > ok stefan (natano@) == usr.bin =========================================================== 11/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin compress ~ gzopen.c > Account for multiple streams in "gzip -l" output. This fixes "gzip > -l" output when used on package files. OK espie@ deraadt@ (millert@) ~ gzopen.c > Need to set in/out bytes count for gz_write too. Otherwise gzip > will think the resulting file was got larger during compression. (millert@) doas ~ parse.y > adjust yyerror() to precede with "progname: " the error message string > OK tedu@ phessler@ (gsoares@) ~ doas.c > set progname to doas so users can't create bizarro fake logs (tedu@) file ~ magic.5 > typos; (jmc@) ~ magdir/sniffer > Partially sync magdir/sniffer from the file distribution on astron.com, > adds pcap-ng files and some more link-layer types for pcap. Not an exact > merge because they're using "use" which we don't currently support. > ok nicm@ jasper@ (sthen@) ~ magic-test.c > Replace regex match string in results (some new magic entries use this). > (nicm@) ~ magic-test.c ~ magic.h > Fix the default type to work properly, that is to only match if no > previous test at the same level has matched. (nicm@) ~ magic-test.c > magic_test_type_default parameter is no longer __unused. (nicm@) ~ magic-load.c ~ magic-test.c ~ magic.h > Add support for 'clear' test, and fix 'default' to expand the result > string if any (used by, for example, rtf). (nicm@) ~ magic-test.c > Remove __unused that are now lies. (nicm@) ~ magic-load.c > Trim = prefix from regex (it a noop). (nicm@) ~ magic-dump.c ~ magic-load.c ~ magic-test.c ~ magic.h > Add support for 'name' and 'use' which allows more of the latest magic > files to work unchanged. (We are still missing 'indirect' and a few > other bits.) (nicm@) ~ magic-test.c > Use the right size (include the length byte) when working out if a > pstring is too big. (nicm@) ~ magic-load.c > Exact match use and name with strcmp rather than prefix with strncmp. > (nicm@) ~ file.c ~ magic.h > Tidy up some #include lines. (nicm@) fstat ~ fstat.1 ~ fstat.c > remove systrace support (tedu@) kdump ~ Makefile ~ mkioctls > remove systrace support (tedu@) libtool ~ LT/Mode/Link.pm > typo: wil -> will (ajacoutot@) mandoc ~ cgi.c > Set the "autofocus" attribute on the query text box. > Patch from Fabian dot Raetz at gmail dot com. (schwarze@) ~ cgi.c > Only focus on the query input box when no manual page is displayed, > that is, for the index page, for the noresult page, and for the > result of an apropos(1) query with more than one page. > As noted by bentley@, when a manual page is displayed, it is more > important that people can quickly use the space bar for paging and > Ctrl-F for searching. (schwarze@) netstat ~ inet.c > Print tcps_noport with netstat -s like it is already done for udp. > OK mpi@ (bluhm@) ~ net80211.c > Make netstat -W show new 802.11n counters. Requires a new kernel. > ok deraadt mpi (stsp@) ~ net80211.c > Display block ack window slide counter. > with and ok tb@ (stsp@) openssl ~ ocsp.c > add "dns" to openssl ocsp > problem reported by Alexandre (kAworu) > ok beck@ deraadt@ sthen@ (semarie@) ssh ~ sshd_config.5 > cidr permitted for {allow,deny}users; from lars nooden > ok djm (jmc@) ~ sshconnect2.c > fix comment (djm@) ~ log.c ~ ssh.c > close ControlPersist background process stderr when not in > debug mode or when logging to a file or syslog. > bz#1988 ok dtucker (djm@) tmux ~ key-string.c > Don't overwrite modifiers in the buffer when making UTF-8 strings, > append instead. (nicm@) ~ utf8.c > Log wcwidth() and mbtowc() failure to make it easier to debug a Unicode > codepoint not appearing. (nicm@) - array.h ~ window-choose.c > Remove last uses of array.h. (nicm@) ~ tty-keys.c > Simplify next key matching and fix problems with meta and Unicode keys. > (nicm@) ~ utf8.c > Loads of platforms appear to have old or broken Unicode character type > information and are missing widths for relatively common Unicode > characters (so mbtowc() works, but wcwidth() fails). So if wcwidth() > returns -1, assume a width of 1 instead of ignoring the character. (nicm@) ~ mode-key.c ~ tmux.1 ~ tmux.h ~ window-copy.c > Add next/previous paragraph, from J Raynor. (nicm@) ~ tty-keys.c > Try again with keys parsing, tidy up further and fix single Escape press. > (nicm@) ~ tty-keys.c > Apply backspace check after working out the actual key, so that M-BSpace > can work. (nicm@) ~ server-client.c > After unlock, Update activity time after recalculate_sizes() so that the > session attached flag is correct. (nicm@) ~ window-choose.c > memmove() the right size when expanding tree. (nicm@) ~ utf8.c > OpenBSD wcwidth() is sensible and complete so if it returns -1 it means > that a character is not printable, so return to ignoring such > characters. (nicm@) ~ tty-keys.c > Fix keys parsing again to correctly accept Unicode when not prefixed > with Escape. (nicm@) ~ screen-write.c ~ tmux.h > Make the grid_cell passed into screen_write_* const. (nicm@) ~ tmux.h ~ window.c > The backoff timer is causing no end of trouble with disconnected clients > stopping data in attached ones. So get rid of it and see how we get on > with just a high watermark on each pane. (nicm@) ~ cmd-if-shell.c ~ cmd-queue.c ~ cmd-source-file.c ~ format.c ~ tmux.1 > Final parts of command hooks, add before- and after- hooks to each command. > (nicm@) ~ cmd-set-option.c ~ layout.c ~ options-table.c ~ screen-redraw.c ~ server-client.c ~ tmux.1 ~ tmux.h ~ window.c > Add option to include status text in the pane borders. If > pane-border-status is set to "top" or "bottom" (rather than "off"), > every pane has a permanent top or bottom border containing the text from > pane-border-format. > Based on a diff sent long ago by Jonathan Slenders, mostly rewritten and > simplified by me. (nicm@) ~ tmux.1 > Compact a small table into text. (nicm@) ~ cmd-if-shell.c > Expand client formats (like run-shell), from Stephen M Coakley. (nicm@) ~ tmux.1 > tweak previous; (jmc@) ~ server-client.c ~ tmux.h ~ tty.c > tty_client_ready can not be internal to tty.c again. (nicm@) ~ tmux.1 > Missing format (window_activity_flag) and a missing Ta. (nicm@) ~ cmd-copy-mode.c ~ tmux.h ~ window-copy.c > Use the same code for half page scrolling as full, from Michal Mazurek. > (nicm@) units ~ units.lib > update currency exchange rates; (jmc@) == usr.sbin ========================================================== 12/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin dhcpd ~ dhcpd.c ~ udpsock.c > Remove pledge(2)'s that are called before chroot(2) since in the near > future > this will be forbidden. The remaining pledge(2) calls after chroot(2) are > still > kept. > OK semarie@ "it is time now" (mestre@) httpd ~ server_fcgi.c > Always pass QUERY_STRING variable. > According to the RFC it is empty when no query string was found. > From Tim Baumgard <[email protected]>o > ok florian@ (chrisz@) ~ httpd.conf.5 > Document CGI variables. Work done by Tim Baumgard <[email protected]> > I clarified DOCUMENT_URI and SCRIPT_NAME. > ok florian@ (chrisz@) ~ httpd.conf.5 > new sentence, new line; (jmc@) ~ config.c ~ httpd.h > Simplify TLS configuration handling. Instead of matching by address/port, > match by configuration ID. This also prevents a memory leak when there are > multiple certificates specified for the same server. > ok beck@ (jsing@) ~ server.c > Include the TLS configuration errors in log messages. Also set the > certificate and private key at the same time. (jsing@) ~ httpd.conf.5 > Avoid unusual Content-Type: even in an example; > people might get hurt when doing copy & paste. > Patch from Hiltjo Posthuma <hiltjo at codemadness dot org>. > OK florian@ jmc@ (schwarze@) installboot ~ i386_installboot.c ~ i386_softraid.c > Plug a couple of leaks of input buffers. > Pointed out by David Carlier. (krw@) kvm_mkdb ~ kvm_mkdb.c > use setresgid() rather than setegid, all 3 gids can go the same way. > discussion with millert (deraadt@) ldapctl ~ Makefile > unbreak the tree: > after moving ldapd to the libtls api, ldapctl needs to link against > libtls instead of libcrypto > ok krw@, jmatthew@ (tb@) ldapd - ssl.c - ssl_privsep.c ~ Makefile ~ conn.c ~ ldapd.c ~ ldapd.h ~ ldape.c ~ parse.y + evbuffer_tls.c + evbuffer_tls.h > convert ldapd to use the libtls api, bringing in a copy of the evbuffer_tls > code from syslogd. > ok beck@ benno@ (jmatthew@) pkg_add ~ pkg_create.1 ~ OpenBSD/PkgCreate.pm > kill remnants of non shared arches (espie@) ~ pkg_create.1 > pkgcfl was put in the old keywords bin a few generations ago... (espie@) ~ OpenBSD/PackageRepository.pm > now that sysmerge happens before us, no need to fallback on _pfetch > revert previous commit (espie@) ~ OpenBSD/PackageRepository.pm > prepare for possible pledging. We can't really drop privs if we're not > running as root, so don't even try. Also, have the environment reflect > reality in that case. (espie@) pstat ~ pstat.c > remove systrace (tedu@) rcctl ~ rcctl.8 ~ rcctl.sh > Implement daemon_rtable support. > From Jiri B <jirib ! devio ! us>, thanks! (ajacoutot@) ~ rcctl.sh > It's ok to disable a non-existing daemon. > Think "pkg_delete foobar && rcctl disable foobar". (ajacoutot@) smtpd ~ queue.c ~ smtpctl.c > fix "smtpctl show queue" reporting "invalid" envelope state. > runtime state is not serialized with the envelope, so add it to the imsg. > ok gilles@ (eric@) sysmerge ~ sysmerge.sh > Tweak output a bit; to be improved probably (sthen@ and I can't think of a > better wording for now). > Also be consistent in batch and interactive mode: make sure we can just > re-run > sysmerge if we leave a file for later; this prevents having to save the > tmpdir > to find which files needs to be handled (aka we are self-contained). > (ajacoutot@) ~ sysmerge.8 > sysmerge(8) is the bastard child of ksh and perl, so just call it a > "utility". (ajacoutot@) ~ sysmerge.sh > Comment sm_check_an_eg(). (ajacoutot@) ~ sysmerge.sh > In sysmerge interactive mode, check syntax of several important files after > merging (currently sshd_config, login.conf, pf.conf) to give some > protection > against bad merges. feedback/ok ajacoutot@ (sthen@) user ~ user.c > Add pledge(2) promises independently on each user(8)'s functions as > follows: > useradd: stdio rpath wpath cpath fattr flock proc exec getpw id > usermod: stdio rpath wpath cpath fattr flock proc exec getpw id > userdel: stdio rpath wpath cpath fattr flock proc exec getpw id > userinfo: stdio getpw > groupadd: stdio rpath wpath cpath fattr flock getpw > groupmod: stdio rpath wpath cpath fattr flock > groupdel: stdio rpath wpath cpath fattr flock > groupinfo: stdio getpw > This was extensively tested by me and tim@ who found some issues on my > first > versions. deraadt@ prodded me to commit this now to check who uses it in > order > to report back any fallbacks with the diff, if you find any please inform > us. (mestre@) vmctl ~ main.c > make vmctl 'create' usage description match the man page (mlarkin@) ypldap ~ aldap.c > Simplify overengineered and buggy code that looked like as if it did > some kind of UTF-8 validation, but actually didn't, but instead, for > malformed UTF-8 input, caused buffer overruns in some cases and caused > skipping of valid ASCII characters in other cases. > Problem originally discovered and fix OK by stsp@. > eric@ agrees with the direction. (schwarze@) ~ ypldap.c > When a group contains a non-existent user, make the warning > message more helpful by mentioning the group name. > Joint work with Richie at UStA dot de. > OK jmatthew@ (schwarze@) =============================================================================== _______________________________________________ owc mailing list [email protected] http://www.squish.net/mailman/listinfo/owc
