OpenBSD src changes summary for 2015-11-27 ==========================================
bin/df bin/mv distrib/sets etc/Makefile etc/rc etc/rc.conf games/snake lib/libutil sbin/growfs sbin/route sys/arch/sparc64/sparc64 sys/dev/pci sys/dev/usb sys/kern sys/net sys/net80211 usr.bin/doas usr.bin/ssh usr.bin/tmux usr.sbin/bgpd usr.sbin/rebound usr.sbin/vmmctl == bin =============================================================== 01/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin df ~ ext2fs_df.c ~ ffs_df.c > Use strlcpy to copy strings in struct mount, not memmove. Avoids > reading past the end of a buffer. Problem found and OK jsg@ (millert@) mv ~ rm.c > the rm code in mv inherited pledge from rm. it shoud be safe, but there > are cases when it is too strict. after pledge() we continue to run some > of the cp code which requires a very broad set of permissions. > remove pledge entirely for now, pending a complete analysis of needs. > (tedu@) == distrib =========================================================== 02/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/base/mi ~ lists/man/mi > sync (deraadt@) ~ lists/base/mi > sync (deraadt@) == etc =============================================================== 03/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc Makefile ~ Makefile > yppasswd went away (deraadt@) rc ~ rc > yppasswd went away (deraadt@) rc.conf ~ rc.conf > yppasswd went away (deraadt@) == games ============================================================= 04/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games snake - pathnames.h - snscore.c ~ Makefile ~ snake.6 ~ snake.c > Fix after removal of the setgid bit: > Add pledge "stdio rpath wpath cpath tty". > Move score file to $HOME, add $USER as high score entry. > Maintain hall of fame of 10 high scores, make snake wink if > it ate you while you were eligible for eternal fame. > Based on an initial diff by Ricardo Mestre and with helpful input from > tedu@. > ok beck@ (tb@) == lib =============================================================== 05/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libutil ~ imsg.c ~ login_fbtab.c ~ pidfile.c > Remove three NULL-checks before free(). ok millert@ (mmcc@) == sbin ============================================================== 06/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin growfs ~ growfs.c > spaces (deraadt@) route ~ route.c ~ show.c > After evaluating patches from Ricardo Mestre, it became obvious that > route needs pledge("stdio rpath dns") in all cases. > Looks best to me deraadt@ (benno@) == sys =============================================================== 07/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/sparc64/sparc64 ~ pmap.c > Don't panic in pmap_enter() if we deplete the pool of pv entries and the > PMAP_CANFAIL flag is set. Return ENOMEM instead. (kettenis@) dev/pci ~ pci.c > Don't report a bus conflict for bridges that are left (partly) unconfigured > by > the system firmware. (kettenis@) dev/usb ~ usbdevs > iPhone 6, from Laurent GUALDI. (mpi@) ~ usbdevs.h ~ usbdevs_data.h > regen (mpi@) ~ usb_quirks.c ~ uaudio.c > Attach the iPhone 6 as ugen(4), from Laurent GUALDI. (mpi@) kern ~ kern_pledge.c > Two additional ioctls for pledge("disklabel"), needed by installboot. > Committing on behalf of tb@, problem reported by Rolf Sommerhalder on > misc@. (jca@) net ~ if.c ~ route.c ~ rtable.c > Protect the growth of the routing table arrays used by rtable_get() > with SRPs. > This is a simplified version of the dynamically sizeable array of > pointers used by if_get() because routing table heads are never > freed. > ok dlg@ (mpi@) ~ rtable.c > Document that routing table heads are never freed as suggested by dlg@ > and kill rtable_put() because we're not going to use it. > The overhead of keeping a "struct art_root/radix_node_head" around is > very small compared to the added complexity needed to reference count > such structures. (mpi@) ~ if_loop.c ~ if_var.h > Keep lo(4) definitions inside if_loop.c (mpi@) ~ if_vxlan.c ~ if_vxlan.h > Keep "struct vxlan_softc" private to prevent pulling more headers when > <net/if_vxlan.h> is included. (mpi@) net80211 ~ ieee80211.c > correct logic for a IEEE80211_MODE_11N test > ok stsp@ (jsg@) == usr.bin =========================================================== 08/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin doas ~ parse.y > after reading a too long line, restart at the beginning of the buffer so > we don't keep writing past the end. (the perils of trying to recover from > parse errors.) > noticed by Jan Schreiber (tedu@) ssh ~ scp.c > pledge "stdio rpath wpath cpath fattr tty proc exec" except for the > -p option (which sadly has insane semantics...) > ok semarie dtucker (deraadt@) tmux ~ arguments.c ~ cmd-list-keys.c ~ cmd-list.c ~ cmd-queue.c ~ cmd.c ~ tmux.h > Do not set a limit on the length of commands when printing them. (nicm@) == usr.sbin ========================================================== 09/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin bgpd ~ bgpd.c > Imporve error messages for the imsg handler code. OK sthen@ (claudio@) rebound ~ rebound.c > add getpw to pledge. rpath would normally suffice, but there's some double > checking code in snapshots, and it serves as a useful annotation. > from Carlin Bingham (tedu@) vmmctl - parser.c ~ Makefile ~ main.c ~ parse.y ~ parser.h ~ vmm.conf.5 ~ vmmctl.8 ~ vmmctl.c > Change the command line syntax to a "command + getopts" style, eg. > vmmctl start "myvm" -m 512M -i 1 -d disk.img -k /bsd > Networking people like me are used to the human-readable CLI-style > syntax that we have in some of our OpenBSD *ctl tools, including > bgpctl, other routing daemons, or relayctl. But this didn't work for > vmmctl, so change it to something a bit less human-readable but more > BSD- and POSIX-ish. After all, the command line is only intended for > simple configuration, more details will go into the configuration > file, so we can avoid getopt flag conflicts or scary things like the > getsubopt(3) style. > OK krw@ jasper@, with input from kettenis@ jmc@ deraadt@ mlarkin@ etc. > (reyk@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
