OpenBSD src changes summary for 2015-11-10 ==========================================
Makefile.cross distrib/sets etc/MAKEDEV.common etc/Makefile etc/etc.alpha/MAKEDEV etc/etc.amd64/MAKEDEV etc/etc.amd64/MAKEDEV.md etc/etc.armish/MAKEDEV etc/etc.armv7/MAKEDEV etc/etc.aviion/MAKEDEV etc/etc.hppa/MAKEDEV etc/etc.hppa64/MAKEDEV etc/etc.i386/MAKEDEV etc/etc.i386/MAKEDEV.md etc/etc.landisk/MAKEDEV etc/etc.loongson/MAKEDEV etc/etc.luna88k/MAKEDEV etc/etc.macppc/MAKEDEV etc/etc.octeon/MAKEDEV etc/etc.sgi/MAKEDEV etc/etc.socppc/MAKEDEV etc/etc.sparc/MAKEDEV etc/etc.sparc64/MAKEDEV etc/etc.vax/MAKEDEV etc/etc.zaurus/MAKEDEV etc/rc games/fortune include/signal.h lib/csu lib/libc lib/libevent lib/libkeynote lib/libkvm lib/libm lib/libpthread lib/librthread lib/libskey lib/libssl lib/libutil lib/libz sbin/fdisk sbin/newfs sbin/ping sbin/ping6 share/man sys/arch/amd64/amd64 sys/arch/amd64/include sys/arch/i386/include sys/arch/sparc/include sys/dev/pci sys/kern sys/net sys/sys sys/uvm usr.bin/kdump usr.bin/rs usr.bin/tmux usr.sbin/ikectl usr.sbin/rebound == Makefile.cross ==================================================== 01/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/Makefile.cross Makefile.cross > Always honor ${DESTDIR}. OK miod@ (uebayasi@) == distrib =========================================================== 02/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armish ~ lists/base/md.armv7 ~ lists/base/md.aviion ~ 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 ~ lists/etc/mi > sync (deraadt@) ~ lists/comp/mi > sync (deraadt@) == etc =============================================================== 03/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc MAKEDEV.common ~ MAKEDEV.common > add /dev/vmm, req'd by and ok mlarkin@ (sthen@) ~ MAKEDEV.common > remove stray { } (sthen@) Makefile ~ Makefile > With ikectl now requiring ca specific sections not present in the > general openssl cnf files install the ikeca.cnf file. > ok sthen@ requested by reyk@ (jsg@) etc.alpha/MAKEDEV ~ etc.alpha/MAKEDEV > sync (sthen@) ~ etc.alpha/MAKEDEV > sync (sthen@) etc.amd64/MAKEDEV ~ etc.amd64/MAKEDEV > sync (sthen@) ~ etc.amd64/MAKEDEV > sync (sthen@) etc.amd64/MAKEDEV.md ~ etc.amd64/MAKEDEV.md > add /dev/vmm, req'd by and ok mlarkin@ (sthen@) etc.armish/MAKEDEV ~ etc.armish/MAKEDEV > sync (sthen@) ~ etc.armish/MAKEDEV > sync (sthen@) etc.armv7/MAKEDEV ~ etc.armv7/MAKEDEV > sync (sthen@) ~ etc.armv7/MAKEDEV > sync (sthen@) etc.aviion/MAKEDEV ~ etc.aviion/MAKEDEV > sync (sthen@) ~ etc.aviion/MAKEDEV > sync (sthen@) etc.hppa/MAKEDEV ~ etc.hppa/MAKEDEV > sync (sthen@) ~ etc.hppa/MAKEDEV > sync (sthen@) etc.hppa64/MAKEDEV ~ etc.hppa64/MAKEDEV > sync (sthen@) ~ etc.hppa64/MAKEDEV > sync (sthen@) etc.i386/MAKEDEV ~ etc.i386/MAKEDEV > sync (sthen@) ~ etc.i386/MAKEDEV > sync (sthen@) etc.i386/MAKEDEV.md ~ etc.i386/MAKEDEV.md > add /dev/vmm, req'd by and ok mlarkin@ (sthen@) etc.landisk/MAKEDEV ~ etc.landisk/MAKEDEV > sync (sthen@) ~ etc.landisk/MAKEDEV > sync (sthen@) etc.loongson/MAKEDEV ~ etc.loongson/MAKEDEV > sync (sthen@) ~ etc.loongson/MAKEDEV > sync (sthen@) etc.luna88k/MAKEDEV ~ etc.luna88k/MAKEDEV > sync (sthen@) ~ etc.luna88k/MAKEDEV > sync (sthen@) etc.macppc/MAKEDEV ~ etc.macppc/MAKEDEV > sync (sthen@) ~ etc.macppc/MAKEDEV > sync (sthen@) etc.octeon/MAKEDEV ~ etc.octeon/MAKEDEV > sync (sthen@) ~ etc.octeon/MAKEDEV > sync (sthen@) etc.sgi/MAKEDEV ~ etc.sgi/MAKEDEV > sync (sthen@) ~ etc.sgi/MAKEDEV > sync (sthen@) etc.socppc/MAKEDEV ~ etc.socppc/MAKEDEV > sync (sthen@) ~ etc.socppc/MAKEDEV > sync (sthen@) etc.sparc/MAKEDEV ~ etc.sparc/MAKEDEV > sync (sthen@) ~ etc.sparc/MAKEDEV > sync (sthen@) etc.sparc64/MAKEDEV ~ etc.sparc64/MAKEDEV > sync (sthen@) ~ etc.sparc64/MAKEDEV > sync (sthen@) etc.vax/MAKEDEV ~ etc.vax/MAKEDEV > sync (sthen@) ~ etc.vax/MAKEDEV > sync (sthen@) etc.zaurus/MAKEDEV ~ etc.zaurus/MAKEDEV > sync (sthen@) ~ etc.zaurus/MAKEDEV > sync (sthen@) rc ~ rc > Fix typos in comments (tim@) == games ============================================================= 04/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games fortune ~ fortune/fortune.c > replace open(path, 0) with open(path, O_RDONLY). amazing to still find > sloppiness like this. (deraadt@) ~ fortune/fortune.c > pledge "stdio rpath" at the top. (Ricardo's 2nd chunk which reduces > further is not placed right, so I ignored it for now) > from Ricardo Mestre (deraadt@) ~ fortune/fortune.c > another open(path, 0)... (deraadt@) == include =========================================================== 05/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/include signal.h ~ signal.h > Split the intra-thread functionality from kill(2) into its own syscall > thrkill(2), rolling the kill(2) syscall number with the ABI change to > avoid breaking binaries during during the transition. thrkill(2) includes > a 'tcb' argument that eliminates the need for locking in pthread_kill() > and simplifies pthread_cancel(). Switch __stack_smash_handler() to use > thrkill(2) and explicitly unblock SIGABRT. > Minor bump to both libc and libpthread: make sure you install a new kernel! > ok semarie@ (guenther@) == lib =============================================================== 06/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib csu ~ crtbegin.c > libc.so can't be unloaded, so move the hidden atexit() and pthread_atfork() > stubs for the executable from crtbegin.o into libc, which lets them be > excluded from static links that don't use them. > For this, drop the normal crt{begin,end}S.o from libc.so: the .init and > .fini > sections for libc aren't called at the right times anyway, so it's good > that > they're unused. libc.so just needs __guard_local and the > .note.openbsd.ident > section, so add them to stack_protector.c for now (this will be improved) > "good time" deraadt@ (guenther@) libc ~ Makefile ~ Symbols.list ~ hidden/stdlib.h ~ stdlib/atexit.c ~ sys/stack_protector.c ~ thread/atfork.c + hidden/pthread.h > libc.so can't be unloaded, so move the hidden atexit() and pthread_atfork() > stubs for the executable from crtbegin.o into libc, which lets them be > excluded from static links that don't use them. > For this, drop the normal crt{begin,end}S.o from libc.so: the .init and > .fini > sections for libc aren't called at the right times anyway, so it's good > that > they're unused. libc.so just needs __guard_local and the > .note.openbsd.ident > section, so add them to stack_protector.c for now (this will be improved) > "good time" deraadt@ (guenther@) ~ Symbols.list ~ shlib_version ~ hidden/signal.h ~ sys/Makefile.inc ~ sys/stack_protector.c ~ gen/raise.c + sys/thrkill.2 > Split the intra-thread functionality from kill(2) into its own syscall > thrkill(2), rolling the kill(2) syscall number with the ABI change to > avoid breaking binaries during during the transition. thrkill(2) includes > a 'tcb' argument that eliminates the need for locking in pthread_kill() > and simplifies pthread_cancel(). Switch __stack_smash_handler() to use > thrkill(2) and explicitly unblock SIGABRT. > Minor bump to both libc and libpthread: make sure you install a new kernel! > ok semarie@ (guenther@) ~ time/tzset.3 > Document tzsetwall(). OK schwarze@ jmc@ (millert@) ~ crypt/blowfish.3 ~ db/man/dbm.3 ~ db/man/ndbm.3 ~ gen/auth_subr.3 ~ gen/authenticate.3 ~ gen/directory.3 ~ gen/exec.3 ~ gen/fpclassify.3 ~ gen/fts.3 ~ gen/getcap.3 ~ gen/login_cap.3 ~ gen/pwcache.3 ~ gen/sigsetops.3 ~ hash/md5.3 ~ hash/rmd160.3 ~ hash/sha1.3 ~ hash/sha2.3 ~ net/byteorder.3 ~ net/ethers.3 ~ net/inet_net.3 ~ net/resolver.3 ~ regex/regex.3 ~ rpc/rpc.3 ~ rpc/xdr.3 ~ stdlib/rand48.3 ~ sys/getitimer.2 ~ sys/select.2 ~ uuid/uuid.3 ~ yp/ypclnt.3 > update NAME section to include all documented functions, > or otherwise change Dt to reflect the name of an existing function; > feedback/ok schwarze (jmc@) libevent ~ event.3 > update NAME section to include all documented functions, > or otherwise change Dt to reflect the name of an existing function; > feedback/ok schwarze (jmc@) libkeynote ~ keynote.3 > update NAME section to include all documented functions, > or otherwise change Dt to reflect the name of an existing function; > feedback/ok schwarze (jmc@) libkvm ~ kvm_dump.3 > update NAME section to include all documented functions, > or otherwise change Dt to reflect the name of an existing function; > feedback/ok schwarze (jmc@) libm ~ man/lgamma.3 ~ man/remainder.3 > update NAME section to include all documented functions, > or otherwise change Dt to reflect the name of an existing function; > feedback/ok schwarze (jmc@) libpthread ~ man/pthread_mutexattr.3 ~ man/pthread_schedparam.3 > update NAME section to include all documented functions, > or otherwise change Dt to reflect the name of an existing function; > feedback/ok schwarze (jmc@) librthread ~ rthread.c ~ rthread.h ~ shlib_version > Split the intra-thread functionality from kill(2) into its own syscall > thrkill(2), rolling the kill(2) syscall number with the ABI change to > avoid breaking binaries during during the transition. thrkill(2) includes > a 'tcb' argument that eliminates the need for locking in pthread_kill() > and simplifies pthread_cancel(). Switch __stack_smash_handler() to use > thrkill(2) and explicitly unblock SIGABRT. > Minor bump to both libc and libpthread: make sure you install a new kernel! > ok semarie@ (guenther@) libskey ~ skey.3 > update NAME section to include all documented functions, > or otherwise change Dt to reflect the name of an existing function; > feedback/ok schwarze (jmc@) libssl ~ man/Makefile > SSL_CTX_sess_set_remove mlink should be SSL_CTX_sess_set_remove_cb; (jmc@) libutil ~ uucplock.3 > update NAME section to include all documented functions, > or otherwise change Dt to reflect the name of an existing function; > feedback/ok schwarze (jmc@) libz ~ compress.3 > update NAME section to include all documented functions, > or otherwise change Dt to reflect the name of an existing function; > feedback/ok schwarze (jmc@) == sbin ============================================================== 07/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin fdisk ~ mbr.c > Use UINT32_MAX for the size of the EFI System partition on disks larger > than > UINT32_MAX sectors. i.e. don't use the truncated value aligned to cylinder > size that we use for 'real' MBR partitions. > Makes GPT on large disks work. > Problem found & fix tested by naddy@. (krw@) newfs ~ newfs.c > newfs does not need TMPDIR support (deraadt@) ping ~ ping.c > Reduce diff between ping and ping6. > - increase MAX_DUP_CHK in ping to ping6' value, we should have enough > ram these days. > - sync -l, -s and -V option handling > - rename MAXDATALEN to MAXPAYLOAD in ping6 > no (intendet) functional change. > OK benno@ (florian@) ping6 ~ ping6.c > Reduce diff between ping and ping6. > - increase MAX_DUP_CHK in ping to ping6' value, we should have enough > ram these days. > - sync -l, -s and -V option handling > - rename MAXDATALEN to MAXPAYLOAD in ping6 > no (intendet) functional change. > OK benno@ (florian@) == share ============================================================= 08/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man3/bitstring.3 ~ man3/dlfcn.3 ~ man3/queue.3 ~ man3/stdarg.3 ~ man3/tree.3 > update NAME section to include all documented functions, > or otherwise change Dt to reflect the name of an existing function; > feedback/ok schwarze (jmc@) == sys =============================================================== 09/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ pmap.c > pmap changes required for vmm. Changes include addition of pm_type to > track type of pmap and various conversion and pte bit manipulation > functions for EPT. (mlarkin@) arch/amd64/include ~ pmap.h > pmap changes required for vmm. Changes include addition of pm_type to > track type of pmap and various conversion and pte bit manipulation > functions for EPT. (mlarkin@) arch/i386/include ~ tcb.h > Make TCB_GET() in the kernel return a (void *) like all the others archs > problem reported by semarie@ (guenther@) arch/sparc/include ~ pmap.h > Define pmap_nested() here too, since we define PMAP_EXCLUDE_DECLS for the > sake > of <uvm/uvm_pmap.h>. (miod@) dev/pci ~ if_bgereg.h > The window accessible with BGE_MEMWIN_{READ,WRITE} only spans 32KB, so > program it as such and not as a 64KB window; fortunately none of the > current > users of these macros would cross a 32KB boundary. > ok dlg@ (miod@) ~ if_bge.c > In bge_reset(), after figuring out which register access routines to use > depending upon the chip capabilities, use it everywhere instead of > hardcoding > one call to bge_writemem_ind() by mistake; this unbreaks the BCM5704 A3 > found > on some xserve G5 (RackMac3,1). > Also tested on a few other bge(4) chip models by jmatthew@ (5703X, 5714), > mpi@ (5780), naddy@ (5761) and me (5701). > ok dlg@ (miod@) kern ~ syscalls.master ~ kern_sig.c ~ kern_pledge.c > Split the intra-thread functionality from kill(2) into its own syscall > thrkill(2), rolling the kill(2) syscall number with the ABI change to > avoid breaking binaries during during the transition. thrkill(2) includes > a 'tcb' argument that eliminates the need for locking in pthread_kill() > and simplifies pthread_cancel(). Switch __stack_smash_handler() to use > thrkill(2) and explicitly unblock SIGABRT. > Minor bump to both libc and libpthread: make sure you install a new kernel! > ok semarie@ (guenther@) ~ init_sysent.c ~ syscalls.c > regen (guenther@) net ~ if_vlan.c ~ if_gre.c > dont use IF_DROP when there was some arbitary problem sending a packet. > IF_DROP increments the drop counter on the send queue, it exists > to indicate a drop on the send queue. if there was an error sending > a packet be content incrementing if_oerrors. > ok mpi@ uebayasi@ (dlg@) ~ if_pflog.c ~ if_pfsync.c > flush the send queue in start routines with IFQ_PURGE. > ok mpi@ uebayasi@ (dlg@) ~ art.c ~ rtable.c > Allocate ART table's heap independently from the structure and use > pool(9) to not waste most of the memory allocated. > This reduces the memory overhead of our ART routing table from 80M > to 70M compared to the existing radix-tree when loading ~550K IPv4 > routes. > ART can now be used for huge tables without exhausting malloc(9)'s > limit. > claudio@ agrees with the direction, inputs from and ok dlg@ (mpi@) sys ~ syscall.h ~ syscallargs.h > regen (guenther@) uvm ~ uvm_fault.c ~ uvm_pmap.h > UVM change needed for vmm. > discussed with miod, deraadt, and guenther. (mlarkin@) == usr.bin =========================================================== 10/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin kdump ~ kdump.c > Split the intra-thread functionality from kill(2) into its own syscall > thrkill(2), rolling the kill(2) syscall number with the ABI change to > avoid breaking binaries during during the transition. thrkill(2) includes > a 'tcb' argument that eliminates the need for locking in pthread_kill() > and simplifies pthread_cancel(). Switch __stack_smash_handler() to use > thrkill(2) and explicitly unblock SIGABRT. > Minor bump to both libc and libpthread: make sure you install a new kernel! > ok semarie@ (guenther@) rs ~ rs.c > With -H, do not overrun your static buffer on files longer than 4 kB. > With -K, do not print bogus blank lines in case of premature EOF. > While here, completely rewrite get_line() in a modern style using > getline(3), ferror(3), strdup(3), and ssize_t for line lengths. > Completely get rid of the static buffer. > I wouldn't be very surprised if this fixes even more bugs > than the two ones mentioned above. > OK (and "amazing") deraadt@ (schwarze@) tmux ~ cmd-load-buffer.c ~ cmd-save-buffer.c > Handle absolute paths properly, and don't use resolved path in > realpath() fails. (nicm@) ~ cmd-load-buffer.c ~ cmd-save-buffer.c > If realpath() fails just try the original path. (nicm@) == usr.sbin ========================================================== 11/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin ikectl ~ Makefile > With ikectl now requiring ca specific sections not present in the > general openssl cnf files install the ikeca.cnf file. > ok sthen@ requested by reyk@ (jsg@) rebound ~ rebound.c > kill the whitespace.. kill the whitespace.. (deraadt@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
