OpenBSD src changes summary for 2016-08-31 ==========================================
distrib/sets etc/mtree/4.4BSD.dist etc/rc.d/rc.subr games/primes gnu/usr.bin/cvs lib/libcrypto lib/libssl lib/libtls libexec/ftpd libexec/ld.so regress/sbin regress/sys sbin/dhclient sbin/dump sbin/ifconfig sbin/route share/man sys/arch/alpha/conf sys/arch/amd64/stand/efiboot sys/arch/arm/arm sys/arch/armish/compile sys/arch/armv7/armv7 sys/arch/armv7/conf sys/arch/armv7/dev sys/arch/armv7/vexpress sys/arch/i386/conf sys/arch/sgi/hpc sys/dev sys/dev/acpi sys/dev/ic sys/dev/isa sys/dev/pci sys/dev/pckbc sys/dev/usb sys/dev/wscons sys/kern sys/net sys/net80211 sys/netinet sys/ntfs sys/sys sys/uvm usr.bin/audioctl usr.bin/calendar usr.bin/column usr.bin/mg usr.bin/openssl usr.bin/passwd usr.bin/rcs usr.bin/vis usr.sbin usr.sbin/acme-client usr.sbin/nsd usr.sbin/smtpd usr.sbin/vmd == distrib =========================================================== 01/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armv7 ~ lists/base/md.hppa ~ 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.zaurus ~ lists/comp/mi ~ lists/man/mi > sync (deraadt@) == etc =============================================================== 02/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc mtree/4.4BSD.dist ~ mtree/4.4BSD.dist > create acme-client directories (florian@) rc.d/rc.subr ~ rc.d/rc.subr > use tab. (ajacoutot@) == games ============================================================= 03/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games primes ~ pattern.c ~ primes.c > Fix a bogus comment: "factors of" -> "coprime to". Replace the > nonsensical "if and only iff" with "if and only if" and zap some > trailing whitespace. (tb@) == gnu =============================================================== 04/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu usr.bin/cvs ~ src/admin.c > admin: add -C option to set a revision's commitid > this version bails out if the revision has a commitid already > ok guenther deraadt tom (jcs@) == lib =============================================================== 05/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libcrypto ~ crypto/shlib_version > Crank minor due to API addition (beck@) libssl ~ src/crypto/ec/ec_lib.c > Fix some very unnecessary convoultion. > ok krw@ (beck@) ~ src/crypto/x509v3/v3_utl.c ~ src/crypto/x509v3/x509v3.h > Bring in functions used by stunnel and exim from BoringSSL - this brings > in X509_check_host, X509_check_email, X509_check_ip, and X509_check_ip_asc, > with some cleanup on the way in by myself and jsing@ > ok bcook@ (beck@) ~ src/crypto/bn/bn_gf2m.c > Avoid undefined-behavior right-shifting by a word-size # of bits. > Found with STACK, originally from OpenSSL, ok @beck (bcook@) ~ ssl/shlib_version > Crank minor due to API addition (beck@) libtls ~ shlib_version > Crank minor due to API addition (beck@) == libexec =========================================================== 06/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ftpd ~ ftpd.c > Don't attempt to support IPv4-mapped IPv6 addresses. > We don't consider support for those addreses as desirable, so let's not > give a bad example by keeping application code to handle them. This is > dead code on OpenBSD anyway since we do not support IPv4-mapped stuff. > But let's keep the check to log and warn the admin if the code gets > ported elsewhere. Porters of this code should ensure that IPv6 sockets > can't see IPv4-mapped addresses by using the IPV6_V6ONLY sockopt. > Discussed with & ok tedu@ > For a rationale, see > https://tools.ietf.org/html/draft-itojun-v6ops-v4mapped-harmful-02 (jca@) ld.so ~ alpha/ldasm.S ~ alpha/syscall.h ~ sh/ldasm.S ~ sh/syscall.h > alpha and sh have TCB_SET() macros so don't need _dl_set_tcb() > ok deraadt@ (guenther@) == regress =========================================================== 07/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sbin ~ route/Makefile > Document what the various test here do. With mpi@ (claudio@) ~ route/Makefile + route/rttest22.ok + route/rttest24.ok + route/rttest26.ok + route/rttest27.ok > Add a bunch of regress test to verify the RTM_CHANGE behaviour of mpath > and non-mpath routes. Some of the tests currently fail. (claudio@) sys ~ net/pf_forward/Makefile ~ net/pf_fragment/Makefile ~ netinet6/rh0/Makefile > Split the check-setup target into smaller parts to make it easier > to configure the regression test machines. (bluhm@) == sbin ============================================================== 08/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ bpf.c ~ clparse.c ~ dhclient.c ~ dhcpd.h ~ dispatch.c ~ options.c > Remove the 'client' global and make it per-ifp. > ok krw@ (mpi@) ~ dhclient.c > Use reboot_timeout (default: 1) instead of initial_interval (default: 3) > when > the interface reboots. Thus the fallback from REQUEST to DISCOVER will take > place after the intended reboot_timeout seconds. > ok tedu@ mpi@ (krw@) ~ dhclient.c > REQUEST packets are not just sent when an interface reboots. So don't short > circuit the waiting for ACK's by giving up after reboot_timeout. > ok tedu@ (krw@) dump ~ main.c > Delete SIGTRAP, SIGFPE, SIGBUS, and SIGSEGV handlers. Such patterns > don't help improve code because they block core dumps and there reduce > inspection of bugs thus work on fixes. Secondly, these handlers are > *stdio signal races* so they can produce different coredumps deep inside > stdio. (deraadt@) ifconfig ~ ifconfig.c > Rename ifconfig's setinstance() function to setrdomain(). Less confusing. > ok claudio@ jca@ (stsp@) route ~ route.c > Remove unused RTF_MASK route flag. > Requested by and OK mpi@ (bluhm@) == share ============================================================= 09/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/audio.4 > Delete unused ioctls and associated macros. Move macros that are still > used internally by low-level drivers from sys/audioio.h to > dev/audio_if.h instead of deleting them. (ratchov@) - man4/ym.4 - man4/man4.i386/sea.4 - man4/man4.i386/wss.4 ~ man4/Makefile ~ man4/man4.i386/Makefile > remove ym, wss, and sea drivers (tedu@) ~ man4/isa.4 ~ man4/isapnp.4 ~ man4/midi.4 ~ man4/man4.i386/sb.4 > remove Xrs to ym, sea, and wss; (jmc@) ~ man4/gre.4 > Split gre(4) into two interfaces: gre(4) and mobileip(4). > Like vlan/svlan and tun/tap, it remains a single driver that decides > on the mode based on the interface name. This removes the need for > removing the default link0 flag to turn gre into Mobile IP mode. > Using linkX / IFF_LINK{0,1,2} for interface modes is a deprecated style. > OK millert@ dlg@ many > Not much consensus on the name but mobileip is also used for the sysctls, > so > OK henning@ (reyk@) - man4/az.4 - man4/gtp.4 - man4/rt.4 - man4/rtii.4 - man4/sf2r.4 - man4/sfr.4 ~ man4/radio.4 > remove man pages for deleted radio drivers (tedu@) ~ man4/Makefile > remove links for radio drivers (tedu@) ~ man4/Makefile > missed one (tedu@) ~ man4/isa.4 ~ man4/isapnp.4 ~ man4/pci.4 ~ man9/radio.9 > remove trailing Xr to radio devices; (jmc@) ~ man4/gre.4 > shuffle this page a little, to make it read better; (jmc@) ~ man4/route.4 > Remove unused RTF_MASK route flag. > Requested by and OK mpi@ (bluhm@) == sys =============================================================== 10/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/conf ~ GENERIC > remove some ISA drivers for devices not recently seen in the wild. (tedu@) arch/amd64/stand/efiboot ~ Makefile.common ~ conf.c ~ efidev.c > Enable cd9660 in efiboot. (yasuoka@) arch/arm/arm ~ pmap7.c > In pmap_activate instead of doing disable_interrupts/enable_interrupts > nested inside of splhigh/splx just disable and enable interrupts > once with inline cps instructions. > Remove uneeded pcb_pl1vec block as well, suggested by kettenis. > ok kettenis@ (jsg@) arch/armish/compile - .cvsignore > this little piggy tried to stay around (deraadt@) arch/armv7/armv7 ~ platform.c > pl011 and pl031 are licenseable peripherals from arm present in multiple > socs. > Move the pluart and plrtc drivers for them out of the vexpress directory > and into dev to reflect this and rename the files to match the driver > names. > discussed with patrick and kettenis (jsg@) arch/armv7/conf ~ files.armv7 > pl011 and pl031 are licenseable peripherals from arm present in multiple > socs. > Move the pluart and plrtc drivers for them out of the vexpress directory > and into dev to reflect this and rename the files to match the driver > names. > discussed with patrick and kettenis (jsg@) arch/armv7/dev + plrtc.c + pluart.c > pl011 and pl031 are licenseable peripherals from arm present in multiple > socs. > Move the pluart and plrtc drivers for them out of the vexpress directory > and into dev to reflect this and rename the files to match the driver > names. > discussed with patrick and kettenis (jsg@) arch/armv7/vexpress ~ vexpress_machdep.c > remove no longer required pl011var.h include (jsg@) - pl011.c - pl011reg.h - pl011var.h - pl031.c ~ files.vexpress > pl011 and pl031 are licenseable peripherals from arm present in multiple > socs. > Move the pluart and plrtc drivers for them out of the vexpress directory > and into dev to reflect this and rename the files to match the driver > names. > discussed with patrick and kettenis (jsg@) arch/i386/conf ~ GENERIC > remove some ISA drivers for devices not recently seen in the wild. (tedu@) ~ GENERIC > Support A Radio Free Europe! > remove long disabled radio devices > ok deraadt (tedu@) arch/sgi/hpc ~ wskbdmap_sgi.c > regen > Reminded by miod (jca@) dev ~ audio.c ~ audio_if.h > Delete unused ioctls and associated macros. Move macros that are still > used internally by low-level drivers from sys/audioio.h to > dev/audio_if.h instead of deleting them. (ratchov@) dev/acpi ~ acpi.c > Don't put a device in the wake device list if _STA says it's not there. > Fixes at least one machine that woke up from sleep / poweroff immediately. > ok kettenis@, tested by kettenis and martijn@ (mlarkin@) dev/ic ~ aic79xx.c > Remove unnecessary 'error' assignment (tom@) - mc68681.c - mc68681reg.h - mc68681var.h > these drivers should have perished in the same fire as mvme88k > discovered by the ever alert mlarkin (tedu@) dev/isa - seagate.c - wss.c - wss_isa.c - wss_isapnp.c - wssreg.h - wssvar.h - ym.c - ym_isapnp.c - ymvar.h ~ files.isa ~ files.isapnp > remove some ISA drivers for devices not recently seen in the wild. (tedu@) - aztech.c - radiotrack.c - radiotrack2.c - rt_isa.c - rt_isapnp.c - sf16fmr.c - sf16fmr2.c ~ files.isa > Support A Radio Free Europe! > remove long disabled radio devices > ok deraadt (tedu@) ~ files.isapnp > Remove rt leftovers in isapnp, unbreak kernel config. > OK deraadt@ (bluhm@) dev/pci - gtp.c ~ files.pci > Support A Radio Free Europe! > remove long disabled radio devices > ok deraadt (tedu@) dev/pckbc ~ wskbdmap_mfii.c > Estonian keymap > Original diff from Taavi Tani in 2005 (!), adapted to -current by Mart > Tonso. ok mpi@ (jca@) ~ wskbdmap_mfii.c > sys/arch/sgi/hpc/wskbdmap_sgi.c should be regen'd too. > Requested by miod (jca@) dev/usb ~ ukbdmap.c > regen (jca@) dev/wscons ~ wskbdutil.c ~ wsksymdef.h > Estonian keymap > Original diff from Taavi Tani in 2005 (!), adapted to -current by Mart > Tonso. ok mpi@ (jca@) kern ~ kern_pledge.c > Delete unused ioctls and associated macros. Move macros that are still > used internally by low-level drivers from sys/audioio.h to > dev/audio_if.h instead of deleting them. (ratchov@) ~ kern_fork.c > proc_trampoline_mp hasn't needed curproc since 2011 > ok guenther@ mpi@ (tom@) net ~ if_bridge.c > Drop gif(4) support, etherip(4) is what you want now. > ok sthen@, deraadt@, dlg@ (mpi@) ~ route.c > Do not flush RTF_CLONED children when adding a new route. > New RTF_CLONING routes don't have children, but the kernel might end up > removing routes from a compatible route. This bug has been introduced > with the support for multiple RTF_CLONING routes. > Also make sure to release possible RTF_CACHED route *before* flushing > RTF_CLONED children when deleting a route. > KASSERT() reported by akfaew, sthen@ and martijn@ > ok benno@ (mpi@) ~ route.h > G/C rt_defmask4. (mpi@) ~ if_gre.c > Split gre(4) into two interfaces: gre(4) and mobileip(4). > Like vlan/svlan and tun/tap, it remains a single driver that decides > on the mode based on the interface name. This removes the need for > removing the default link0 flag to turn gre into Mobile IP mode. > Using linkX / IFF_LINK{0,1,2} for interface modes is a deprecated style. > OK millert@ dlg@ many > Not much consensus on the name but mobileip is also used for the sysctls, > so > OK henning@ (reyk@) ~ route.h > Remove unused RTF_MASK route flag. > Requested by and OK mpi@ (bluhm@) net80211 ~ ieee80211_ioctl.c > If a driver reports RSSI in the 20-100 range, convert to a negative value. > Fixes dBm values displayed by 'ifconfig scan' with several drivers. > ok mpi@ jca@ (stsp@) netinet ~ tcp_input.c ~ tcp_subr.c > Use 'sc_route{4,6}' directly instead of casting them to 'struct route *'. > This is another little step towards deprecating 'struct route{,_in6}'. > ok florian@ (mpi@) ntfs ~ ntfs_subr.c > Remove some unnecessary assignments in ntfs_subr.c, and move one > assignment into the for() loop where it looks better > ok otto@ krw@ (tom@) sys ~ audioio.h > Delete unused ioctls and associated macros. Move macros that are still > used internally by low-level drivers from sys/audioio.h to > dev/audio_if.h instead of deleting them. (ratchov@) uvm ~ uvm_map.c > Simplify arguments to uaddr_*_create functions > min is already clamped before invoking these functions. > ok kettenis@ (stefan@) == usr.bin =========================================================== 11/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin audioctl ~ audioctl.c > close an opened fd before returning from main > ok guenther@ (jsg@) calendar ~ io.c > fix fd leaks in error paths > ok guenther@ (jsg@) ~ calendars/calendar.birthday > new: Joe Ossanna 1928-1977 > from Jan Stary <hans at stare dot cz> (schwarze@) column ~ column.c > Complete do-over for column to prepare for implementing UTF-8 support. > Fix a few bugs while here, namely: > - Fix the width-calculation of a tab-character > - Correct treatment of files without trailing newlines. > - Repair "-xc 7" > - Overflow protection for the number of rows and columns > Lots of help from and OK schwarze@ > Get it in deraadt@ (martijn@) mg ~ buffer.c > Fix a bug reported by Han Boetes. Easily reproducible via: > mg > c-x b RET > c-x k RET > mg segvs. Initial diff from Joachim Nilsson. This diff tested > by Han and Joachim and ok florian@ jasper@ (lum@) openssl ~ ca.c > We don't need any VMS access tricks. > ok beck tedu (deraadt@) passwd ~ local_passwd.c > nicer format strings and use dprintf instead of write (tedu@) ~ local_passwd.c > replace obsolete getpass with readpassphrase. > ok gsoares (tedu@) rcs ~ rlog.1 ~ rlog.c > rlog: add -E and -S options to configure revision separators, to > work around commits that might have the default strings in them > ok tom deraadt (jcs@) vis ~ vis.c > When iterating over the list of input files close them when > processing of each is done. > ok guenther@ (jsg@) == usr.sbin ========================================================== 12/12 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin usr.sbin ~ Makefile > hook up acme-client (florian@) acme-client + ChangeLog + Makefile + acctproc.c + base64.c + certproc.c + chngproc.c + dbg.c + dnsproc.c + extern.h + fileproc.c + http.c + http.h + jsmn.c + jsmn.h + json.c + keyproc.c + letskencrypt.1 + main.c + netproc.c + revokeproc.c + rsa.c + rsa.h + sandbox-pledge.c + util-pledge.c + util.c > Import Kristaps' letskencrypt and call it acme-client in tree. > OK to get it in deraadt@ (and probably beck@) > At least deraadt@, beck@ and otto@ are fine with the name and the > disagreements stopped. (florian@) - letskencrypt.1 + acme-client.1 > oops, use correct filename (florian@) ~ acme-client.1 > Some man page clean up: > - make it more httpd centric > - remove mkdir instructions, we create the directories by default > - no 2nd person wording > - remove commented out lines > - add author (florian@) ~ Makefile > use bsd.prog.mk (florian@) ~ main.c > store files in directories called acme (florian@) ~ Makefile > whitespace (florian@) ~ acctproc.c ~ base64.c ~ certproc.c > whitespace cleanup (benno@) ~ http.c > avoid arith on void *, by using char * (deraadt@) ~ revokeproc.c > ASN1_TIME *atim avoids shadowing time (deraadt@) ~ chngproc.c ~ dbg.c ~ dnsproc.c ~ extern.h > whitespace (benno@) ~ main.c ~ netproc.c ~ revokeproc.c > revoke -> revocate, to avoid alias > ok florian (deraadt@) ~ fileproc.c ~ http.c > whitespace (benno@) ~ http.h ~ http.c > whitespace (benno@) ~ json.c > whitespace (benno@) ~ keyproc.c > whitespace (benno@) ~ main.c > whitespace (benno@) ~ netproc.c > whitespace (benno@) ~ revokeproc.c > whitespace (benno@) ~ acme-client.1 > Bring in license for man page Kristaps just added upstream in > commit 33c4b38b1db65097e4301e982c9cffcb8c3e648d. (florian@) ~ http.c > We are past 5.8. Also gets rid of asserts as a bonus. > OK benno@, deraadt@ (florian@) ~ rsa.c ~ sandbox-pledge.c > whitespace (benno@) ~ util.c > whitespace (benno@) ~ acctproc.c > whitespace (benno@) ~ base64.c ~ certproc.c > whitespace (benno@) nsd ~ buffer.h ~ configlexer.lex ~ configparser.y ~ configure.ac ~ ipc.c ~ namedb.c ~ namedb.h ~ nsd-checkconf.c ~ nsd.conf.5.in ~ nsd.conf.sample.in ~ nsec3.c ~ options.c ~ options.h ~ query.c ~ server.c ~ util.h ~ xfrd-disk.c ~ xfrd-disk.h ~ xfrd.c ~ zonec.c > update to 4.1.11 > "Working fine here." millert@ > OK dlg, sthen (florian@) ~ configure > regen (florian@) smtpd ~ aliases.c ~ delivery_maildir.c ~ lka_session.c ~ parse.y ~ smtpd-defines.h ~ smtpd.conf.5 ~ smtpd.h ~ util.c > allow overriding the subaddressing delimiter with subaddressing-delimiter > keyword, the default is still + > ok eric@, sunil@ (gilles@) ~ smtpd.conf.5 > word fix; (jmc@) ~ parse.y ~ ruleset.c ~ smtpd.conf.5 ~ smtpd.h > introduce "authenticated" parameter so rules may apply to authenticated > sessions specifically > ok eric@, sunil@, jung@ (gilles@) ~ smtpd.conf.5 > no need for Xo/Xc here, plus minor tweak; (jmc@) ~ mproc.c ~ queue.c ~ smtpd.h > Remove dead code. queue_flow_control() has never been used and is > probably a bad idea. > ok gilles@ (eric@) vmd ~ vmm.c > Style, and clarify some out of date comments (mlarkin@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
