OpenBSD src changes summary for 2016-03-07 ==========================================
bin/cp bin/df distrib/sets games/atc games/banner games/bcd games/boggle games/bs games/cribbage games/factor games/fish games/fortune games/grdc games/hunt games/morse games/number games/phantasia games/pig games/pom games/ppt games/primes games/quiz games/random games/robots games/snake games/tetris games/wump gnu/usr.bin/cvs lib/libssl sbin/clri sbin/iked sbin/mknod share/man sys/arch/i386/i386 sys/arch/i386/include sys/arch/i386/stand/libsa sys/arch/sparc/dev sys/arch/sparc64/dev sys/arch/sparc64/include sys/arch/sparc64/sparc64 sys/arch/sparc64/stand/ofwboot sys/ddb sys/dev/ic sys/dev/ofw sys/dev/pci sys/dev/usb sys/isofs/cd9660 sys/kern sys/lib/libkern sys/net sys/netinet sys/netinet6 sys/scsi sys/sys sys/uvm usr.bin/ssh usr.sbin/mtrace usr.sbin/smtpd usr.sbin/snmpd usr.sbin/tcpdump == bin =============================================================== 01/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin cp ~ cp.c > Make cp -i behave as mv -i or rm -i, independently of whether stdin > is a tty or not. From Timo Buhrmester. > ok jca@ (tb@) df ~ df.c > simplify print formatting logic, replace exit() in main() with return > from Michal Mazurek, ok tb@ (mmcc@) == distrib =========================================================== 02/10 == 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.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.vax ~ lists/base/md.zaurus ~ lists/comp/mi > sync (deraadt@) == games ============================================================= 03/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games atc ~ atc.6 ~ main.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) ~ main.c > remove -u? from usage(); (jmc@) banner ~ banner.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) bcd ~ bcd.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) boggle ~ boggle/bog.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) bs ~ bs.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) cribbage ~ crib.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) factor ~ factor.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) fish ~ fish.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) fortune ~ fortune/fortune.c ~ strfile/strfile.c ~ unstr/unstr.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) ~ fortune/fortune.c > Remove unused fields posfile and was_pos_file from FILEDESC and > simplify is_fortfile() accordingly. > The last use of them was guarded by OK_TO_WRITE_DISK, which was > unifdef'ed in revision 1.43 last fall. > tweak + ok mestre@ (tb@) ~ fortune/fortune.c > eliminate do_malloc() and do_free(). > These are wrappers for malloc(3) and free(3) with NULL checks. do_free() > is pointless since free() already checks for NULL. do_malloc() is used > only three times, once asprintf(3) seems more appropriate, and for just > two calls the benefit of a custom wrapper is minimal. > ok millert@ (tb@) grdc ~ grdc.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) hunt ~ hunt/hunt.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) morse ~ morse.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) number ~ number.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) phantasia ~ setup.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) pig ~ pig.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) pom ~ pom.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) ppt ~ ppt.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) primes ~ primes.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) quiz ~ quiz.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) random ~ random.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) robots ~ main.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) snake ~ snake.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) tetris ~ tetris.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) wump ~ wump.c > - General changes: > - Remove -? from getopt(3) options, but still keep (or add) -h where > applicable > - Replace hardcoded program strings by getprogname(3) > - Specific changes: > - atc(6): this used -? and -u for usage(), remove both from game and > manpage > - bcd(6): use __progname instead of getprogname(3), no need to include > stdlib.h > - hunt(6): replace fputs(3) by fprintf(3) > OK tb@ after his suggestions (mestre@) == gnu =============================================================== 04/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu usr.bin/cvs ~ configure.in > There is a mknod(2) call hidden deep in the guts of cvs(1) that > could in principle be called at any point during runtime. > Instead of adding "dpath" to the relevant pledges, disable the > code path itself. Now instead of hitting a brutal abort(3), you > will just get an error message. > autoconf handholding + ok jca@ (tb@) ~ configure > regen (tb@) == lib =============================================================== 05/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libssl ~ src/ssl/tls1.h > http -> https for IETF/IANA URLs in comments (mmcc@) == sbin ============================================================== 06/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin clri ~ Makefile ~ clri.c > Use opendev() instead of a plain open(). > ok deraadt (natano@) iked ~ pfkey.c > http -> https for IETF/IANA URLs in comments (mmcc@) mknod ~ mknod.c > Use the full idiom for error checking with strtoul(3), as > exemplified in the man page. Requested by deraadt@. > Joint work with natano@ > input and ok espie@, deraadt@ (tb@) == share ============================================================= 07/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/acx.4 ~ man4/ath.4 ~ man4/athn.4 ~ man4/pgt.4 ~ man4/ral.4 ~ man4/rtw.4 ~ man4/rum.4 ~ man4/ural.4 > In man page hostname.if examples showing how to configure hostap, put lines > configuring addresses last. Avoids problems where the interface is put up > before wireless settings are properly configured. > Prompted by questions from Matthew ("chohag") on bugs@ (stsp@) == sys =============================================================== 08/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/i386/i386 ~ bios.c ~ cpu.c ~ db_mp.c ~ est.c ~ gdt.c ~ kvm86.c ~ machdep.c ~ nvram.c ~ pmap.c ~ pmapae.c ~ wscons_machdep.c > Sync no-argument function declaration and definition by adding (void). > ok mlarkin@ deraadt@ (naddy@) arch/i386/include ~ pmap.h > Sync no-argument function declaration and definition by adding (void). > ok mlarkin@ deraadt@ (naddy@) arch/i386/stand/libsa ~ pxe.c > Sync no-argument function declaration and definition by adding (void). > ok mlarkin@ deraadt@ (naddy@) arch/sparc/dev ~ qec.c > remove needless malloc cast (mmcc@) arch/sparc64/dev ~ consinit.c ~ fb.c ~ pcons.c ~ tda.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ (naddy@) arch/sparc64/include ~ ctlreg.h ~ db_machdep.h ~ psl.h > Sync no-argument function declaration and definition by adding (void). > ok mpi@ (naddy@) arch/sparc64/sparc64 ~ autoconf.c ~ cache.c ~ clock.c ~ db_interface.c ~ machdep.c ~ ofw_machdep.c ~ openfirm.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ (naddy@) arch/sparc64/stand/ofwboot ~ boot.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ (naddy@) ddb ~ db_elf.c ~ db_sym.c ~ db_sym.h > boolean_t/FALSE/TRUE -> int/0/1 (mpi@) ~ db_dwarf.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ millert@ (naddy@) dev/ic + r92creg.h > Merge rtwn(4) and urtwn(4) register definitions into a common header file. > Based on a larger diff by Mikhail. > ok mpi@ (stsp@) ~ r92creg.h > Merge TX/RX descriptors used by rtwn(4) and urtwn(4) into common header > file. > Based on a larger diff by Mikhail, with small differences in naming things. > ok mpi@ (stsp@) ~ r92creg.h > For rtwn(4) and urtwn(4) inline driver-specific definitions in their > respective .c files. > ok mpi@ (stsp@) dev/ofw ~ fdt.c > Fix end signature check, from Patrick Wildt. > ok dlg@ (mpi@) dev/pci ~ if_rtwn.c ~ if_rtwnreg.h > Merge rtwn(4) and urtwn(4) register definitions into a common header file. > Based on a larger diff by Mikhail. > ok mpi@ (stsp@) ~ if_rtwn.c ~ if_rtwnreg.h > Merge TX/RX descriptors used by rtwn(4) and urtwn(4) into common header > file. > Based on a larger diff by Mikhail, with small differences in naming things. > ok mpi@ (stsp@) ~ mpii.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ millert@ (naddy@) - if_rtwnreg.h ~ if_rtwn.c > For rtwn(4) and urtwn(4) inline driver-specific definitions in their > respective .c files. > ok mpi@ (stsp@) dev/usb ~ if_urtwn.c ~ if_urtwnreg.h > Merge rtwn(4) and urtwn(4) register definitions into a common header file. > Based on a larger diff by Mikhail. > ok mpi@ (stsp@) ~ if_urtwn.c ~ if_urtwnreg.h > Merge TX/RX descriptors used by rtwn(4) and urtwn(4) into common header > file. > Based on a larger diff by Mikhail, with small differences in naming things. > ok mpi@ (stsp@) - if_urtwnreg.h ~ if_urtwn.c > For rtwn(4) and urtwn(4) inline driver-specific definitions in their > respective .c files. > ok mpi@ (stsp@) isofs/cd9660 ~ cd9660_vfsops.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ millert@ (naddy@) kern ~ kgdb_stub.c ~ vfs_cache.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ millert@ (naddy@) lib/libkern ~ __main.c ~ arch/powerpc/__eabi.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ millert@ (naddy@) net ~ if.c ~ route.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ millert@ (naddy@) ~ if_types.h > http -> https for IETF/IANA URLs in comments (mmcc@) netinet ~ if_ether.c > Do not remove RTF_STATIC L2 entries from the routing table. > This restore the previous behavior without looking at the reference > counter of route entries. > Static entries might not have a cloning route to re-create them and > when their timer expires they were completly gone as found the hardway > by matthieu@. > ok matthieu@ (mpi@) ~ ip_ah.c ~ ip_divert.c ~ ip_esp.c ~ ip_ipip.c ~ ip_mroute.c ~ raw_ip.c ~ tcp_input.c ~ tcp_subr.c ~ tcp_timer.c ~ udp_usrreq.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ millert@ (naddy@) ~ ip_icmp.h > http -> https for IETF/IANA URLs in comments (mmcc@) netinet6 ~ nd6.c > Do not remove RTF_STATIC L2 entries from the routing table. > This restore the previous behavior without looking at the reference > counter of route entries. > Static entries might not have a cloning route to re-create them and > when their timer expires they were completly gone as found the hardway > by matthieu@. > ok matthieu@ (mpi@) ~ frag6.c ~ ip6_divert.c ~ mld6.c ~ raw_ip6.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ millert@ (naddy@) scsi ~ scsi_base.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ millert@ (naddy@) sys ~ select.h > Make __fd_isset() take a const fd_set * param, to avoid upsetting c++ > ok zhuk@ deraadt@ (jca@) uvm ~ uvm_addr.c ~ uvm_fault.c > Sync no-argument function declaration and definition by adding (void). > ok mpi@ millert@ (naddy@) == usr.bin =========================================================== 09/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin ssh ~ auth-options.c ~ auth-rh-rsa.c ~ auth-rhosts.c ~ auth.c ~ auth.h ~ auth2-hostbased.c ~ canohost.c ~ canohost.h ~ channels.c ~ monitor.c ~ monitor_wrap.c ~ monitor_wrap.h ~ opacket.h ~ packet.c ~ packet.h ~ servconf.c ~ serverloop.c ~ session.c ~ session.h ~ ssh.c ~ sshd.c > refactor canohost.c: move functions that cache results closer to the > places that use them (authn and session code). After this, no state is > cached in canohost.c > feedback and ok markus@ (djm@) == usr.sbin ========================================================== 10/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin mtrace ~ mtrace.c > (type *)0 -> NULL > ok sha256@ (mmcc@) smtpd ~ smtpd.conf.5 > fix error in documentation of `ca' keyword > From: Sevan Janiyan <[email protected]> (gilles@) snmpd ~ mib.h > http -> https for IETF/IANA URLs in comments (mmcc@) tcpdump ~ ike.h ~ print-domain.c > http -> https for IETF/IANA URLs in comments (mmcc@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
