OpenBSD src changes summary for 2015-11-12 ==========================================
bin/ksh distrib/sets etc/netstart gnu/usr.bin/binutils-2.17 lib/libcrypto lib/libcurses lib/libpanel lib/libssl regress/sys sbin/badsect sbin/dhclient sbin/fdisk share/man sys/arch/armv7/omap sys/arch/sparc/dev sys/crypto sys/dev/ic sys/dev/pci sys/kern sys/net sys/netinet sys/netinet6 sys/sys usr.bin/at usr.bin/crontab usr.bin/diff usr.bin/less usr.bin/mandoc usr.bin/mg usr.bin/nc usr.bin/tmux usr.sbin/bgpd usr.sbin/cron usr.sbin/mrouted usr.sbin/quot usr.sbin/sasyncd usr.sbin/tftp-proxy usr.sbin/ypserv == bin =============================================================== 01/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ksh ~ c_sh.c ~ c_ulimit.c ~ eval.c ~ jobs.c ~ lex.c ~ misc.c ~ sh.h ~ shf.c ~ trap.c > Use isdigit() instead of ksh's homebrewed alternative. > ok nicm@. Also discussed with millert@ and guenther@. (mmcc@) ~ jobs.c > use symbolics for flags to open > from Ricardo Mestre (deraadt@) == distrib =========================================================== 02/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/comp/mi > sync (deraadt@) ~ lists/comp/mi > sync (deraadt@) == etc =============================================================== 03/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc netstart ~ netstart > Changes to stripcom(): > - Align comments with /etc/rc version > - Use localized variables > - Use safer "print -r --" instead of plain echo > Changes to ifstart(): > - Tweak comment > - Add usage > OK krw@ (rpe@) ~ netstart > Changes to ifmstart(): > - Change comments to make it clearer that ifmstart() takes two lists > of interface driver names (of which the second is optional) and not > the actual interface instances. > - Use localized variables and use slightly more verbose names. > - Use continue 2 to skip to the next hostname.if file. > - Use shell pattern @() instead of testing _sif individually. > OK krw@ (rpe@) ~ netstart > Changes to ifautostart(): > - Rename function to ifv6autoconf() to make IPv6 relation clearer > - Localize and rename variables > OK krw@ (rpe@) == gnu =============================================================== 04/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu usr.bin/binutils-2.17 ~ bfd/elflink.c > With --enable-new-dtags, only generate DT_RUNPATH and no DT_RPATH > ok kettenis@ (guenther@) == lib =============================================================== 05/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libcrypto ~ man/Makefile + man/ECDSA_SIG_new.3 + man/bn_dump.3 + man/d2i_PKCS8PrivateKey_bio.3 + man/des_read_pw.3 + man/lh_new.3 + man/ui_new.3 > Convert the handful of manuals that had imaginary names, > give them names that really exist. > This also helps jmc@'s ongoing work on improving NAME sections. (schwarze@) ~ man/crypto.3 > update cross references after deleting the imaginary MLINKS > bn_internal(3) and lhash(3) (schwarze@) ~ man/bn_dump.3 > add mul and mul_add to NAME; (jmc@) libcurses ~ Makefile > the tparam mlink is probably a typo (and duplicate) for tparm, so kill it; > spotted by nicm (jmc@) ~ curs_opaque.3 > fix a typo in NAME and add two missing entries; > ok schwarze (i think nicm too, but i'm getting mixed up with oks > at the minute...) (jmc@) libpanel ~ panel.3 > update NAME; ok schwarze nicm (jmc@) libssl - src/doc/crypto/bn_internal.pod - src/doc/crypto/d2i_PKCS8PrivateKey.pod - src/doc/crypto/ecdsa.pod - src/doc/crypto/lhash.pod - src/doc/crypto/ui.pod - src/doc/crypto/ui_compat.pod > Convert the handful of manuals that had imaginary names, > give them names that really exist. > This also helps jmc@'s ongoing work on improving NAME sections. (schwarze@) ~ src/doc/crypto/bn.pod ~ src/doc/crypto/lh_stats.pod > update cross references after deleting the imaginary MLINKS > bn_internal(3) and lhash(3) (schwarze@) == regress =========================================================== 06/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sys ~ net/rtable/inet6-fullfeed.txt ~ net/rtable/delete/main.c > ART-specific bits to make sure root tables are properly freed. > While here make sure we test the special "default route" case. (mpi@) == sbin ============================================================== 07/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin badsect ~ badsect.c > use symbolics for flags to open > from Ricardo Mestre (deraadt@) dhclient ~ dhclient.c > When link loss is reported, cancel any active timeout and wait for > link to return. > Inadvertantly broken in r1.308. > Problem noted by tedu@ (krw@) fdisk ~ misc.h ~ misc.c > Avoid problems with pathological input during edit operations. i.e. never > attempt to use data past the end of the input. > Since the return value of ask_cmd() is never checked, make it void instead > of int. > Problems found, original diff from and ok tim@. (krw@) ~ misc.c > Simplify string_from_line(). No functional change. > OK krw@ (tim@) ~ gpt.c ~ mbr.c > Refresh the in-kernel copy of the disklabel from the disk *after* writing > the new GPT. (krw@) ~ mbr.c > 'reinit mbr' must zero existing MBR and GPT partition information > before constructing default MBR. > Change last bzero() to memset(). (krw@) == share ============================================================= 08/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man9/mbuf.9 > Prefix flowid with ph_ and print it in m_print(). > ok dlg@ (mpi@) == sys =============================================================== 09/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/armv7/omap ~ if_cpsw.c > get rid of IFQ_POLL. > IFQ_POLL(&ifp->if_snd, m); > if (m == NULL) > return; > IFQ_DEQUEUE(&ifp->if_snd, m); > is the same as > IFQ_DEQUEUE(&ifp->if_snd, m); > if (m == NULL) > return; > ok mpi@ (dlg@) arch/sparc/dev ~ be.c ~ qe.c > can just IFQ_DEQUEUE instead of POLL followed immediately by DEQUEUE > ok mpi@ (dlg@) crypto ~ chachapoly.c > spacing (mikeb@) ~ cryptodev.h > another define from the dsa era (mikeb@) ~ cryptodev.h ~ cryptosoft.c > remove a few unused defines (mikeb@) dev/ic ~ bwi.c > two newlines in the middle of a func doenst look right. (dlg@) dev/pci ~ if_bge.c > Revert 1.372, reported to cause regressions on some models. (miod@) kern ~ uipc_mbuf.c > Prefix flowid with ph_ and print it in m_print(). > ok dlg@ (mpi@) net ~ pf.c ~ if_trunk.c > Prefix flowid with ph_ and print it in m_print(). > ok dlg@ (mpi@) ~ art.c > Allocate root tables on demand an free them like any other table. > With this change we no longer waste some precious Kb for unused > routing tables like the AF_MPLS one or those with rtableid != 0. > This will also simplify the SRP dance during lookups. (mpi@) netinet ~ ip_carp.c > IFQ_DROP means a drop because enqueue on the send q failed, not cos tx > later failed. (dlg@) ~ ip_mroute.c > Fix PIM build. (mpi@) ~ ip_mroute.c > Remove VIFF_TUNNEL leftovers, tunnels aren't supported since 2006. > Even pimd(8) no longer support them. (mpi@) ~ ip_mroute.c > Sync headers and get rid of #ifdef MROUTING. (mpi@) ~ ip_mroute.c > Kill another leftover from the tunnel support removal and add more PIM. > (mpi@) netinet6 ~ ip6_mroute.c > Fix PIM build. (mpi@) ~ ip6_mroute.c > Sync headers and get rid of #ifdef MROUTING. (mpi@) ~ ip6_mroute.c > More PIM love. Reduce differences with ip_mroute.c and dynamically > allocate the register ifp such that if_get() works. (mpi@) ~ ip6_mroute.c > unidef MRT6DEBUG (mpi@) ~ ip6_mroute.c > Unbreak adding a MIFF_REGISTER interface. > Such interface is created on the fly so if_get() could return NULL because > mif6c_pifi doesn't mean what you think in this case. (mpi@) ~ ip6_mroute.c > Do not try to guess if there's still an IPv4 multicast routing daemon > using an interface based on the value of ``ip_mrouter''. > Calling SIOCDELMULTI on an interface is correct even if such daemon is > running because the Ethernet layer refcounts currently joined multicast > groups. (mpi@) sys ~ mbuf.h > Prefix flowid with ph_ and print it in m_print(). > ok dlg@ (mpi@) == usr.bin =========================================================== 10/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin at ~ Makefile ~ at.c > Use absolute paths in pathnames.h. There is no longer a need to > chdir(2) to the cron dir and cron(8) now changes to / via daemon(3). > We no longer try to create/chmod the spool directories as they > should be set correctly at install time. The setegid(crontab) > has been moved to open_socket() so it is closer to the chmod(2) > call that needs it. OK deraadt@ tedu@ (millert@) crontab ~ Makefile > Use absolute paths in pathnames.h. There is no longer a need to > chdir(2) to the cron dir and cron(8) now changes to / via daemon(3). > We no longer try to create/chmod the spool directories as they > should be set correctly at install time. The setegid(crontab) > has been moved to open_socket() so it is closer to the chmod(2) > call that needs it. OK deraadt@ tedu@ (millert@) diff ~ xmalloc.h > Remove xfree()'s prototype. tedu@ removed its definition a few weeks > ago. Pointed out by Ricardo Mestre. (mmcc@) less ~ charset.c > Remove chardef[] and just use isprint/iscntrl directly, ok tedu (nicm@) ~ opttbl.c > Cast three ctype functions' arguments to unsigned char and simplify a > helper function in the process. > ok tedu@ (mmcc@) ~ opttbl.c > Inline is_optchar(), a helper function with only one usage. > ok nicm@, stsp@ (mmcc@) ~ opttbl.c > Back out of is_optchar() removal. daniel@ was not a fan. (mmcc@) mandoc ~ term_ascii.c > Never use LC_ALL. On the one hand, it can cause misformatting. > On the other hand, it is a security risk because it might cause > buffer overflows. Use LC_CTYPE only, that's all we need. (schwarze@) ~ mandoc.c > Simplify the logic in mandoc_normdate() and add some comments. > Also add a comment in time2a() explaining why it isn't possible > to use just one single call to strftime(). > Do some style cleanup while here. > No functional change. > Triggered by a very different patch from des@FreeBSD. (schwarze@) mg ~ README > Update the dired mode comments. (lum@) nc ~ netcat.c > with -V argument, dont set rtable on the socket, instead set if for the > whole > process, before pledge(). This way the rtable can be pledged too. > the discussion about removing -V is postponed. > diff from beck@, i wrote the same diff without seeing his, and various > people at u2k15 agreed this is the right thing to do. > ok phessler@ (benno@) tmux ~ options-table.c > Default history-file should be "" not NULL, from Greg Onufe. (nicm@) ~ cmd-bind-key.c ~ cmd-list-keys.c ~ cmd-send-keys.c ~ cmd-set-option.c ~ cmd-unbind-key.c ~ input-keys.c ~ key-bindings.c ~ key-string.c ~ mode-key.c ~ server-client.c ~ status.c ~ tmux.h ~ tty-keys.c ~ utf8.c ~ window-choose.c ~ window-clock.c ~ window-copy.c ~ window.c ~ xterm-keys.c > Support UTF-8 key bindings by expanding the key type from int to > uint64_t and converting UTF-8 to Unicode on input and the reverse on > output. (This allows key bindings, there are still omissions - the > largest being that the various prompts do not accept UTF-8.) (nicm@) ~ format.c ~ tmux.1 > Remove the mouse_utf8_flag format as well. (nicm@) ~ cmd-choose-buffer.c ~ cmd-list-buffers.c ~ format.c ~ input.c ~ options-table.c ~ paste.c ~ screen-write.c ~ status.c ~ tmux.1 ~ tmux.c ~ tmux.h ~ window-choose.c ~ window-copy.c > Nuke the utf8 and status-utf8 options and make tmux only a UTF-8 > terminal. We still support non-UTF-8 terminals outside tmux, but inside > it is always UTF-8 (as when the utf8 and status-utf8 options were on). > (nicm@) ~ cmd-load-buffer.c ~ cmd-queue.c ~ tmux.h ~ utf8.c > If we know the terminal outside tmux is not UTF-8, replace UTF-8 in > error messages and whatnot with underscores the same as we do when we > draw UTF-8 characters as part of the screen. (nicm@) ~ tmux.c > tmux is UTF-8, so if $TMUX is set (tmux running in tmux), the client is > UTF-8. Also try to make the existing checks more readable. (nicm@) ~ server.c ~ tmux.h ~ utf8.c > Tidy utf8.c a little: build table on first use, and make utf8_width take > a u_int rather than splitting and then combining again in utf8_split. > (nicm@) ~ tmux.1 > tweak previous; ok nicm (jmc@) ~ cmd-list-keys.c ~ tmux.h ~ utf8.c > Add utf8_padcstr and use it to align columns in list-keys. (nicm@) ~ grid.c > grid_put_utf8 is unused, remove it. (nicm@) ~ input-keys.c ~ key-string.c ~ screen-write.c ~ tty-keys.c ~ utf8.c > Rename overly-long utf8data to ud throughout. (nicm@) == usr.sbin ========================================================== 11/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin bgpd ~ bgpd.c > pledge the bgpd main process. Some of the promises can be improved upon > with a bit of rework, so comment why they are needed. > ok deraadt@ (benno@) cron ~ client.c ~ common.c ~ cron.c ~ pathnames.h > Move cron socket to /var/run/cron.sock. Client code will try the old > location if the new one doesn't exist for now. In order to allow > the fchown() to succeed, cron now sets its effective gid to crontab. > OK jca@ deraadt@ (millert@) ~ cron.8 > Remove SIGNALS section now that the non-syslog code has been removed. > (millert@) - common.c ~ Makefile ~ atrun.c ~ client.c ~ cron.c ~ crontab.c ~ database.c ~ funcs.h ~ macros.h ~ pathnames.h > Use absolute paths in pathnames.h. There is no longer a need to > chdir(2) to the cron dir and cron(8) now changes to / via daemon(3). > We no longer try to create/chmod the spool directories as they > should be set correctly at install time. The setegid(crontab) > has been moved to open_socket() so it is closer to the chmod(2) > call that needs it. OK deraadt@ tedu@ (millert@) ~ cron.8 > new location for cron sockets; ok millert (jmc@) mrouted ~ main.c > daemon() equivelant should open /dev/null; ok millert (deraadt@) ~ main.c > use symbolics for flags to open > from Ricardo Mestre (deraadt@) quot ~ quot.c > use symbolics for flags to open > from Ricardo Mestre (deraadt@) sasyncd ~ carp.c > an invalid carp link state is not a fatal error, since a while newly > created > carp interfaces have this state for a while. ok mpi@ phessler@ (otto@) tftp-proxy ~ tftp-proxy.c > spaces (deraadt@) ~ tftp-proxy.c > Remove repeat of getpwnam() that is not needed at all. (deraadt@) ypserv ~ ypserv/ypserv.c > use symbolics for flags to open > from Ricardo Mestre (deraadt@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
