OpenBSD src changes summary for 2015-12-06 ==========================================
bin/ksh bin/mt bin/pax distrib/miniroot distrib/sets etc/rc etc/rc.conf games/gomoku games/quiz games/rain lib/csu lib/libc libexec/ld.so regress/usr.bin sbin/ifconfig sbin/newfs sbin/newfs_ext2fs sbin/pdisk share/man sys/arch/amd64/amd64 sys/arch/amd64/include sys/dev/ic sys/dev/pci sys/kern sys/net sys/sys sys/uvm usr.bin/cut usr.bin/gprof usr.bin/rs usr.bin/telnet usr.sbin/crunchgen usr.sbin/pppd usr.sbin/rcctl usr.sbin/vmctl usr.sbin/vmd == bin =============================================================== 01/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ksh ~ NOTES > Remove a 250-line catalog of AT&T ksh bugs. ok tedu (mmcc@) mt ~ mt.c > Use __progname instead of manually handling argv[0]. > ok deraadt, mmcc, tedu (tobias@) pax ~ options.c > Use __progname instead of manually handling argv[0]. > ok deraadt, mmcc, tedu (tobias@) ~ ar_io.c ~ pax.c > pledge "dpath" to allow creation of nodes via mkfifo(2) and mknod(2) > NOTE: dpath requires a fairly new kernel > ok semarie (deraadt@) == distrib =========================================================== 02/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ upgrade.sh > 5.8 is out for a quite a while now. Remove the deletion of binaries > during upgrade, that have been removed from base. > Positive feedback from tedu@, benno@ > OK krw@, deraadt@ (rpe@) ~ install.sub > Do the same with less code. > OK krw@ (rpe@) sets ~ lists/base/mi > sync (deraadt@) == etc =============================================================== 03/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc rc ~ rc > Add missing rc bits for rebound. > rc-wise OK aja@ jasper@ (rpe@) rc.conf ~ rc.conf > multicast_router -> multicast (ajacoutot@) ~ rc.conf > Add missing rc bits for rebound. > rc-wise OK aja@ jasper@ (rpe@) == games ============================================================= 04/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games gomoku ~ main.c > Use __progname instead of manually handling argv[0]. > ok deraadt, mmcc, tedu (tobias@) quiz ~ quiz.c > Treat quiz the same way as the other games and try to preserve the look > and feel. Revert previous and allow the pager with pledge "proc exec". > Play the game with pledge "stdio rpath". > Discussed with tedu@ (tb@) rain ~ rain.c > pledge "getpw" is not needed here. > ok semarie@ (tb@) == lib =============================================================== 05/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib csu ~ boot.h > Simplify the relocation code for the ld.so bootstrap and static pie: track > just the dynamic tags are needed instead of reusing the generic > elf_object_t > structure. > testing and feedback from miod@ > ok kettenis@ (guenther@) libc ~ locale/rune.c > Validate input files to prevent out of boundary accesses. > with input by and ok schwarze@ (tobias@) == libexec =========================================================== 06/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ boot.c ~ alpha/archdep.h ~ amd64/archdep.h ~ arm/archdep.h ~ hppa/archdep.h ~ i386/archdep.h ~ m88k/archdep.h ~ mips64/archdep.h ~ powerpc/archdep.h ~ sh/archdep.h ~ sparc/archdep.h ~ sparc64/archdep.h > Simplify the relocation code for the ld.so bootstrap and static pie: track > just the dynamic tags are needed instead of reusing the generic > elf_object_t > structure. > testing and feedback from miod@ > ok kettenis@ (guenther@) == regress =========================================================== 07/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress usr.bin ~ mdoclint/mdoclint > Check .Xr links by forking "man -f" rather than manually looking > through manual page directories. It's slower but more robust > because it doesn't require MLINKS. > Fragility noticed and patch OK'ed by jmc@. (schwarze@) ~ Makefile + fmt/Makefile + fmt/fmt.sh > test suite for fmt(1) written from scratch (schwarze@) == sbin ============================================================== 08/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin ifconfig ~ ifconfig.8 ~ ifconfig.c > remove txpower option. only relevant to the now irrelevant wi driver. > (several other drivers misleadingly claim generic 802.11 txpower, but > do not in fact do anything. the knob is not connected to the radio.) > ok benno jsg krw reyk (tedu@) ~ ifconfig.c > remove trailers option that was already obsolete when this code was > imported. > ok benno krw (tedu@) newfs ~ newfs.c > Avoid out of boundary access on illegal command line arguments. > ok deraadt, mmcc, tedu (tobias@) newfs_ext2fs ~ newfs_ext2fs.c > Avoid out of boundary access on illegal command line arguments. > ok deraadt, mmcc, tedu (tobias@) pdisk ~ errors.c ~ errors.h ~ pdisk.c > Use __progname instead of manually handling argv[0]. > ok deraadt, mmcc, tedu (tobias@) == share ============================================================= 09/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/man4.amd64/vmm.4 > man page missed switchover from vmmctl -> vmctl. > spotted by trondd at kagu-tsuchi dot com (mlarkin@) ~ man4/man4.amd64/vmm.4 > sort SEE ALSO; (jmc@) ~ man5/bsd.port.mk.5 > Update reference from lang/gcc/4.2 to lang/gcc/4.9. From Daniel > Bolgheroni, discussed with espie@. (mmcc@) == sys =============================================================== 10/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ cpu.c ~ vmm.c > restore VMM mode after resume from suspend/hibernate (mlarkin@) ~ cpu.c > unbreak kernel link if vmm isnt being built as part of the kernel. (dlg@) ~ vmm.c > don't allow opening of /dev/vmm if we are in an unsupported configuration > or if vmm0 didn't attach, prevents later panics if we try to use vmm in > such a state. > reported by many on tech/misc (mlarkin@) ~ vmm.c > Don't bother printing out the count of what type of cpu we have. Instead > just print the feature being used (eg, VMX/EPT). > suggested by and ok deraadt@ (mlarkin@) ~ vmm.c > move around some deck chairs in preparation for supporting VM reboot. this > diff moves the cpu register init code into its own function which will > soon be called from vmd to reset processor state. > no functional change with this diff. (mlarkin@) ~ vmm.c > add function prototype (mlarkin@) arch/amd64/include ~ cpu.h > child_return() is already declared in <sys/proc.h> (guenther@) dev/ic ~ aic79xx.c > typo in log entry (mmcc@) dev/pci ~ if_cas.c > switch on the return value of bus_dmamap_load_mbuf not value != 0 > problem in rev 1.47 spotted by clang's -Wswitch-bool > ok jmatthew@ kettenis@ (jsg@) kern ~ kern_ktrace.c ~ kern_pledge.c > Change kernel internal pledge variables to 64bit (to prepare for more > extensions). This change is exposed in ktrace.out files > ok semarie (deraadt@) net ~ pf.c > g/c pf_change_a6(). it's exactly the same thing as pf_change_ap() with p = > NULL. inspired by Richard Procter <[email protected]>'s mail on > tech from Aug 17, but redone. ok sashan vgross (henning@) sys ~ ktrace.h ~ namei.h ~ pledge.h ~ proc.h > Change kernel internal pledge variables to 64bit (to prepare for more > extensions). This change is exposed in ktrace.out files > ok semarie (deraadt@) ~ buf.h > Only declare buf_daemon() once (guenther@) uvm ~ uvm_pmemrange.c > Since the page zeroing thread runs without the kernel lock, > it relies upon the fpageq lock for data consistency and > sleep/wakeup interlocking. > Therefore, code which modifies page zeroing thread data > or performs a wakeup of the thread must also hold the > fpageq lock. > Fix an instance where this was not the case. > ok kettenis@ > diff --git a/sys/uvm/uvm_pmemrange.c b/sys/uvm/uvm_pmemrange.c (blambert@) == usr.bin =========================================================== 11/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin cut ~ cut.1 > Use ENVIRONMENT rather than CAVEATS to document LC_CTYPE. > Suggested by, feedback, and OK jmc@. (schwarze@) gprof ~ arcs.c ~ gprof.h ~ printgprof.c > Fix qsort() comparison functions: > - correct the function types to eliminate warnings > - avoid substractions that may overflow > - rework tests to be consistent: cmp(A,A)==0 && cmp(A,B)=-cmp(B,A) > worked out with Serguey Parkhomovsky (sergueyparkhomovsky (at) gmail.com) > (guenther@) rs ~ rs.1 > document LC_CTYPE; feedback and OK jmc@ (schwarze@) telnet ~ main.c > Use __progname instead of manually handling argv[0]. > ok deraadt, mmcc, tedu (tobias@) == usr.sbin ========================================================== 12/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin crunchgen ~ crunched_main.c > Use __progname instead of manually handling argv[0]. > ok deraadt, mmcc, tedu (tobias@) pppd ~ main.c ~ options.c ~ pppd.h > Use __progname instead of manually handling argv[0]. > ok deraadt, mmcc, tedu (tobias@) rcctl ~ rcctl.sh > multicast_{host,router} -> multicast. > ok ajacoutot@ (mpi@) vmctl ~ vmctl.c > When a new vm is created with VMM_IOC_CREATE, the kernel assigns a > unique id to it. This happens in the vm child process and has to be > communicated to the parent processes to track the vm. Knowing the vm > id in the parent and vmm processes also allows to remove vm from the > daemons list on terminate requests later. (reyk@) ~ vmctl.c ~ vmctl.h > Print the TTY in the vmctl status output. (reyk@) vmd ~ vmm.c > Terminate all running VMs on startup: we're not able to pick up state > of "zombie" VMs yet, they are not useful without the device layer, so > terminate them on vmd startup. > As discussed with mlarkin@ (reyk@) ~ config.c > Report errno from config_getvm() correctly (reyk@) ~ parse.y ~ vmd.c > Check errno from config_getvm() correctly (reyk@) ~ vmd.c ~ vmd.h ~ vmm.c > When a new vm is created with VMM_IOC_CREATE, the kernel assigns a > unique id to it. This happens in the vm child process and has to be > communicated to the parent processes to track the vm. Knowing the vm > id in the parent and vmm processes also allows to remove vm from the > daemons list on terminate requests later. (reyk@) ~ vmd.c ~ vmd.h ~ vmm.c > Print the TTY in the vmctl status output. (reyk@) ~ vmd.h > spacing (reyk@) ~ loadfile_elf.c > un-needed extern which was removed a while back (mlarkin@) ~ vmd.h > remove some now-unused enums > ok reyk@ (mlarkin@) ~ config.c ~ parse.y ~ vmd.c ~ vmd.h > Prevent running a VM with the same name multiple times - multiple > instances of the same configuration will be handled in a different way > later. It is also not a good idea to use the same writeable disk > with multiple VMs at the same time. > As discussed with mlarkin@ (reyk@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
