OpenBSD src changes summary for 2016-01-25 ==========================================
distrib/miniroot distrib/special games/arithmetic include/libgen.h sbin/pdisk sys/arch/amd64/amd64 sys/arch/vax/if sys/ddb sys/dev sys/dev/pci sys/dev/pv sys/net sys/net80211 sys/netinet usr.bin/mesg usr.bin/tail usr.sbin/pppd usr.sbin/rbootd usr.sbin/route6d usr.sbin/rtadvd usr.sbin/snmpd == distrib =========================================================== 01/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ install.sub > localize _clist > feedback and OK halex@ > OK krw@ (rpe@) special ~ pdisk/Makefile > Use new read/write_block0 and read/write_dpme which handle any > endian or alignment issues forcefully. Removes need for convert_* > functions so unhook convert.c from build. read/write_block become > static functions inside file_media.c. > Tweak struct block0 to stop trying to handle alignment issues by clever > declaration. Rely on the new functions to accurately translate between > on-disk and in-memory layouts. > Enables pdisk to work on amd64 and likely other architectures if > it's ever desirable. Does bring back DEV_BSIZE to pdisk.c since the > in-memory structure will *not* be 512 bytes on other archs. (krw@) == games ============================================================= 02/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games arithmetic ~ arithmetic.c > Remove unused header (mestre@) == include =========================================================== 03/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/include libgen.h ~ libgen.h > Remove decls #if'0ed since rev. 1.1 > POSIX used to specify those declarations, but later removed them. > ok guenther@ (jca@) == sbin ============================================================== 04/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin pdisk ~ dump.c ~ pdisk.c ~ validate.c > remove some uneeded includes > ok krw@ (jsg@) ~ convert.c ~ dpme.h ~ dump.c ~ validate.c > Tweak fields in struct dpme to be more consistent with Apple's info. > Better comments, make all reserved fields uint8_t arrays, don't > claim uint32_t fields are actually pointers. (krw@) ~ file_media.c ~ file_media.h > Add read/write_block0 and read/write_dpme functions, not yet used. (krw@) ~ Makefile ~ dpme.h ~ dump.c ~ file_media.c ~ file_media.h ~ partition_map.c ~ pdisk.c > Use new read/write_block0 and read/write_dpme which handle any > endian or alignment issues forcefully. Removes need for convert_* > functions so unhook convert.c from build. read/write_block become > static functions inside file_media.c. > Tweak struct block0 to stop trying to handle alignment issues by clever > declaration. Rely on the new functions to accurately translate between > on-disk and in-memory layouts. > Enables pdisk to work on amd64 and likely other architectures if > it's ever desirable. Does bring back DEV_BSIZE to pdisk.c since the > in-memory structure will *not* be 512 bytes on other archs. (krw@) - convert.c - convert.h > Two more for the attic. (krw@) == sys =============================================================== 05/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ vmm.c > Zero when malloc'ing a buffer to be copyed out to userland to avoid > an information leak when not all of the buffer is written to. > ok mlarkin@ (jsg@) arch/vax/if ~ if_qe.c ~ sgec.c > fix some fallout from the IFQ rototilling. > from the ghost of architectures past (dlg@) ddb ~ db_access.c ~ db_access.h ~ db_break.c ~ db_break.h ~ db_command.c ~ db_command.h ~ db_dwarf.c ~ db_elf.c ~ db_expr.c ~ db_input.c ~ db_lex.c ~ db_lex.h ~ db_print.c ~ db_run.c ~ db_run.h ~ db_sym.c ~ db_sym.h ~ db_trap.c ~ db_variables.c ~ db_variables.h ~ db_watch.c ~ db_watch.h > Kill trailing whitespaces. No object change. (mpi@) ~ db_sym.c > Kill "#if 0" version of ddb_init(). (mpi@) ~ db_elf.c > Do not mix variable declaration and logic. (mpi@) dev ~ ipmi.c > Replace magic numbers. (uebayasi@) dev/pci ~ if_vmx.c > In vmxnet3_start(), do not send the mbuf to bpf after passing it to > the hardware. This could have resulted in a page fault when the mbuf > has already been freed by the TX interrupt handler on another CPU. > This has the slight drawback that bpf can be called before the packet > is eventually dropped by vmxnet3_load_mbuf() - but I'm getting this > simple and verified fix in before doing further optimizations on the > start handler. > As discussed with mikeb@ jsg@ dlg@ (reyk@) ~ if_iwm.c ~ if_iwmvar.h ~ if_iwn.c > Keep track of HT protection settings in beacons and have 11n-capable > drivers update hardware configuration accordingly. > tested by myself, tb@, deraadt@, abieber@ > ok mpi@ (stsp@) dev/pv ~ if_xnf.c > Revert the minimum number of Rx ring slots back to 32 > Figured out the hard way by Jonathon Sisson <openbsd at j3z ! org>, > thanks! (mikeb@) ~ xen.c ~ xenstore.c ~ xenvar.h > Don't count the total number of Xen upcalls (mikeb@) net ~ if_etherip.c > don't return an uninitialised value for the SIOCGLIFPHYRTABLE case > ok yasuoka@ goda@ (jsg@) ~ if_vlan.c TAGGED OPENBSD_5_8 > By creating, changing and destroying vlan interfaces multiple times, > root could crash the OpenBSD 5.8 kernel with ifconfig. The reference > counting of ifv_ifih in vlan_config() was wrong, so a use after > free was possible. Reordering the operations fixes it. > Neither 5.7 nor -current is affected. > OK mpi@ sthen@ jasper@ (bluhm@) ~ ppp_tty.c TAGGED OPENBSD_5_8 > Convert to uiomove(). Diff from Martin Natano. (stefan@) ~ pf.c TAGGED OPENBSD_5_8 > - plugging massive pf_state_key leak > OK mpi@ dlg@ sthen@ (sashan@) net80211 ~ ieee80211_input.c ~ ieee80211_var.h > Keep track of HT protection settings in beacons and have 11n-capable > drivers update hardware configuration accordingly. > tested by myself, tb@, deraadt@, abieber@ > ok mpi@ (stsp@) ~ ieee80211.h > Add short comments explaining HT protection modes. (stsp@) ~ ieee80211_input.c ~ ieee80211_node.c ~ ieee80211_node.h > Don't try to interpret htprot data if the last beacon didn't contain such > data. > ok mpi@ millert@ (stsp@) ~ ieee80211_input.c ~ ieee80211_node.c > Honour ERP protection on 2 GHz channels in 11n mode, as done for 11g. > ok millert@ (stsp@) netinet ~ ip_input.c > - plugging massive pf_state_key leak > OK mpi@ dlg@ sthen@ (sashan@) == usr.bin =========================================================== 06/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mesg ~ mesg.c > fix exit status on pledge(2) failure. (gsoares@) tail ~ forward.c > Fix a crash as found by sthen@ > tested and OK sthen@ > OK with minor tweak schwarze@ (martijn@) == usr.sbin ========================================================== 07/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin pppd ~ chat/chat.c > (hidden) is more readable than (??????) and avoid trigraph > suggested by & OK claudio@ > OK daniel@ jsg@ > initial review millert@ and tb@ thanks. (gsoares@) rbootd ~ rbootd.c > remove pointless log message; As a bonus avoid trigraph '??' > suggested by & OK claudio@ > OK daniel@ (gsoares@) route6d ~ route6d.c > malloc+memset -> calloc (jca@) ~ route6d.c > No need to declare main(). (jca@) rtadvd ~ config.c > Redundant assignement is redundant. (jca@) snmpd ~ control.c > avoid a potential double free > ok blambert@ (jsg@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
