OpenBSD src changes summary for 2016-04-02 ==========================================
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/sgi distrib/socppc distrib/sparc64 distrib/zaurus lib/libpcap lib/librthread libexec/comsat sbin/isakmpd sys/dev/acpi sys/dev/i2c sys/net usr.bin/skeyaudit usr.bin/ssh usr.sbin/pkg_add usr.sbin/syslogd == distrib =========================================================== 01/07 == 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 ~ 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@) 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@) 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@) == lib =============================================================== 02/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libpcap ~ 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@) 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@) == libexec =========================================================== 03/07 == 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@) == sbin ============================================================== 04/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin 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@) == sys =============================================================== 05/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys dev/acpi ~ 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/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@) net ~ 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@) == usr.bin =========================================================== 06/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin 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 ~ 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@) == usr.sbin ========================================================== 07/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin 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@) syslogd ~ 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@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
