OpenBSD src changes summary for 2016-03-27 to 2016-04-03 inclusive ==================================================================
bin/ed bin/ksh bin/ls bin/md5 bin/mt bin/test distrib/alpha distrib/amd64 distrib/armish distrib/armv7 distrib/hppa distrib/i386 distrib/landisk distrib/loongson distrib/luna88k distrib/macppc distrib/miniroot distrib/octeon distrib/ramdisk distrib/sets distrib/sgi distrib/socppc distrib/sparc64 distrib/special distrib/zaurus etc/daily etc/netstart etc/unbound.conf games/caesar games/canfield games/factor games/hunt gnu gnu/lib/libstdc++-v3 gnu/usr.bin/binutils gnu/usr.bin/cc gnu/usr.bin/gcc gnu/usr.sbin/mkhybrid lib/libarch lib/libc lib/libcrypto lib/libcurses lib/libedit lib/libevent lib/libform lib/libfuse lib/libkeynote lib/libkvm lib/libm lib/libmenu lib/libpanel lib/libpcap lib/libpthread lib/libradius lib/librthread lib/libskey lib/libsndio lib/libssl lib/libtls lib/libusbhid lib/libutil lib/libz libexec/comsat libexec/login_token libexec/rpc.rquotad libexec/rpc.rwalld libexec/spamd-setup regress/sys regress/usr.sbin sbin/dump sbin/fdisk sbin/isakmpd sbin/kbd sbin/mount_vnd sbin/ncheck_ffs sbin/newfs sbin/reboot sbin/restore sbin/swapctl sbin/sysctl sbin/wsconsctl share/man sys/arch/alpha/alpha sys/arch/alpha/include sys/arch/amd64/amd64 sys/arch/amd64/conf sys/arch/amd64/include sys/arch/amd64/stand/boot sys/arch/amd64/stand/cdboot sys/arch/amd64/stand/fdboot sys/arch/arm/arm sys/arch/arm/include sys/arch/arm/xscale sys/arch/armish/stand/boot sys/arch/armv7/armv7 sys/arch/armv7/conf sys/arch/hppa/stand/boot sys/arch/hppa64/stand/boot sys/arch/i386/i386 sys/arch/i386/include sys/arch/i386/stand/boot sys/arch/i386/stand/cdboot sys/arch/i386/stand/fdboot sys/arch/landisk/stand/boot sys/arch/loongson/stand/boot sys/arch/macppc/stand sys/arch/octeon/stand/boot sys/arch/socppc/stand/boot sys/arch/sparc/dev sys/arch/sparc64/conf sys/arch/sparc64/dev sys/arch/zaurus/stand/zboot sys/dev sys/dev/acpi sys/dev/hid sys/dev/i2c sys/dev/ic sys/dev/isa sys/dev/ofw sys/dev/pckbc sys/dev/pv sys/dev/sdmmc sys/dev/usb sys/dev/wscons sys/isofs/cd9660 sys/isofs/udf sys/kern sys/miscfs/fuse sys/msdosfs sys/net sys/netinet sys/netinet6 sys/ntfs sys/sys sys/ufs/ext2fs sys/ufs/ffs sys/ufs/ufs sys/uvm usr.bin/arch usr.bin/at usr.bin/calendar usr.bin/chpass usr.bin/compress usr.bin/dc usr.bin/expand usr.bin/grep usr.bin/kdump usr.bin/lex usr.bin/logger usr.bin/mail usr.bin/make usr.bin/mandoc usr.bin/netstat usr.bin/newsyslog usr.bin/pkill usr.bin/rdist usr.bin/rdistd usr.bin/rusers usr.bin/skey usr.bin/skeyaudit usr.bin/ssh usr.bin/tcpbench usr.bin/tmux usr.bin/tput usr.bin/tset usr.bin/units usr.bin/uuencode usr.bin/vi usr.bin/vmstat usr.sbin/adduser usr.sbin/apm usr.sbin/authpf usr.sbin/inetd usr.sbin/ntpd usr.sbin/pkg_add usr.sbin/quotaon usr.sbin/rcctl usr.sbin/rpc.bootparamd usr.sbin/smtpd usr.sbin/syslogd usr.sbin/tcpdump usr.sbin/tftpd usr.sbin/tokenadm usr.sbin/tokeninit usr.sbin/traceroute usr.sbin/user usr.sbin/wsconscfg usr.sbin/ypserv == bin =============================================================== 01/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ed ~ ed.h > actually remove unnecessary includes > from Edgar Pettijohn, ok and with input from tb@ (mmcc@) ksh ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) ls ~ ls.c > remove unused variable > ok schwarze@ (chl@) md5 ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) mt ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) test ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) == distrib =========================================================== 02/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib alpha ~ common/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) amd64 ~ common/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) armish ~ ramdisk/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) armv7 ~ miniroot/Makefile.inc ~ ramdisk/install.md > use MLO not mlo to match the names generated by u-boot builds (jsg@) ~ miniroot/Makefile.inc ~ ramdisk/install.md > Switch from the solidrun i.mx6 u-boot to mainline u-boot on cubox i. > The offset of u-boot.img in the disk image changes to be the same as > wandboard. (jsg@) ~ ramdisk/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) hppa ~ list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) i386 ~ common/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) landisk ~ ramdisk/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) loongson ~ ramdisk/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) luna88k ~ ramdisk/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) macppc ~ ramdisk/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) miniroot ~ dot.profile ~ install.sh ~ install.sub ~ list ~ upgrade.sh > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) - install.sh - upgrade.sh > forgot to cvs rm locally in previous commit (rpe@) ~ install.sub > Remove unused variable. > OK krw@ (rpe@) ~ install.sub > Simplify defining the various set lists. > Feedback from and OK halex@ > OK krw@ (rpe@) octeon ~ ramdisk/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) ramdisk ~ list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) 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 > all arch are dynamic now (deraadt@) ~ lists/man/mi > sync (deraadt@) ~ lists/comp/mi > sync (deraadt@) ~ lists/base/mi > sync (deraadt@) ~ lists/base/mi > sync (deraadt@) ~ lists/base/mi ~ lists/comp/mi ~ lists/game/mi ~ lists/man/mi > sync (deraadt@) ~ lists/base/md.hppa64 > remove files that are not built on hppa64 (jsg@) ~ 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/comp/mi > sync (jsg@) ~ lists/comp/mi > sync (jsg@) sgi ~ ramdisk/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) socppc ~ ramdisk/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) sparc64 ~ bsd.rd/list ~ ramdisk/list ~ ramdiskB/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) special ~ ksh/Makefile ~ reboot/Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) zaurus ~ ramdisk/list > - merge install.sh into install.sub as do_install() > - merge upgrade.sh into install.sub as do_upgrade() > - delete install.sh and upgrade.sh > - make install.sub executable > - turn install and upgrade into symbolic links to install.sub > - add autoinstall symbolic link to install.sub > - change dot.profile to use these symlinks > - introduce a -m option to set MODE in install.sub > - alternativly set MODE and AUTO depending on PROGNAME > - execute the do_{install,upgrade) functions depending on $MODE > OK halex@, krw@ > 'go for it' deraadt@ (rpe@) == etc =============================================================== 03/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc daily ~ daily > Rename the 'faulty' list action to 'failed'; it clearer. > prodded by matthieu@ > ok millert@ jung@ sthen@ (ajacoutot@) ~ daily > Tweak rcctl wording. > from ian@ (ajacoutot@) netstart ~ netstart > Don't delete the 224/4 route in netstart, unless it's being done to ensure > that > a -reject route can be added. Restores the ability to set an interface > route > before daemons are started, lost during the previous simplification. > ok millert mpi (sthen@) unbound.conf ~ unbound.conf > add "outgoing-interface" to sample unbound.conf (sthen@) == games ============================================================= 04/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games caesar ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) canfield ~ canfield/Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) factor ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) hunt ~ huntd/answer.c ~ huntd/driver.c > remove unused variables > ok millert@ (chl@) == gnu =============================================================== 05/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu gnu ~ gcc/gcc/config/alpha/alpha.c > Fix optimization for alphas without the ``precise arithmetic trap'' > extension > From Miod Vallat > I trust miod deraadt@ (afresh1@) lib/libstdc++-v3 ~ Makefile > Cleanup duplicate filenames in SRCS (deraadt@) usr.bin/binutils ~ bfd/elf32-sh.c > Fix fallout from the switch to binutils 2.17: the binaries created by 2.17 > aren't recognized by the in-tree gdb because it's built with the bfd code > from 2.15. > From miod@. (kettenis@) usr.bin/cc ~ cc/Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) usr.bin/gcc ~ Makefile.bsd-wrapper > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) usr.sbin/mkhybrid ~ src/desktop.c > remove unused variable > ok otto@ (chl@) == lib =============================================================== 06/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libarch ~ alpha/Makefile ~ amd64/Makefile ~ i386/Makefile ~ mips64/Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) ~ amd64/amd64_get_fsbase.2 ~ i386/i386_get_fsbase.2 ~ i386/i386_get_gsbase.2 > some Xr adjustment to catch up with MLINKS removal; (jmc@) libc ~ sys/execve.2 > Add EISDIR to ERRORS and fix ETXTBSY description; from Piotr Durlej. > OK jmc@ (millert@) ~ gen/syslog_r.c > remove unused variable > ok millert@ (chl@) ~ arch/sparc/sys/syscall.S > Switch to RSYSCALL: no special handling is needed here any more and > we do need the hidden _libc_syscall alias. > from miod@ (guenther@) ~ arch/mips64/sys/syscall.S > Don't need to define SYS_sycall here > noted by miod@ (guenther@) ~ asr/Makefile.inc ~ compat-43/Makefile.inc ~ crypt/Makefile.inc ~ db/Makefile.inc ~ gen/Makefile.inc ~ gmon/Makefile.inc ~ hash/Makefile.inc ~ locale/Makefile.inc ~ net/Makefile.inc ~ regex/Makefile.inc ~ rpc/Makefile.inc ~ stdio/Makefile.inc ~ stdlib/Makefile.inc ~ string/Makefile.inc ~ sys/Makefile.inc ~ termios/Makefile.inc ~ time/Makefile.inc ~ uuid/Makefile.inc ~ yp/Makefile.inc > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) ~ sys/__get_tcb.2 ~ sys/getthrid.2 ~ gen/authenticate.3 ~ gen/syslog.3 > some Xr adjustment to catch up with MLINKS removal; (jmc@) ~ Symbols.list ~ gen/getlogin.c ~ hidden/unistd.h ~ sys/Makefile.inc > Eliminate userspace caching by getlogin_r/setlogin; make the getlogin > syscall behave exactly like userspace getlogin_r() and rename it to > match. Eliminate the reduced-to-no-op wrappers of the syscalls. > Eliminate the unnecessary per-thread static buffering by getlogin(). > ok kettenis@ deraadt@ (guenther@) ~ Symbols.list ~ sys/Makefile.inc ~ sys/ptrace.c + hidden/sys/ptrace.h > Turd polish: use HIDDEN= instead of PSEUDO= for ptrace syscall stub, to > make its underlying symbol name look like others. (guenther@) ~ shlib_version > Major bump for getlogin*/ptrace changes (guenther@) ~ stdlib/malloc.3 > Document ``use after free'' error message (otto@) libcrypto ~ man/Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libcurses ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libedit ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libevent ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libform ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libfuse ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libkeynote ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libkvm ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libm ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libmenu ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libpanel ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libpcap ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) ~ pcap.h > refactor bpf_filter a bit. > the code was confusing around how it dealt with packets in mbufs > vs plain memory buffers with a lenght. > this renames bpf_filter to _bpf_filter, and changes it so the packet > memory is referred to by an opaque pointer, and callers have to > provide a set of operations to extra values from that opaque pointer. > bpf_filter is now provided as a wrapper around _bpf_filter. it > provides a set of operators that work on a straight buffer with a > lenght. > this also adds a bpf_mfilter function which takes an mbuf instead > of a buffer, and it provides explicit operations for extracting > values from mbufs. > if we want to use bpf filters against other data structures (usb > or scsi packets maybe?) we are able to provide functions for > extracting payloads from them and use _bpf_filter as is. > ok canacar@ (dlg@) libpthread ~ man/Makefile.inc > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) ~ man/pthread_create.3 > some Xr adjustment to catch up with MLINKS removal; (jmc@) libradius ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) librthread ~ rthread.c ~ rthread.h ~ rthread_debug.c ~ rthread_fork.c ~ rthread_np.c > Eliminate the need to explicitly invoke syscalls via their _thread_sys_* > aliases by using a macro REDIRECT_SYSCALL() to map the symbols. Apply > that to getthrid(), sysctl(), and issetugid() as well. > ok mpi@ beck@ (guenther@) ~ Makefile ~ rthread.c ~ rthread_attr.c ~ rthread_rwlock.c ~ rthread_sem.c ~ rthread_sync.c ~ rthread_tls.c + namespace.h + pthread.h + pthread_np.h > Wrap <pthread.h> and <pthread_np.h> to eliminate PLT entries for internal > references. Use _thread_pagesize for the semaphore mmap size instead of > calling getpagesize() each time. > ok beck@ (guenther@) libskey ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libsndio ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libssl ~ src/ssl/s3_clnt.c > Merge a memleak fix from BoringSSL 6b6e0b2: > https://boringssl.googlesource.com/boringssl/+/6b6e0b20893e2be0e68af605a60f > fa2cbb0ffa64%5E!/#F0 > ok millert@, beck@ (mmcc@) ~ man/Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libtls ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libusbhid ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libutil ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) libz ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) == libexec =========================================================== 07/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec comsat ~ comsat.c > Use open(tty, O_WRONLY) + fdopen() instead of fopen(tty, "w") to > keep stdio from opening with O_CREAT which would require pledge cpath. > (millert@) login_token ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) rpc.rquotad ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) rpc.rwalld ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) spamd-setup ~ spamd-setup.8 > Don't use .Aq for syntax elements that require ASCII "<>". > Bug reported by Christian Heckendorf <mbie at ulmus dot me>, patch by me. > OK jmc@ bentley@ (schwarze@) == regress =========================================================== 08/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sys ~ netinet/arp/Makefile > Fix multicast test and a typo. > ok bluhm@ (mpi@) ~ netinet/arp/Makefile > Clear local and remote ARP cache for every subtest. > OK mpi (bluhm@) ~ netinet6/pktinfo_addr/Makefile ~ netinet6/pktinfo_addr/runtest.c > Cover the case where we are bound to [::] and SO_REUSEADDR is not set. > (vgross@) usr.sbin ~ syslogd/args-sendsyslog-flags.pl ~ syslogd/args-tls-cafile-fake.pl > Kdump contains LOG_CONS now. TLS error message changes. > Adapt grep regex in syslogd tests. (bluhm@) == sbin ============================================================== 09/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dump ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) fdisk ~ fdisk.c ~ gpt.c > Remove unused variables > OK krw@ (mestre@) ~ cmd.c > The GPT versions of help strings that don't contain'MBR' were > leaking. Refactor logic a bit to avoid leak and make logic clearer. > Noticed by (and initial diff from) mestre@ and his friend clang. (krw@) ~ cmd.c > Dump strdup()/free() dance and just use a local buffer to translate help > messages to GPT. > Unchecked strdup() result noted by mestre@. ok mestre@ tim@ (krw@) isakmpd ~ isakmpd.c > Another use for fcntl() and thus of the superfluous 3rd parameter > is when sanitising standard fd's before calling daemon(). > Use a tweaked version of the ssh(1) function in all three places > found using fcntl() this way. > ok jca@ beck@ (krw@) kbd ~ Makefile > Simplify MACHINE tests, the only platforms in the tree without wsdisplay > are octeon and hppa64. (jsg@) mount_vnd ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) ncheck_ffs ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) newfs ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) reboot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) restore ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) swapctl ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) sysctl ~ sysctl.8 > Don't use .Aq for syntax elements that require ASCII "<>". > Patch from Christian Heckendorf <mbie at ulmus dot me>. > OK jmc@ bentley@ (schwarze@) wsconsctl ~ Makefile > Simplify MACHINE tests, the only platforms in the tree without wsdisplay > are octeon and hppa64. (jsg@) == share ============================================================= 10/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/Makefile + man4/bytgpio.4 > btgpio(4) (kettenis@) ~ man4/acpi.4 ~ man4/bytgpio.4 > some bytgpio bits; (jmc@) ~ man9/Makefile + man9/bpf_mtap.9 > some basic doco for the bpf_mtap family of functions. > yes yes deraadt@ (dlg@) ~ man9/bpf_mtap.9 > IPL_NET, not IPL_HIGH. > too much reading task_add.9 as a reference (dlg@) ~ man9/bpf_mtap.9 > tweak previous; (jmc@) ~ man9/bpf_mtap.9 > all the bpf_mtap functions now return whether to drop the packet or not > (dlg@) ~ man3/Makefile ~ man4/Makefile ~ man4/man4.alpha/Makefile ~ man4/man4.amd64/Makefile ~ man4/man4.armish/Makefile ~ man4/man4.hppa/Makefile ~ man4/man4.hppa64/Makefile ~ man4/man4.i386/Makefile ~ man4/man4.landisk/Makefile ~ man4/man4.loongson/Makefile ~ man4/man4.luna88k/Makefile ~ man4/man4.macppc/Makefile ~ man4/man4.sgi/Makefile ~ man4/man4.socppc/Makefile ~ man4/man4.sparc/Makefile ~ man4/man4.sparc64/Makefile ~ man4/man4.zaurus/Makefile ~ man5/Makefile ~ man8/Makefile ~ man9/Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) ~ man9/fork1.9 ~ man5/login.conf.5 > some Xr adjustment to catch up with MLINKS removal; (jmc@) ~ man4/uslcom.4 > The USB console port on Aruba 7xxx wireless controllers shows up as > "Aruba Networks USB to UART Bridge Controller". It uses a Silabs > CP210x chip with a modified vendor Id that is supported by uslcom(4). > OK jsg@ (reyk@) ~ man5/mk.conf.5 > Don't use .Aq for syntax elements that require ASCII "<>". > Patch from Christian Heckendorf <mbie at ulmus dot me>. > OK jmc@ bentley@ (schwarze@) ~ man4/pppoe.4 > Building kernels with PPPOE_SERVER enabled has been broken for at least > eleven years, remove it. > Despite what the wildly outdated time(9) claims, there is no longer > globally visible "struct timeval mono_time" or "struct timeval time". > ok mpi@ sthen@ mikeb@ (jsg@) ~ man4/pppoe.4 > no Pp before Sh; (jmc@) ~ man4/ath.4 > ath(4) 11g support code is broken and not enabled. Document this > limitation. (stsp@) - man9/time.9 ~ man4/man4.octeon/octrtc.4 ~ man9/Makefile ~ man9/hardclock.9 ~ man9/inittodr.9 ~ man9/microtime.9 ~ man9/ppsratecheck.9 ~ man9/ratecheck.9 ~ man9/resettodr.9 + man9/time_second.9 > Long overdue updates for timecounter changes. > Feedback from jmc@, ok guenther@ for an earlier version. (jsg@) ~ man4/ath.4 > double word; (jmc@) == sys =============================================================== 11/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/alpha ~ fp_complete.c ~ trap.c > Better support for alphas without all IEEE-mode instructions > From Miod Vallat > I trust miod deraadt@ (afresh1@) arch/alpha/include ~ cpu.h > Better support for alphas without all IEEE-mode instructions > From Miod Vallat > I trust miod deraadt@ (afresh1@) arch/amd64/amd64 ~ db_disasm.c > Teach ddb's disassembler about {rd,wr}[fg]sbase > ok mpi@ (guenther@) ~ machdep.c ~ vm_machdep.c > Move the setting of pcb_fsbase out of reset_segs() into its callers > ok mpi@ (guenther@) ~ vm_machdep.c > Don't call savectx() from cpu_fork(): the registers saved are overwritten > ok kettenis@ (guenther@) arch/amd64/conf ~ GENERIC > Enable bytgpio(4). (kettenis@) ~ RAMDISK_CD > Enable bytgpio(4) here as well. (jsg@) arch/amd64/include ~ lock.h > Remove __lockbarrier() defines, unused since cpu_lock removal a few > years ago. > ok dlg@ (jsg@) ~ pcb.h > Move the setting of pcb_fsbase out of reset_segs() into its callers > ok mpi@ (guenther@) arch/amd64/stand/boot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/amd64/stand/cdboot ~ cdboot.8 > some Xr adjustment to catch up with MLINKS removal; (jmc@) arch/amd64/stand/fdboot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/arm/arm ~ cpuswitch7.S > Remove XSCALE preprocessor checks from a file which is only for ARMv7. > ok jsg@ (patrick@) ~ cpufunc.c ~ cpufunc_asm.S > Add cpu_auxcontrol() to clear and set bits in the implementation/model > specific Auxiliary Control Register (ACTLR). > ok patrick@ (jsg@) arch/arm/include ~ lock.h > remove unused cpu_lock code (jsg@) ~ cpufunc.h > Add cpu_auxcontrol() to clear and set bits in the implementation/model > specific Auxiliary Control Register (ACTLR). > ok patrick@ (jsg@) arch/arm/xscale ~ i80321_intr.c ~ pxa2x0_intr.c > Remove tests for "processing" which was never set. It attempted to > protect against multiple entries of a function that handled pending > soft interrupts. This seems to have been a mistake made when converting > code that used simple lock in the 80321 code which got reused in armv7. > arm softintr_dispatch() already has mutexes around invoked callbacks > which should be enough. Make the pxa2x0 code work the same way which > removes the last remaining simple lock use on arm. > ok patrick@ (jsg@) arch/armish/stand/boot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/armv7/armv7 ~ intr.c > Remove tests for "processing" which was never set. It attempted to > protect against multiple entries of a function that handled pending > soft interrupts. This seems to have been a mistake made when converting > code that used simple lock in the 80321 code which got reused in armv7. > arm softintr_dispatch() already has mutexes around invoked callbacks > which should be enough. Make the pxa2x0 code work the same way which > removes the last remaining simple lock use on arm. > ok patrick@ (jsg@) ~ armv7_machdep.c > Map the bootconfig/FDT area passed by u-boot and try to init FDT on it. > If we were passed an FDT, we can completely map the tree and later on > copy it somewhere in our control, so it's not overwritten by anything. > If we are passed a device tree, we need to grab the information we > otherwise would get from the bootinfo struct in another way. We can use > the /memory node to parse the machine's memory information. Bootargs are > stored in /chosen's bootargs property. > This allows us to boot up like before using the board id, but now also > allows us to make use of device tree information. > ok jsg@ (patrick@) arch/armv7/conf ~ files.armv7 > Map the bootconfig/FDT area passed by u-boot and try to init FDT on it. > If we were passed an FDT, we can completely map the tree and later on > copy it somewhere in our control, so it's not overwritten by anything. > If we are passed a device tree, we need to grab the information we > otherwise would get from the bootinfo struct in another way. We can use > the /memory node to parse the machine's memory information. Bootargs are > stored in /chosen's bootargs property. > This allows us to boot up like before using the board id, but now also > allows us to make use of device tree information. > ok jsg@ (patrick@) arch/hppa/stand/boot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/hppa64/stand/boot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/i386/i386 ~ vm_machdep.c > Don't call savectx() from cpu_fork(): the registers saved are overwritten > and the PCB_SAVECTX flag would be a lie. > ok kettenis@ mpi@ (guenther@) arch/i386/include ~ lock.h > Remove __lockbarrier() defines, unused since cpu_lock removal a few > years ago. > ok dlg@ (jsg@) arch/i386/stand/boot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/i386/stand/cdboot ~ cdboot.8 > some Xr adjustment to catch up with MLINKS removal; (jmc@) arch/i386/stand/fdboot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/landisk/stand/boot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/loongson/stand/boot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/macppc/stand ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/octeon/stand/boot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/socppc/stand/boot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) arch/sparc/dev ~ if_ie.c > make the ie(4)s bpf_mtap_ether outgoing packets like all the other drivers > ok mpi@ claudio@ (dlg@) arch/sparc64/conf ~ GENERIC > some oce(4) work, it appears (deraadt@) arch/sparc64/dev ~ fb.c > Some sparc64 pci frame buffers incorrectly have the `depth' property > spelled `depth ' with a trailing space. > From miod@ (kettenis@) arch/zaurus/stand/zboot ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) dev ~ ipmi.c > Always sleep at same priority. > ok uebayasi@ (mpi@) dev/acpi ~ dsdt.h > Add definitions for GPIO resources. (kettenis@) ~ amltypes.h > Add infrastructure that allows gpio drivers to register themselves with > the acpi framework such that we can start adding supportfor GPIO resources. > (kettenis@) ~ files.acpi + bytgpio.c > Add bytgpio(4) a driver for the gpio controllers found on Intel's Bay Trail > SoC. (kettenis@) ~ sdhc_acpi.c > Add support for card detect through a GPIO signal. (kettenis@) ~ dwiic.c > Match based on _HID instead of the driver name. > ok mlarkin@ (kettenis@) ~ acpi.c > Adding each and every new acpi device driver to acpi_foundhid() is > gettinga bit of the burden. And it really isn't how our autoconf > framework is supposed to work for busses that can be enumerated. All > the drivers already check for a matching _HID in their attach > function. So we can just drop the checks in acpi_foundhid() and let > the drivers sort themselves out. > Print a "not configured" line for devices for which we don't attach > adriver. > This may be a bit much as there are devices for which we will not have a > driver. This will be removed if it causes too much dmesg spam. > ok deraadt@, mlarkin@ (kettenis@) ~ bytgpio.c ~ sdhc_acpi.c > Replace 0 with NULL. (kettenis@) ~ acpi.c ~ acpivout.c > Implement a cleaner way to prevent acpivout(4) from attaching if we have > a platform-specific method of controlling the backlight. > ok millert@, mlarkin@, jung@ (kettenis@) ~ acpi.c ~ bytgpio.c ~ dwiic.c ~ sdhc_acpi.c > Check if a device is present (using _STA) in acpi_foundhid. This prevents > us from reporting devices as "not configured" that aren't actually present, > and allows us to remove duplicated code from several drivers. > ok deraadt@, ok jsg@ (kettenis@) ~ dwiic.c > Print address and irq in the same way as sdhc(4)and bytgpio(4). (kettenis@) ~ amltypes.h ~ bytgpio.c ~ dsdt.h > Add support for gpio-based interrupts. > ok jsg@ (kettenis@) ~ sdhc_acpi.c > Hook up the gpio interrupt on devices that use it for card detection. > Makes the SD card slot on machines based on Intel's Bay Trail SoC fully > functional. > ok jsg@ (kettenis@) ~ amltypes.h ~ bytgpio.c ~ sdhc_acpi.c > Make the gpio intr_establish callback return an int so the same function > pointer can be used with gpio and acpi intr_establish. > ok kettenis@ (jsg@) ~ dwiic.c > Add support for I2C HID devices with GPIO signalled interrupts. > Required for the keyboard and touchpad on the ideapad 100s. > ok kettenis@ (jsg@) ~ acpi.c > Reduce dmesg spam by knocking out some acpi hardware IDs that don't need a > driver. > ok mpi@ (kettenis@) dev/hid ~ hidmt.c > Add support for multitouch input to wsmouse. > This change adds new input-processing functions to wsmouse and > adapts the touchpad drivers. > ok mpi@, shadchin@ (bru@) dev/i2c ~ i2cvar.h ~ ihidev.c > Add support for I2C HID devices with GPIO signalled interrupts. > Required for the keyboard and touchpad on the ideapad 100s. > ok kettenis@ (jsg@) dev/ic ~ aac.c > Kill async code commented out for more than 10 years. (mpi@) ~ aacvar.h > Remove outdated unused compat define. mono_time no longer exists and > the kernel has had time_second since 2004. (jsg@) dev/isa ~ if_ie.c > make the ie(4)s bpf_mtap_ether outgoing packets like all the other drivers > ok mpi@ claudio@ (dlg@) dev/ofw ~ fdt.c > The callers of fdt_next_node() expect it to return NULL if a next node > cannot be found. Due to implementation details, it used to return > a pointer to the next node, without checking if it actually exists. > Modify fdt_next_node() to only return a next node if it actually exists > and implement an internal skip_node() function that keeps the previous > behaviour. > ok mpi@ (patrick@) ~ fdt.c ~ fdt.h > Implement a way to extract memory information from a node. This can be > used to extract information about how much RAM is available or where a > controller is in the address space and how big its IO space is. > Add a way to get the device tree's size. This is helpful to find out > how much you need to copy if you want to move the tree somewhere else. > Also add helpers to easily retrieve integers from a property. > ok jsg@ (patrick@) ~ fdt.c > Remove erroneous whitespace added in previous change. (patrick@) dev/pckbc ~ pms.c > Add support for multitouch input to wsmouse. > This change adds new input-processing functions to wsmouse and > adapts the touchpad drivers. > ok mpi@, shadchin@ (bru@) dev/pv ~ xen.c > Move atomics.h include dance to an earlier stage > Otherwise proc.h & friends pick it up before we manage to perform > our MULTIPROCESSOR dance. This time I've made sure we get LOCK > prefixes with an objdump. Bug reported by Evgeniy Sudyr, thanks! (mikeb@) dev/sdmmc ~ sdhc.c ~ sdhcvar.h > Make it possible to override the standard card detect mechanism. The SD > controller on Intel's Bay Trail SoC tends to be used in a way where a > separate gpio is used that signals the presence of a card in a slot. This > change allows us to support that mode. > ok stsp@ (kettenis@) ~ sdhc.c ~ sdhcvar.h > Expose the functionality that triggers a check for card insertion or > removal. > ok jsg@ (kettenis@) dev/usb ~ ubcmtp.c > Add support for multitouch input to wsmouse. > This change adds new input-processing functions to wsmouse and > adapts the touchpad drivers. > ok mpi@, shadchin@ (bru@) ~ usbdevs > Add Aruba CP210x for the integrated "Aruba Networks USB to UART Bridge > Controller" that is found in HP Aruba 7xxx wireless controllers. (reyk@) ~ usbdevs.h ~ usbdevs_data.h > sync > (I forgot: previous change to usbdevs was OK jsg@) (reyk@) ~ uslcom.c > The USB console port on Aruba 7xxx wireless controllers shows up as > "Aruba Networks USB to UART Bridge Controller". It uses a Silabs > CP210x chip with a modified vendor Id that is supported by uslcom(4). > OK jsg@ (reyk@) dev/wscons ~ wsdisplay_compat_usl.c > OpenBSD has stopped using the SVr4 KDENABIO/KDDISABIO ioctls for at > least 10 years. No need for special treatement on i386. > ok deraadt@, millert@, jca@ (matthieu@) ~ wsconsio.h ~ wsmouse.c ~ wsmousevar.h + wsmouseinput.h > Add support for multitouch input to wsmouse. > This change adds new input-processing functions to wsmouse and > adapts the touchpad drivers. > ok mpi@, shadchin@ (bru@) isofs/cd9660 ~ cd9660_vfsops.c > When pulling and unmounting an umass USB stick, the file system > could end up in an inconsistent state. The fstype dependent > mp->mnt_data was NULL, but the general mp was still listed as a > valid mount point. Next access to the file system would crash with > a NULL pointer dereference. > If closing the device fails, the mount point must go away anyway. > There is nothing we can do about it. Remove the workaround for the > EIO error in the general unmount code, but do not generate any error > in the file system specific unmount functions. > OK natano@ beck@ (bluhm@) isofs/udf ~ udf_vfsops.c > When pulling and unmounting an umass USB stick, the file system > could end up in an inconsistent state. The fstype dependent > mp->mnt_data was NULL, but the general mp was still listed as a > valid mount point. Next access to the file system would crash with > a NULL pointer dereference. > If closing the device fails, the mount point must go away anyway. > There is nothing we can do about it. Remove the workaround for the > EIO error in the general unmount code, but do not generate any error > in the file system specific unmount functions. > OK natano@ beck@ (bluhm@) kern ~ vfs_syscalls.c > When pulling and unmounting an umass USB stick, the file system > could end up in an inconsistent state. The fstype dependent > mp->mnt_data was NULL, but the general mp was still listed as a > valid mount point. Next access to the file system would crash with > a NULL pointer dereference. > If closing the device fails, the mount point must go away anyway. > There is nothing we can do about it. Remove the workaround for the > EIO error in the general unmount code, but do not generate any error > in the file system specific unmount functions. > OK natano@ beck@ (bluhm@) ~ kern_synch.c ~ syscalls.master > Make sure that a thread that calls sched_yield(2) ends up on the run queue > behind all other threads in the process by temporarily lowering its > priority. > This isn't optimal but it is the easiest way to guarantee that we make > progress when we're waiting on an other thread to release a lock. This > results in significant improvements for processes that suffer from lock > contention, most notably firefox. Unfortunately this means that > sched_yield(2) > needs to grab the kernel lock again. > All the hard work was done by mpi@, based on observations of the behaviour > of the BFS scheduler diff by Michal Mazurek. > ok deraadt@ (kettenis@) ~ init_sysent.c ~ syscalls.c > regen (kettenis@) ~ kern_synch.c > add back $OpenBSD$ (jsg@) ~ kern_exit.c ~ kern_sig.c > Use a macro to check if a thread has a sibling. > Note that without locking a thread cannot claim that it is part > of a multi-threaded process using this macro. > Suggested by miod@, ok guenther@ (mpi@) ~ uipc_mbuf.c > - packet must keep reference to statekey > this is the second attempt to get it in, the first > attempt got backed out on Jan 31 2016 > the change also contains fixes contributed by Stefan Kempf > in earlier iteration. > OK srhen@ (sashan@) ~ kern_prot.c > In setlogin(), don't change anything on error. > ok deraadt@ krw@ zhuk@ jca@ millert@ (guenther@) ~ kern_prot.c ~ syscalls.master ~ kern_pledge.c > Add getlogin_r syscall that checks and returns errors like userspace > getlogin_r() API; keep existing syscall as getlogin59 for temporary compat. > ok kettenis@ deraadt@ (guenther@) ~ init_sysent.c ~ syscalls.c > regenerate (guenther@) ~ vfs_subr.c ~ spec_vnops.c > Increase size of the clone bitmap. A limit of only 64 device clones > turned out to be too low for the upcoming work on cloning bpf. The new > limit is 1024 device clones. As part of the size increase, the bitmap > has been changed to be allocated separately to avoid bloating all device > nodes, as suggested by guenther, millert and deraadt. > ok millert mikeb (natano@) ~ spec_vnops.c ~ vfs_subr.c > Revert the clone bitmap enlargement change (mikeb@) miscfs/fuse ~ fuse_vfsops.c > When pulling and unmounting an umass USB stick, the file system > could end up in an inconsistent state. The fstype dependent > mp->mnt_data was NULL, but the general mp was still listed as a > valid mount point. Next access to the file system would crash with > a NULL pointer dereference. > If closing the device fails, the mount point must go away anyway. > There is nothing we can do about it. Remove the workaround for the > EIO error in the general unmount code, but do not generate any error > in the file system specific unmount functions. > OK natano@ beck@ (bluhm@) msdosfs ~ msdosfs_vfsops.c > When pulling and unmounting an umass USB stick, the file system > could end up in an inconsistent state. The fstype dependent > mp->mnt_data was NULL, but the general mp was still listed as a > valid mount point. Next access to the file system would crash with > a NULL pointer dereference. > If closing the device fails, the mount point must go away anyway. > There is nothing we can do about it. Remove the workaround for the > EIO error in the general unmount code, but do not generate any error > in the file system specific unmount functions. > OK natano@ beck@ (bluhm@) net ~ if_vlan_var.h ~ if_vlan.c > turn ifv_p into an interface index instead of a real pointer to the parent > ok mpi@ jmatthew@ (dlg@) ~ if_vlan.c > use sizeof(*evl) instead of EVL_ENCAPLEN in vlan_input (dlg@) ~ if_pfsync.c ~ pf.c ~ pfvar.h > - packet must keep reference to statekey > this is the second attempt to get it in, the first > attempt got backed out on Jan 31 2016 > the change also contains fixes contributed by Stefan Kempf > in earlier iteration. > OK srhen@ (sashan@) ~ bpf.c ~ bpf.h > make bpf_mtap et al return whether the mbuf should be dropped > ok mpi@ (dlg@) ~ if_vlan.c > the stack checks the mac address of rxed packets, so vlan(4) doesnt have to > ok mpi@ claudio@ (dlg@) ~ route.h ~ rtsock.c > Implement proxy ARP for ART based on mpath support. > Since mpath is not enabled in RAMDISK, proxy ARP won't work there either. > ok bluhm@ (mpi@) ~ if_bridge.c > replace bridge_m_dup with m_dup_pkt. > less code for the same effect, which is ETHER_ALIGNed packets. > ok mpi@ (dlg@) ~ bpfdesc.h ~ bpf.c > remove support for BIOCGQUEUE and BIOSGQUEUE > nothing uses them, and the implementation make incorrect assumptions > about mbufs within bpf processing that could lead to some weird > failures. > ok sthen@ deraadt@ mpi@ (dlg@) ~ bpf.h > BIOCGQUEUE and BIOCSQUEUE are no more (dlg@) ~ if_ethersubr.c ~ if_pppoe.c > Building kernels with PPPOE_SERVER enabled has been broken for at least > eleven years, remove it. > Despite what the wildly outdated time(9) claims, there is no longer > globally visible "struct timeval mono_time" or "struct timeval time". > ok mpi@ sthen@ mikeb@ (jsg@) ~ bpf.c ~ bpf.h ~ bpf_filter.c > refactor bpf_filter a bit. > the code was confusing around how it dealt with packets in mbufs > vs plain memory buffers with a lenght. > this renames bpf_filter to _bpf_filter, and changes it so the packet > memory is referred to by an opaque pointer, and callers have to > provide a set of operations to extra values from that opaque pointer. > bpf_filter is now provided as a wrapper around _bpf_filter. it > provides a set of operators that work on a straight buffer with a > lenght. > this also adds a bpf_mfilter function which takes an mbuf instead > of a buffer, and it provides explicit operations for extracting > values from mbufs. > if we want to use bpf filters against other data structures (usb > or scsi packets maybe?) we are able to provide functions for > extracting payloads from them and use _bpf_filter as is. > ok canacar@ (dlg@) ~ bpf.h ~ bpf_filter.c > mark the program and buffer as const in bpf_filter() > other projects have already done this, and there's software (eg, > gopacket) which now expects it. > based on a discussion with jasper@ and canacar@ > ok jasper@ (dlg@) ~ bpf_filter.c > mark the bpf_mem ops as Static. > Static is a nop in _KERNEL, but is static in userland and therefore libpcap > (dlg@) ~ bpf.h > mark the packet buffer in bpf_filter as bounded by the pktlen arg > ok guenther@ (dlg@) netinet ~ tcp_input.c ~ tcp_var.h > To prevent attacks on the hash buckets of the syn cache, our TCP > stack reseeds the hash function every time the cache is empty. > Unfortunatly the attacker can prevent the reseeding by sending > unanswered SYN packes periodically. > Fix this by having an active syn cache that gets new entries and a > passive one that is idling out. When the passive one is empty and > the active one has been used 100000 times, they switch roles and > the hash function is reseeded with new random. > tedu@ agrees; OK mpi@ (bluhm@) ~ ip_input.c > - packet must keep reference to statekey > this is the second attempt to get it in, the first > attempt got backed out on Jan 31 2016 > the change also contains fixes contributed by Stefan Kempf > in earlier iteration. > OK srhen@ (sashan@) ~ tcp_input.c ~ tcp_usrreq.c ~ tcp_var.h > Allow to adjust tcp_syn_use_limit with sysctl net.inet.tcp.synuselimit. > This is convenient to test the feature and may be useful to defend > against syn flooding in a denial of service condition. It is > consistent to the existing syn cache sysctls. Move some declarations > to tcp_var.h to access the syn cache sets from tcp_sysctl(). > OK mpi@ (bluhm@) ~ if_ether.c ~ if_ether.h > Implement proxy ARP for ART based on mpath support. > Since mpath is not enabled in RAMDISK, proxy ARP won't work there either. > ok bluhm@ (mpi@) ~ tcp_input.c > If one of the TCP syn cache buckets overflow, it might be a collision > attack against our hash function. In this case, switch to the > passive syn cache as soon as possible. It will start with a new > random seed for the hash. > input and OK mpi@ (bluhm@) netinet6 ~ icmp6.c ~ ip6_divert.c ~ ip6_forward.c ~ ip6_input.c ~ nd6_nbr.c ~ raw_ip6.c > remove dead stores and unused variables > ok bluhm@ jca@ (chl@) ~ nd6.h > Implement proxy ARP for ART based on mpath support. > Since mpath is not enabled in RAMDISK, proxy ARP won't work there either. > ok bluhm@ (mpi@) ~ in6_pcb.c > Use in6_pcbhashlookup() in in6_pcbconnect(). We don't need in_pcblookup() > broad search and in_pcbconnect() already uses in_pcbhashlookup(). > ok bluhm@ mpi@ jca@ (vgross@) ~ udp6_output.c > Don't forget to initialize scope_id. This fixes semarie@ and sthen@'s > regressions with dhcpcd. > Ok sthen@ (vgross@) ntfs ~ ntfs_vfsops.c > When pulling and unmounting an umass USB stick, the file system > could end up in an inconsistent state. The fstype dependent > mp->mnt_data was NULL, but the general mp was still listed as a > valid mount point. Next access to the file system would crash with > a NULL pointer dereference. > If closing the device fails, the mount point must go away anyway. > There is nothing we can do about it. Remove the workaround for the > EIO error in the general unmount code, but do not generate any error > in the file system specific unmount functions. > OK natano@ beck@ (bluhm@) sys ~ syscall.h ~ syscallargs.h > regen (kettenis@) ~ proc.h > Use a macro to check if a thread has a sibling. > Note that without locking a thread cannot claim that it is part > of a multi-threaded process using this macro. > Suggested by miod@, ok guenther@ (mpi@) ~ mbuf.h > - packet must keep reference to statekey > this is the second attempt to get it in, the first > attempt got backed out on Jan 31 2016 > the change also contains fixes contributed by Stefan Kempf > in earlier iteration. > OK srhen@ (sashan@) ~ syscall.h ~ syscallargs.h > regenerate (guenther@) ~ specdev.h > Increase size of the clone bitmap. A limit of only 64 device clones > turned out to be too low for the upcoming work on cloning bpf. The new > limit is 1024 device clones. As part of the size increase, the bitmap > has been changed to be allocated separately to avoid bloating all device > nodes, as suggested by guenther, millert and deraadt. > ok millert mikeb (natano@) ~ specdev.h > Revert the clone bitmap enlargement change (mikeb@) ufs/ext2fs ~ ext2fs_vfsops.c > When pulling and unmounting an umass USB stick, the file system > could end up in an inconsistent state. The fstype dependent > mp->mnt_data was NULL, but the general mp was still listed as a > valid mount point. Next access to the file system would crash with > a NULL pointer dereference. > If closing the device fails, the mount point must go away anyway. > There is nothing we can do about it. Remove the workaround for the > EIO error in the general unmount code, but do not generate any error > in the file system specific unmount functions. > OK natano@ beck@ (bluhm@) ufs/ffs ~ ffs_vfsops.c > When pulling and unmounting an umass USB stick, the file system > could end up in an inconsistent state. The fstype dependent > mp->mnt_data was NULL, but the general mp was still listed as a > valid mount point. Next access to the file system would crash with > a NULL pointer dereference. > If closing the device fails, the mount point must go away anyway. > There is nothing we can do about it. Remove the workaround for the > EIO error in the general unmount code, but do not generate any error > in the file system specific unmount functions. > OK natano@ beck@ (bluhm@) ufs/ufs ~ ufs_dirhash.c > Remove sparc special-casing from ufsdirhash_init(). This is not required > anymore since the kernel VM space increase work done in sparc about one > year ago. > from Miod Vallat; thanks! > ok tobiasu (natano@) uvm ~ uvm_amap.c ~ uvm_amap.h ~ uvm_map.c > amap_extend is never called, remove it. > In the code, this function is called when vm_map_entries are merged. > However, only kernel map entries are merged, and these do not use amaps. > Therefore amap_extend() is never called at runtime. > ok millert@, KASSERT suggestion and ok mpi@ (stefan@) ~ uvm_anon.c ~ uvm_fault.c ~ uvm_mmap.c > Remove dead assignments and now unused variables. > Found by LLVM/Clang Static Analyzer. > ok mpi@ stefan@ (chl@) == usr.bin =========================================================== 12/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin arch ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) at ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) calendar ~ calendars/calendar.music ~ calendars/de_DE.UTF-8/calendar.musik > Fix spelling of "Beverly Hills". From Carson Chittom. (tim@) chpass ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) compress ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) dc ~ bcode.c ~ stack.c > some style(9) and redundant tests for NULL, from Michael W. Bombardieri > (otto@) expand ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) grep ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) kdump ~ kdump.c > Handle error return by SYS_getlogin_r and SYS___thrsleep correct, and > parse args of SYS_getlogin_r (guenther@) lex ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) logger ~ logger.c > remove unused variable > ok millert@ (chl@) mail ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) make ~ cmd_exec.c > remove unused variable > ok espie@ (chl@) mandoc ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) netstat ~ inet6.c > Drop if-zeroed gethostbyname2.h header, remnant from KAME times (jca@) newsyslog ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) pkill ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) rdist ~ child.c > In setnonblocking() rename "mode" variable to "flags". (millert@) ~ message.c > Avoid compiler warning about zero-length printf format strings. > Allow a NULL format in message() and switch the two calls to > error() and message() with an empty format string to using NULL. > OK deraadt@ (millert@) rdistd ~ server.c > The change to make mkstemp(3) require at least 6 trailing Xs broke > rdistd for directories that do not exist on the destination. Calling > mkstemp(3) twice with the same format (filled in by the first > mkstemp(3) call) is bogus so call chkparent() *before* mkstemp(3) > instead of only on error. This costs an extra lstat(2) in the case > where the directory already exists but simplifies the code and > doesn't rely on undefined behavior (namely, the state of the template > when mkstemp fails). OK tim@ (millert@) ~ server.c > Avoid compiler warning about zero-length printf format strings. > Allow a NULL format in message() and switch the two calls to > error() and message() with an empty format string to using NULL. > OK deraadt@ (millert@) rusers ~ rusers.c > remove unused variable > ok bentley@ (chl@) skey ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) skeyaudit ~ skeyaudit.c > Another use for fcntl() and thus of the superfluous 3rd parameter > is when sanitising standard fd's before calling daemon(). > Use a tweaked version of the ssh(1) function in all three places > found using fcntl() this way. > ok jca@ beck@ (krw@) ssh ~ dh.c ~ pathnames.h > Remove fallback from moduli to "primes" file that was deprecated in 2001 > and fix log messages referring to primes file. Based on patch from > xnox at ubuntu.com via bz#2559. "kill it" deraadt@ (dtucker@) ~ mux.c > whitespace at EOL (djm@) ~ misc.c > Another use for fcntl() and thus of the superfluous 3rd parameter > is when sanitising standard fd's before calling daemon(). > Use a tweaked version of the ssh(1) function in all three places > found using fcntl() this way. > ok jca@ beck@ (krw@) tcpbench ~ tcpbench.c > remove unused variable > ok millert@ (chl@) tmux ~ server.c > Bump the listen() backlog up, some people have scripts that run up a lot > of clients quickly. (nicm@) tput ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) tset ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) units ~ units.lib > update currency exchange rates; (jmc@) uuencode ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) vi ~ build/Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) vmstat ~ vmstat.8 > some Xr adjustment to catch up with MLINKS removal; (jmc@) == usr.sbin ========================================================== 13/13 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin adduser ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) apm ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) authpf ~ authpf.c > - Add missing goto in order to avoid a dereference of a null object > - While here remove lint comment > OK millert@ (mestre@) ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) inetd ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) ntpd ~ control.c ~ ntpd.h > Rename session_socket_blockmode() to session_socket_nonblockmode(), > removing its second parameter and the enum() that provided the > values for said parameter. > The function was only called with the second parameter set to one > value (BM_NONBLOCKING) from the enum(). So just do the right thing. > Similar to changes made in smtpd. > While here remove the pointless third parameter from the fcntl(F_GETFL) > call. > No functional change. > ok guenther@ bcook@ deraadt@ (krw@) pkg_add ~ OpenBSD/Ustar.pm > sprinkle spaces to make more obvious which fields we use (espie@) ~ OpenBSD/Add.pm ~ OpenBSD/ArcCheck.pm ~ OpenBSD/PkgCreate.pm > streamline the code that checks meta information before extracting files > - verify_modes should only verify modes > - put the whole checking code in one single routine in validate_meta, makes > the size checking code more obvious > - document what's going on > - prevent PkgCreate from creating impossible packages, only a few Ustar > objects are actually usable. (espie@) quotaon ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) rcctl ~ rcctl.sh > Make usage() a bit more user friendly wrt "action" and "lsarg". > prodded by espie@ (ajacoutot@) ~ rcctl.sh > Compute "action" from the _rc_actions variable. (ajacoutot@) ~ rcctl.sh > Remove left-over debug line. (ajacoutot@) ~ rcctl.8 ~ rcctl.sh > Rename the 'faulty' list action to 'failed'; it clearer. > prodded by matthieu@ > ok millert@ jung@ sthen@ (ajacoutot@) rpc.bootparamd ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) smtpd ~ smtpctl/Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) syslogd ~ syslogd.8 > Don't use .Aq for syntax elements that require ASCII "<>". > Patch from Christian Heckendorf <mbie at ulmus dot me>. > OK jmc@ bentley@ (schwarze@) ~ privsep.c ~ syslogd.c ~ ttymsg.c > Eliminate superfluous 3rd params in fcntl(F_GETFL) calls. > ttymsg.c doesn't need to include fcntl.h. > Tweak standard fd sanitising to be more like the sanitise_stdfd() > used elsewhere, though other uses of 'nullfd' make importing > sanitise_stdfd() itself unappetizing. > Add a die(0) if dup2() fails. > suggestions & ok bluhm@ (krw@) tcpdump ~ print-cdp.c > Properly check for the end of captured packet while printing CDP packets. > ok deraadt@ (canacar@) ~ tcpdump.8 > Don't use .Aq for syntax elements that require ASCII "<>". > Patch from Christian Heckendorf <mbie at ulmus dot me>. > OK jmc@ bentley@ (schwarze@) tftpd ~ tftpd.c > Go in the background much later, to reduce possible silent failures. > rev. 1.34 moved the call to daemon() before the chroot, thus hiding > errors if the target directory or _tftpd user don't exist. To go in the > background later we need to preopen /dev/null. The code is put in > a daemon(3) like function that could be used in other daemons. > Lack of error reporting spotted by ajacoutot@, initial diff from dlg@. > rdaemon() "concept" discussed with semarie@. ok ajacoutot@ dlg@ (jca@) ~ tftpd.c > For consistency, omit the variable name in rdaemon() prototype. (jca@) tokenadm ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) tokeninit ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) traceroute ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) user ~ defs.h ~ user.c > Remove handrolled #define FREE and use free(3) directly without wrapping > if (ptr!=NULL) around them since they are not needed. > OK millert@ and jung@ (mestre@) ~ user.c > Remove cast from free(3) > OK gsoares@ (mestre@) - defs.h ~ main.c ~ user.c > -Remove function #defines from defs.h and use the actual code accordingly > in > user.c > -Remove MIN and MAX #defines which are not being in use since the last 16 > years > -Move last #define to user.c and remove file defs.h > -Remove lint comments > OK natano@ after his suggestions and also OK jung@ on an earlier version > (mestre@) ~ user.c > If program cannot reserve memory then the user doesn't need to know exactly > how > many bytes it couldn't allocate > Suggested and OK from natano@ and millert@ also agrees (mestre@) ~ Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) wsconscfg ~ Makefile > Simplify MACHINE tests, the only platforms in the tree without wsdisplay > are octeon and hppa64. (jsg@) ypserv ~ ypxfr/Makefile > for some time now mandoc has not required MLINKS to function > correctly - logically complete that now by removing MLINKS from base; > authors need only to ensure there is an entry in NAME for any function/ > util being added. MLINKS will still work, and remain for perl to ease > upgrades; > ok nicm (curses) bcook (ssl) > ok schwarze, who provided a lot of feedback and assistance > ok tb natano jung (jmc@) =============================================================================== _______________________________________________ owc mailing list [email protected] http://www.squish.net/mailman/listinfo/owc
