OpenBSD src changes summary for 2016-01-16 ==========================================
distrib/special regress/bin sbin/pdisk sbin/pflogd sys/arch/octeon/dev sys/arch/octeon/octeon usr.bin/mandoc usr.bin/systat usr.bin/tmux usr.sbin/vmd == distrib =========================================================== 01/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib special ~ pdisk/Makefile > Nuke support for 1024- and 2048-byte sector devices. Error out if > anything other than 512-byte sectors are encountered. Unlink > deblock_media.c from the build. > ok jasper@ (krw@) ~ pdisk/Makefile > No need to abstract malloc(), so replace new_file_media() with > malloc(). > Removes last use of last used function in media.c, so unhook that > from the Makefile and remove forward declarations from media.h. > No functional change. (krw@) == regress =========================================================== 02/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress bin ~ ksh/vi/edit.h ~ ksh/vi/test_vi.c > better mockup for promptlen() (schwarze@) == sbin ============================================================== 03/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin pdisk ~ Makefile ~ file_media.c ~ partition_map.c ~ validate.c > Nuke support for 1024- and 2048-byte sector devices. Error out if > anything other than 512-byte sectors are encountered. Unlink > deblock_media.c from the build. > ok jasper@ (krw@) - deblock_media.c - deblock_media.h > Another couple for the attic. (krw@) - HISTORY - README > remove these files for they're no longer accurate, up to date or relevant > for > that matter. > ok krw@ (jasper@) ~ dump.c ~ file_media.c ~ file_media.h ~ media.c ~ media.h ~ partition_map.c ~ pdisk.c ~ validate.c > Start peeling away excess layers of abstraction. > Since 'file' is the only kind of media, no need to call the appropriate > functions via pointers. Just call the _file_ variants directly. > Nuke the fields do_read(), do_write(), do_close(), do_os_reload() > and the functions read_media(), write_media(), close_media() and > os_reload_media(). > No functional change. (krw@) ~ media.h > Remove some forward declarations missed in last commit. (krw@) ~ file_media.c ~ media.c ~ media.h > There can be only one. 'kind' that is. No need to allocate or track the > media kind since it will always be the same -- a file. > No functional change. (krw@) ~ file_media.c ~ media.c ~ media.h ~ partition_map.c ~ pdisk.c ~ validate.c > There can be only one. 'grain' that is. i.e. DEV_BSIZE. No need to track > or store. Just use. > No functional change. (krw@) ~ Makefile ~ media.h > No need to abstract malloc(), so replace new_file_media() with > malloc(). > Removes last use of last used function in media.c, so unhook that > from the Makefile and remove forward declarations from media.h. > No functional change. (krw@) - media.c > Another to the attic. (krw@) ~ file_media.c > Oops. Missed a file. (krw@) ~ dump.c ~ file_media.c ~ file_media.h ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c > Move last field (size_in_bytes) in struct media to struct file_media > and replace MEDIA with FILE_MEDIA everywhere. media.h becomes unused. > (krw@) - media.h > Another one to the attic. (krw@) pflogd ~ pflogd.8 ~ pflogd.c ~ privsep.c > Interface status printing (at exit and USR1) was broken for a while. > Remove it completely to simplify the code. > even better deraadt@ (canacar@) == sys =============================================================== 04/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/octeon/dev ~ mainbus.c > Attach secondary CPUs by coremask. This fixes a crash that happened if > the MP kernel was booted with coremask=1. (visa@) arch/octeon/octeon ~ machdep.c > Panic if someone boots the kernel by force without CPU 0. The system > will not work without that core. (visa@) == usr.bin =========================================================== 05/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mandoc ~ main.c > Unbreak reading from stdin after recent parse() restructuring. > OK schwarze@ (florian@) systat ~ cache.c ~ cache.h ~ pftop.c > fix a number of minor issues in the state view: > 1. peak and rate computations were using uint32 size which caused > the fields from working for states that transferred more than 4GB > also fix an unnecessary cast to double found while looking for the bug. > 2. When creating new cache entries for existing states, start time from > 0 rather than the current time to prevent a "spike" in rate and peak. > (canacar@) tmux ~ alerts.c ~ cmd-find.c ~ tmux.1 ~ tmux.h > Add hooks for alerts (bell, silence, activity), from Thomas Adam. (nicm@) == usr.sbin ========================================================== 06/06 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin vmd ~ loadfile_elf.c ~ virtio.c ~ vmd.h ~ vmm.c > vmd(8) sometimes attempts page-crossing data copies between the host > and guest. The readpage/writepage ioctls of vmm(4) do not support this > and they return EINVAL on such attempts since recently. > Avoid page-crossing guest memory accesses by changing read_page() and > write_page() into read_mem() and write_mem() that can copy arbitrary > lengths of data between host<->guest without page-crossing accesses. > This also allows us to remove page-wise copy-loops in a few places. > ok mlarkin@ (stefan@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
