OpenBSD src changes summary for 2016-02-05 ==========================================
distrib/sets etc/MAKEDEV.common etc/etc.amd64/MAKEDEV etc/etc.amd64/MAKEDEV.md etc/etc.i386/MAKEDEV etc/etc.i386/MAKEDEV.md lib/libc lib/libpcap libexec/talkd share/man sys/arch/amd64/amd64 sys/arch/i386/i386 sys/dev sys/dev/pci sys/dev/pv sys/msdosfs sys/net sys/net80211 sys/sys usr.bin/locale usr.bin/ssh usr.bin/talk usr.bin/tmux usr.bin/write usr.sbin/rtadvd usr.sbin/smtpd usr.sbin/vmd == distrib =========================================================== 01/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armish ~ lists/base/md.armv7 ~ lists/base/md.hppa ~ lists/base/md.hppa64 ~ lists/base/md.i386 ~ lists/base/md.landisk ~ lists/base/md.loongson ~ lists/base/md.luna88k ~ lists/base/md.macppc ~ lists/base/md.octeon ~ lists/base/md.sgi ~ lists/base/md.socppc ~ lists/base/md.sparc ~ lists/base/md.sparc64 ~ lists/base/md.vax ~ lists/base/md.zaurus ~ lists/comp/mi > sync (sthen@) == etc =============================================================== 02/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc MAKEDEV.common ~ MAKEDEV.common > Add ipmi(4) cdev entry on amd64 and i386 (uebayasi@) etc.amd64/MAKEDEV ~ etc.amd64/MAKEDEV > Regen (uebayasi@) etc.amd64/MAKEDEV.md ~ etc.amd64/MAKEDEV.md > Add ipmi(4) cdev entry on amd64 and i386 (uebayasi@) etc.i386/MAKEDEV ~ etc.i386/MAKEDEV > Regen (uebayasi@) etc.i386/MAKEDEV.md ~ etc.i386/MAKEDEV.md > Add ipmi(4) cdev entry on amd64 and i386 (uebayasi@) == lib =============================================================== 03/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ locale/rune.c > avoid an uninitialised value in a return path added in rev 1.5 > ok tobias@ (jsg@) ~ stdlib/malloc.3 > Fix err(3) calls after allocation failures in examples. > There is long-standing consensus that err(1, NULL) is the best idiom > after failure of malloc(3) and friends. > Quirk in the manual noticed by tb@. (schwarze@) ~ stdlib/system.3 ~ gen/popen.3 > be more forceful about not using these. > improvements sthen@, jmc@. okay millert@, jca@ jmc@ (espie@) libpcap ~ optimize.c > Use the correct structure size when allocating the array for nodes. > ok tb@ millert@ (canacar@) == libexec =========================================================== 04/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec talkd ~ talkd.c > pledge(2) for talkd(8): > rpath: fopen(3) _PATH_UTMP in read mode > wpath/cpath: fopen(3) full_tty in write mode (w), which implies O_CREAT > inet/dns: the intervening hosts in the conversation may be remote, or not, > but > since we will never know beforehand then it'll always need inet and dns to > resolve the hostnames > ok jca@ and also discussed with tb@ (mestre@) == share ============================================================= 05/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man8/man8.amd64/MAKEDEV.8 ~ man8/man8.i386/MAKEDEV.8 > Regen (uebayasi@) == sys =============================================================== 06/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ conf.c > Implement FreeBSD-compatible IOCTL to access BMC in ipmi(4) > Initial help & testing by jmatthew@ > Code review & input by mpi@ > Final review & OK by jsg@ (uebayasi@) arch/i386/i386 ~ conf.c > Implement FreeBSD-compatible IOCTL to access BMC in ipmi(4) > Initial help & testing by jmatthew@ > Code review & input by mpi@ > Final review & OK by jsg@ (uebayasi@) dev ~ ipmi.c ~ ipmivar.h + ipmi.h > Implement FreeBSD-compatible IOCTL to access BMC in ipmi(4) > Initial help & testing by jmatthew@ > Code review & input by mpi@ > Final review & OK by jsg@ (uebayasi@) dev/pci ~ drm/radeon/radeon_bios.c > Fix a pci vendor/device conversion missed in rev 1.6. (kettenis@) ~ drm/drmP.h ~ drm/drm_drv.c ~ drm/drm_linux.h > Improve Linux PCI compatibility code. (kettenis@) ~ drm/drm_linux.c ~ drm/drm_linux.h > Implement acpi_get_table_with_size(). Will soon be used to read VFCT > tables in radeondrm(4). (kettenis@) ~ if_iwm.c > In iwm(4), set max A-MPDU length to 64k instead of 4k and tell the firmware > about A-MPDU spacing. Makes BlockAck happy. > tested by myself and abieber@ (stsp@) ~ if_iwn.c ~ if_iwnreg.h > In iwn(4), set max A-MPDU length to 64k instead of 4k and tell the firmware > about A-MPDU spacing. Makes BlockAck happy. > tested by me, tb@, krw@, sthen@, and Henrik Friedrichsen (stsp@) ~ if_iwn.c > Fix iwn(4) CCMP replay detection so it does not drop out-of-order A-MPDU > subframes. Helps 11n mode with WPA. > tested by me, tb@, and krw@ (stsp@) dev/pv ~ xen.c ~ xenstore.c > Silence warnings from static analyzers; found by jsg@ (mikeb@) ~ if_xnf.c > Simple moderation of Tx completion notifications > Follow FreeBSD and schedule the next Tx completion event to fire > when about half of the packet segments scheduled for transmission > are consumed. (mikeb@) msdosfs ~ msdosfs_vnops.c > Guard against integer overflow when checking whether > writing to a file on msdosfs stays within the max. file size. > ok kettenis@, krw@ (stefan@) net ~ bpf.c > return if the bpf_if passed to bpf_tap and _bpf_mtap are NULL. > this works around a toctou bug in a very common idiom in our tree, > in between the two lines below: > if (ifp->if_bpf) > bpf_mtap(ifp->if_bpf, m, BPF_DIRECTION_OUT); > figured out by and diff from haesbart (dlg@) net80211 ~ ieee80211_input.c ~ ieee80211_node.h ~ ieee80211_output.c ~ ieee80211_proto.c > Store ADDBA request and response parameters in the block ack record of > ieee80211_node. This way, we can keep track of the ACK policy and echo > it back to the AP as required by the standard. And use the correct bit > flag for the policy -- this code was confused between BlockAck and ADDBA, > both of which have a policy bit but in different places. > Fixes apple airport APs. > tested by tb@, krw@, sthen@, abieber@, and Henrik Friedrichsen (stsp@) ~ ieee80211_output.c > Define EDCA tables for 11n mode. Per 802.11-2012 they are the same as > the tables for 11a/11g modes. > Add a function to append a Microsoft WME parameter element to a frame, > using EDCA tables to construct the parameter records. Some 11n AP's I have > observed provide this element. > None of this code is used yet, so no functional change. I wrote this while > debugging BlockAck and then realized it was only needed for hostap mode. > Once we support 11n in hostap mode and send A-MPDUs, this code will be > needed. (stsp@) ~ ieee80211_input.c > Count A-MPDU subframes with sequence number below the current BA window as > duplicates rather than input errors. These subframes have either already > been received, or the window was moved by the gap timeout which should only > happen with buggy APs. Neither condition indicates a severe problem. > Perhaps we will introduce a separate counter for this later. (stsp@) sys ~ conf.h > Implement FreeBSD-compatible IOCTL to access BMC in ipmi(4) > Initial help & testing by jmatthew@ > Code review & input by mpi@ > Final review & OK by jsg@ (uebayasi@) == usr.bin =========================================================== 07/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin locale ~ locale.c > No need for pledge("rpath") (jca@) ~ locale.c > Sort includes. (jca@) ssh ~ sshd_config.5 > better description for MaxSessions; bz#2531 (djm@) ~ sshd.8 > mention internal DH-GEX fallback groups; bz#2302 (djm@) ~ sshconnect2.c > avoid an uninitialised value when NumberOfPasswordPrompts is 0 > ok markus@ djm@ (jsg@) ~ channels.c > Only check errno if read() has returned an error. EOF is not an error. > This fixes a problem where the mux master would sporadically fail to > notice that the client had exited. > ok mikeb@ djm@ (naddy@) talk ~ talk.c > pledge(2) for talk(1): > At the beginning the largest pledge is the following: > rpath: read ~/.terminfo (the reason was changed pointed out by semarie@) > inet/dns: talk may need to connect to a remote host and resolve it > getpw: if getlogin(2) fails then it needs getpwuid(3) as a fallback > tty: this is a typical tty application, so it'll always need this > annotation > Then just before the application main loop check if the talk is with local > user > so it only needs "stdio tty", if it's remote then it needs "stdio inet > tty". > I couldn't test this with a remote host to confirm if it needs inet or not > but > as per jca@'s comment "tighter settings - if possible - can happen later" > ok jca@ and also discussed with tb@ (mestre@) tmux ~ window-copy.c > Do not wrap cursor at start or end of history, from Michal Mazurek. (nicm@) write ~ write.1 ~ write.c > Make write explicitly ASCII only by transforming UTF-8 characters and > non-ASCII > bytes to a single '?'. This prevents sending of potentially harmful bytes > to > terminals who don't support UTF-8. > written with help from schwarze@ > text suggestions by jmc@ > OK schwarze@ and semarie@ (martijn@) ~ write.1 > Explain why we intentionally violate POSIX here, to prevent people from > being sad that they can't use UTF-8 in write(1), and to prevent that > they waste their time trying to fix it. > While here, fix some broken escaping. > OK jmc@ martijn@ (schwarze@) == usr.sbin ========================================================== 08/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin rtadvd ~ config.c ~ if.c > rtadvd used a strncpy with a src interface name from the command line > without checking its length. Replace it with strlcpy, check for > truncation and move the check before using the user-specified > interface name. While here, replace another strncpy of a interface > name with memset-zero + strlcpy and check for truncation in > if_getmtu() (should not happen as we validated the length before, but > it's better to be safe and generally a better practice). > OK jsg@ (reyk@) ~ rtadvd.c > Bail out if an unknown option is passed. > There is no reason for rtadvd to be different from other daemons. > Input from and ok bluhm@ florian@ (jca@) ~ rtadvd.c > select -> poll in log message; ok bluhm@ florian@ (jca@) smtpd ~ smtp_session.c ~ smtpd.c > use SMTPD_NAME define > ok gilles (jung@) ~ smtpd.h > remove no longer relevant ifndef > suggested by gilles (jung@) vmd ~ vmd.c > Fix a possible use-after-free in vmd, forward the result to the > control socket before free'ing the vm. > Found by and OK jsg@ (reyk@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
