OpenBSD src changes summary for 2016-07-31 to 2016-08-07 inclusive ==================================================================
bin/ed distrib/sets gnu/usr.bin/binutils-2.17 gnu/usr.bin/perl lib/csu lib/libc lib/libcrypto lib/libradius lib/libssl lib/libtls libexec/ld.so libexec/login_lchpass regress/usr.bin sbin/dhclient sbin/fdisk sbin/ifconfig sbin/iked sbin/pfctl share/man sys/arch/alpha/alpha sys/arch/amd64/amd64 sys/arch/amd64/conf sys/arch/amd64/isa sys/arch/arm/arm sys/arch/arm/conf sys/arch/arm/cortex sys/arch/arm/include sys/arch/arm/mainbus sys/arch/armv7/armv7 sys/arch/armv7/broadcom sys/arch/armv7/conf sys/arch/armv7/imx sys/arch/armv7/include sys/arch/armv7/omap sys/arch/armv7/sunxi sys/arch/armv7/vexpress sys/arch/hppa/dev sys/arch/m88k/m88k sys/arch/mips64/include sys/arch/mips64/mips64 sys/arch/octeon/dev sys/arch/octeon/octeon sys/conf sys/dev/acpi sys/dev/ofw sys/dev/pci sys/dev/pv sys/dev/usb sys/net sys/netinet sys/netinet6 sys/uvm usr.bin/infocmp usr.bin/jot usr.bin/libtool usr.bin/mandoc usr.bin/openssl usr.bin/pkg-config usr.bin/rusers usr.bin/ssh usr.bin/tmux usr.bin/units usr.bin/vi usr.bin/wall usr.sbin/dhcpd usr.sbin/hotplugd usr.sbin/httpd usr.sbin/map-mbone usr.sbin/mtrace usr.sbin/ndp usr.sbin/rebound usr.sbin/relayd usr.sbin/ripctl usr.sbin/ripd usr.sbin/route6d usr.sbin/rtadvd usr.sbin/vmd == bin =============================================================== 01/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ed ~ sub.c > Fix the begin of word bug in s-command, similar to sed. > nit fix and OK schwarze@ (martijn@) == distrib =========================================================== 02/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/man/mi > sync (jsg@) ~ lists/man/mi > sync (deraadt@) ~ lists/man/mi > sync (deraadt@) ~ lists/base/md.alpha ~ lists/base/md.amd64 ~ lists/base/md.armish ~ 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 > sync (deraadt@) == gnu =============================================================== 03/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu usr.bin/binutils-2.17 ~ bfd/elf.c ~ bfd/elflink.c > Make sure variables are initialized before using them > In elf.c, do not increment `s' before it is initialized. At the time > of the increment, `s' is otherwise unused anyway. > In elflink.c, initialize sec_contents and l_sec_contents to make > sure that the free(sec_contents) and free(l_sec_contents) are called > on valid pointers. > ok jca@ guenther@ (stefan@) ~ ld/ldlang.c > If an output section is skipped because of a constraint, then skip it > when generating the link map output (-M) too > ok kettenis@ (guenther@) ~ ld/genscripts.sh ~ ld/emultempl/elf32.em > Since we have kbind(2), we don't need -znow to use -zrelro > ok kettenis@ (guenther@) usr.bin/perl ~ patchlevel.h ~ cpan/Archive-Tar/bin/ptar ~ cpan/Archive-Tar/bin/ptardiff ~ cpan/Archive-Tar/bin/ptargrep ~ cpan/Archive-Tar/lib/Archive/Tar.pm ~ cpan/Archive-Tar/lib/Archive/Tar/Constant.pm ~ cpan/Archive-Tar/lib/Archive/Tar/File.pm ~ cpan/CPAN/lib/CPAN.pm ~ cpan/CPAN/lib/App/Cpan.pm ~ cpan/CPAN/lib/CPAN/Author.pm ~ cpan/CPAN/lib/CPAN/Bundle.pm ~ cpan/CPAN/lib/CPAN/CacheMgr.pm ~ cpan/CPAN/lib/CPAN/Complete.pm ~ cpan/CPAN/lib/CPAN/Debug.pm ~ cpan/CPAN/lib/CPAN/DeferredCode.pm ~ cpan/CPAN/lib/CPAN/Distribution.pm ~ cpan/CPAN/lib/CPAN/Distroprefs.pm ~ cpan/CPAN/lib/CPAN/Distrostatus.pm ~ cpan/CPAN/lib/CPAN/FTP.pm ~ cpan/CPAN/lib/CPAN/FirstTime.pm ~ cpan/CPAN/lib/CPAN/HandleConfig.pm ~ cpan/CPAN/lib/CPAN/Index.pm ~ cpan/CPAN/lib/CPAN/InfoObj.pm ~ cpan/CPAN/lib/CPAN/Kwalify.pm ~ cpan/CPAN/lib/CPAN/Mirrors.pm ~ cpan/CPAN/lib/CPAN/Module.pm ~ cpan/CPAN/lib/CPAN/Nox.pm ~ cpan/CPAN/lib/CPAN/Prompt.pm ~ cpan/CPAN/lib/CPAN/Queue.pm ~ cpan/CPAN/lib/CPAN/Shell.pm ~ cpan/CPAN/lib/CPAN/Tarzip.pm ~ cpan/CPAN/lib/CPAN/URL.pm ~ cpan/CPAN/lib/CPAN/Version.pm ~ cpan/CPAN/lib/CPAN/Exception/RecursiveDependency.pm ~ cpan/CPAN/lib/CPAN/Exception/blocked_urllist.pm ~ cpan/CPAN/lib/CPAN/Exception/yaml_not_installed.pm ~ cpan/CPAN/lib/CPAN/Exception/yaml_process_error.pm ~ cpan/CPAN/lib/CPAN/FTP/netrc.pm ~ cpan/CPAN/lib/CPAN/HTTP/Client.pm ~ cpan/CPAN/lib/CPAN/HTTP/Credentials.pm ~ cpan/CPAN/lib/CPAN/LWP/UserAgent.pm ~ cpan/CPAN/scripts/cpan ~ cpan/Digest/Digest.pm ~ cpan/Digest/Digest/base.pm ~ cpan/Digest/Digest/file.pm ~ cpan/Digest-SHA/shasum ~ cpan/Digest-SHA/lib/Digest/SHA.pm ~ cpan/Encode/Encode.pm ~ cpan/Encode/Encode/_PM.e2x ~ cpan/Encode/bin/enc2xs ~ cpan/Encode/bin/piconv ~ cpan/Encode/bin/ucmlint ~ cpan/Encode/bin/unidump ~ cpan/ExtUtils-MakeMaker/bin/instmodsh ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_AIX.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Cygwin.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_DOS.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Darwin.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_MacOS.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_NW5.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_OS2.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_QNX.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_UWIN.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VMS.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VOS.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Win32.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Win95.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MY.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mkbootstrap.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mksymlists.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/testlib.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Tag: ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/OPENBSD_5_8 ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Tag: ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/OPENBSD_5_8 ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Kid.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Tag: ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/OPENBSD_5_8 ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Config.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/FAQ.pod ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Tutorial.pod ~ cpan/File-Fetch/lib/File/Fetch.pm ~ cpan/HTTP-Tiny/lib/HTTP/Tiny.pm ~ cpan/IO-Compress/bin/zipdetails ~ cpan/IO-Compress/lib/Compress/Zlib.pm ~ cpan/IO-Compress/lib/File/GlobMapper.pm ~ cpan/IO-Compress/lib/IO/Compress/Base.pm ~ cpan/IO-Compress/lib/IO/Compress/Bzip2.pm ~ cpan/IO-Compress/lib/IO/Compress/Deflate.pm ~ cpan/IO-Compress/lib/IO/Compress/Gzip.pm ~ cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm ~ cpan/IO-Compress/lib/IO/Compress/Zip.pm ~ cpan/IO-Compress/lib/IO/Compress/Adapter/Bzip2.pm ~ cpan/IO-Compress/lib/IO/Compress/Adapter/Deflate.pm ~ cpan/IO-Compress/lib/IO/Compress/Adapter/Identity.pm ~ cpan/IO-Compress/lib/IO/Compress/Base/Common.pm ~ cpan/IO-Compress/lib/IO/Compress/Gzip/Constants.pm ~ cpan/IO-Compress/lib/IO/Compress/Zip/Constants.pm ~ cpan/IO-Compress/lib/IO/Compress/Zlib/Constants.pm ~ cpan/IO-Compress/lib/IO/Compress/Zlib/Extra.pm ~ cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm ~ cpan/IO-Compress/lib/IO/Uncompress/AnyUncompress.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Base.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm ~ cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Tag: ~ cpan/IO-Compress/lib/IO/Uncompress/OPENBSD_5_8 ~ cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Identity.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm ~ cpan/IO-Compress/private/MakeUtil.pm ~ cpan/IPC-Cmd/lib/IPC/Cmd.pm ~ cpan/JSON-PP/bin/json_pp ~ cpan/JSON-PP/lib/JSON/PP.pm ~ cpan/JSON-PP/lib/JSON/Tag: ~ cpan/JSON-PP/lib/JSON/OPENBSD_5_8 ~ cpan/JSON-PP/lib/JSON/Simple.pm ~ cpan/Memoize/Memoize.pm ~ cpan/Memoize/Memoize/AnyDBM_File.pm ~ cpan/Memoize/Memoize/Expire.pm ~ cpan/Memoize/Memoize/ExpireFile.pm ~ cpan/Memoize/Memoize/ExpireTest.pm ~ cpan/Memoize/Memoize/NDBM_File.pm ~ cpan/Memoize/Memoize/SDBM_File.pm ~ cpan/Memoize/Memoize/Storable.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/BaseTo.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/GetOptsOO.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToANSI.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToChecker.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToNroff.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToPod.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToRtf.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTerm.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToText.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTk.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToXml.pm ~ cpan/Sys-Syslog/Syslog.pm ~ cpan/Test/lib/Test.pm ~ cpan/Test-Harness/bin/prove ~ cpan/Test-Harness/lib/App/Prove.pm ~ cpan/Test-Harness/lib/App/Prove/State.pm ~ cpan/Test-Harness/lib/App/Prove/State/Result.pm ~ cpan/Test-Harness/lib/App/Prove/State/Tag: ~ cpan/Test-Harness/lib/App/Prove/State/OPENBSD_5_8 ~ cpan/Test-Harness/lib/App/Prove/State/Test.pm ~ cpan/Test-Harness/lib/TAP/Base.pm ~ cpan/Test-Harness/lib/TAP/Harness.pm ~ cpan/Test-Harness/lib/TAP/Object.pm ~ cpan/Test-Harness/lib/TAP/Parser.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Base.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Color.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Console.pm ~ cpan/Test-Harness/lib/TAP/Formatter/File.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Session.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Tag: ~ cpan/Test-Harness/lib/TAP/Formatter/OPENBSD_5_8 ~ cpan/Test-Harness/lib/TAP/Formatter/ParallelSession.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Session.pm ~ cpan/Test-Harness/lib/TAP/Formatter/File/Session.pm ~ cpan/Test-Harness/lib/TAP/Harness/Env.pm ~ cpan/Test-Harness/lib/TAP/Parser/Aggregator.pm ~ cpan/Test-Harness/lib/TAP/Parser/Grammar.pm ~ cpan/Test-Harness/lib/TAP/Parser/Iterator.pm ~ cpan/Test-Harness/lib/TAP/Parser/IteratorFactory.pm ~ cpan/Test-Harness/lib/TAP/Parser/Multiplexer.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result.pm ~ cpan/Test-Harness/lib/TAP/Parser/ResultFactory.pm ~ cpan/Test-Harness/lib/TAP/Parser/Scheduler.pm ~ cpan/Test-Harness/lib/TAP/Parser/Source.pm ~ cpan/Test-Harness/lib/TAP/Parser/SourceHandler.pm ~ cpan/Test-Harness/lib/TAP/Parser/Iterator/Array.pm ~ cpan/Test-Harness/lib/TAP/Parser/Iterator/Process.pm ~ cpan/Test-Harness/lib/TAP/Parser/Iterator/Stream.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Bailout.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Comment.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Plan.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Pragma.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Test.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Unknown.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Version.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/YAML.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Tag: ~ cpan/Test-Harness/lib/TAP/Parser/Result/OPENBSD_5_8 ~ cpan/Test-Harness/lib/TAP/Parser/Result/Job.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Spinner.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Tag: ~ cpan/Test-Harness/lib/TAP/Parser/Result/OPENBSD_5_8 ~ cpan/Test-Harness/lib/TAP/Parser/Result/Executable.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/File.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Handle.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Perl.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/RawTAP.pm ~ cpan/Test-Harness/lib/TAP/Parser/YAMLish/Reader.pm ~ cpan/Test-Harness/lib/TAP/Parser/YAMLish/Writer.pm ~ cpan/Test-Harness/lib/Test/Harness.pm ~ cpan/libnet/Net/Cmd.pm ~ cpan/libnet/Net/Config.pm ~ cpan/libnet/Net/Domain.pm ~ cpan/libnet/Net/FTP.pm ~ cpan/libnet/Net/NNTP.pm ~ cpan/libnet/Net/Netrc.pm ~ cpan/libnet/Net/POP3.pm ~ cpan/libnet/Net/SMTP.pm ~ cpan/libnet/Net/Time.pm ~ cpan/libnet/Net/FTP/A.pm ~ cpan/libnet/Net/FTP/E.pm ~ cpan/libnet/Net/FTP/I.pm ~ cpan/libnet/Net/FTP/L.pm ~ cpan/libnet/Net/FTP/dataconn.pm ~ dist/ExtUtils-Command/lib/ExtUtils/Command.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Tag: ~ dist/ExtUtils-ParseXS/lib/ExtUtils/OPENBSD_5_8 ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Constants.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/CountLines.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Eval.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Utilities.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Tag: ~ dist/ExtUtils-ParseXS/lib/ExtUtils/OPENBSD_5_8 ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Cmd.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/InputMap.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/OutputMap.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Type.pm ~ dist/I18N-LangTags/lib/I18N/LangTags.pm ~ dist/I18N-LangTags/lib/I18N/LangTags/Detect.pm ~ dist/I18N-LangTags/lib/I18N/LangTags/List.pm ~ dist/IO/IO.pm ~ dist/Locale-Maketext/lib/Locale/Maketext.pm ~ dist/Locale-Maketext/lib/Locale/Maketext/Guts.pm ~ dist/Locale-Maketext/lib/Locale/Maketext/GutsLoader.pm ~ dist/Module-CoreList/corelist ~ dist/Module-CoreList/lib/Module/CoreList.pm ~ dist/Module-CoreList/lib/Module/CoreList/TieHashDelta.pm ~ dist/Module-CoreList/lib/Module/CoreList/Utils.pm ~ dist/Net-Ping/lib/Net/Ping.pm ~ dist/PathTools/Cwd.pm ~ dist/PathTools/lib/File/Spec.pm ~ dist/PathTools/lib/File/Spec/Cygwin.pm ~ dist/PathTools/lib/File/Spec/Epoc.pm ~ dist/PathTools/lib/File/Spec/Functions.pm ~ dist/PathTools/lib/File/Spec/Mac.pm ~ dist/PathTools/lib/File/Spec/OS2.pm ~ dist/PathTools/lib/File/Spec/Unix.pm ~ dist/PathTools/lib/File/Spec/VMS.pm ~ dist/PathTools/lib/File/Spec/Win32.pm ~ dist/Storable/Storable.pm ~ dist/base/lib/base.pm ~ dist/base/lib/fields.pm ~ dist/bignum/lib/bigint.pm ~ dist/bignum/lib/bignum.pm ~ dist/bignum/lib/bigrat.pm ~ dist/bignum/lib/Math/BigFloat/Trace.pm ~ dist/bignum/lib/Math/BigInt/Trace.pm ~ ext/Pod-Html/bin/pod2html ~ ext/Pod-Html/lib/Pod/Html.pm ~ lib/perl5db.pl ~ t/porting/customized.dat ~ utils/c2ph.PL ~ utils/h2ph.PL ~ utils/h2xs.PL ~ utils/libnetcfg.PL ~ utils/perlbug.PL ~ utils/perldoc.PL ~ utils/perlivp.PL ~ utils/splain.PL ~ x2p/find2perl.PL ~ x2p/s2p.PL TAGGED OPENBSD_5_8 > Patch perl CVE-2016-1238 > The problem relates to Perl 5 ("perl") loading modules from the > includes directory array ("@INC") in which the last element is the > current directory ("."). That means that, when "perl" wants to > load a module (during first compilation or during lazy loading of > a module in run-time), perl will look for the module in the current > directory at the end, since '.' is the last include directory in > its array of include directories to seek. The issue is with requiring > libraries that are in "." but are not otherwise installed. > The major problem with this behavior is that it unexpectedly puts > a user at risk whenever they execute any Perl scripts from a directory > that is writable by other accounts on the system. For instance, if > a user is logged in as root and changes directory into /tmp or an > account's home directory, it is possible to now run any shell > commands that are written in C, Python or Ruby without fear. > The same isn't true for any shell commands that are written in Perl, > since a significant proportion of Perl scripts will execute code > in the current working directory whenever they are run. For example, > if a user on a shared system creates the file /tmp/Pod/Perldoc/Toterm.pm, > and then I log in as root, change directory to /tmp, and run "perldoc > perlrun", it will execute the code they have placed in the file. (afresh1@) ~ patchlevel.h ~ cpan/Archive-Tar/bin/ptar ~ cpan/Archive-Tar/bin/ptardiff ~ cpan/Archive-Tar/bin/ptargrep ~ cpan/Archive-Tar/lib/Archive/Tar.pm ~ cpan/Archive-Tar/lib/Archive/Tar/Constant.pm ~ cpan/Archive-Tar/lib/Archive/Tar/File.pm ~ cpan/CPAN/lib/CPAN.pm ~ cpan/CPAN/lib/App/Cpan.pm ~ cpan/CPAN/lib/CPAN/Author.pm ~ cpan/CPAN/lib/CPAN/Bundle.pm ~ cpan/CPAN/lib/CPAN/CacheMgr.pm ~ cpan/CPAN/lib/CPAN/Complete.pm ~ cpan/CPAN/lib/CPAN/Debug.pm ~ cpan/CPAN/lib/CPAN/DeferredCode.pm ~ cpan/CPAN/lib/CPAN/Distribution.pm ~ cpan/CPAN/lib/CPAN/Distroprefs.pm ~ cpan/CPAN/lib/CPAN/Distrostatus.pm ~ cpan/CPAN/lib/CPAN/FTP.pm ~ cpan/CPAN/lib/CPAN/FirstTime.pm ~ cpan/CPAN/lib/CPAN/HandleConfig.pm ~ cpan/CPAN/lib/CPAN/Index.pm ~ cpan/CPAN/lib/CPAN/InfoObj.pm ~ cpan/CPAN/lib/CPAN/Kwalify.pm ~ cpan/CPAN/lib/CPAN/Mirrors.pm ~ cpan/CPAN/lib/CPAN/Module.pm ~ cpan/CPAN/lib/CPAN/Nox.pm ~ cpan/CPAN/lib/CPAN/Prompt.pm ~ cpan/CPAN/lib/CPAN/Queue.pm ~ cpan/CPAN/lib/CPAN/Shell.pm ~ cpan/CPAN/lib/CPAN/Tarzip.pm ~ cpan/CPAN/lib/CPAN/URL.pm ~ cpan/CPAN/lib/CPAN/Version.pm ~ cpan/CPAN/lib/CPAN/Exception/RecursiveDependency.pm ~ cpan/CPAN/lib/CPAN/Exception/blocked_urllist.pm ~ cpan/CPAN/lib/CPAN/Exception/yaml_not_installed.pm ~ cpan/CPAN/lib/CPAN/Exception/yaml_process_error.pm ~ cpan/CPAN/lib/CPAN/FTP/netrc.pm ~ cpan/CPAN/lib/CPAN/HTTP/Client.pm ~ cpan/CPAN/lib/CPAN/HTTP/Credentials.pm ~ cpan/CPAN/lib/CPAN/LWP/UserAgent.pm ~ cpan/CPAN/scripts/cpan ~ cpan/Digest/Digest.pm ~ cpan/Digest/Digest/base.pm ~ cpan/Digest/Digest/file.pm ~ cpan/Digest-SHA/shasum ~ cpan/Digest-SHA/lib/Digest/SHA.pm ~ cpan/Encode/Encode.pm ~ cpan/Encode/Encode/_PM.e2x ~ cpan/Encode/bin/enc2xs ~ cpan/Encode/bin/piconv ~ cpan/Encode/bin/ucmlint ~ cpan/Encode/bin/unidump ~ cpan/ExtUtils-MakeMaker/bin/instmodsh ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_AIX.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Cygwin.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_DOS.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Darwin.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_MacOS.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_NW5.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_OS2.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_QNX.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_UWIN.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VMS.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VOS.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Win32.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Win95.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MY.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mkbootstrap.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Mksymlists.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/testlib.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Tag: ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/OPENBSD_5_9 ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Tag: ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/OPENBSD_5_9 ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Kid.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Tag: ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/OPENBSD_5_9 ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Config.pm ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/FAQ.pod ~ cpan/ExtUtils-MakeMaker/lib/ExtUtils/Tutorial.pod ~ cpan/File-Fetch/lib/File/Fetch.pm ~ cpan/HTTP-Tiny/lib/HTTP/Tiny.pm ~ cpan/IO-Compress/bin/zipdetails ~ cpan/IO-Compress/lib/Compress/Zlib.pm ~ cpan/IO-Compress/lib/File/GlobMapper.pm ~ cpan/IO-Compress/lib/IO/Compress/Base.pm ~ cpan/IO-Compress/lib/IO/Compress/Bzip2.pm ~ cpan/IO-Compress/lib/IO/Compress/Deflate.pm ~ cpan/IO-Compress/lib/IO/Compress/Gzip.pm ~ cpan/IO-Compress/lib/IO/Compress/RawDeflate.pm ~ cpan/IO-Compress/lib/IO/Compress/Zip.pm ~ cpan/IO-Compress/lib/IO/Compress/Adapter/Bzip2.pm ~ cpan/IO-Compress/lib/IO/Compress/Adapter/Deflate.pm ~ cpan/IO-Compress/lib/IO/Compress/Adapter/Identity.pm ~ cpan/IO-Compress/lib/IO/Compress/Base/Common.pm ~ cpan/IO-Compress/lib/IO/Compress/Gzip/Constants.pm ~ cpan/IO-Compress/lib/IO/Compress/Zip/Constants.pm ~ cpan/IO-Compress/lib/IO/Compress/Zlib/Constants.pm ~ cpan/IO-Compress/lib/IO/Compress/Zlib/Extra.pm ~ cpan/IO-Compress/lib/IO/Uncompress/AnyInflate.pm ~ cpan/IO-Compress/lib/IO/Uncompress/AnyUncompress.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Base.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Gunzip.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm ~ cpan/IO-Compress/lib/IO/Uncompress/RawInflate.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Unzip.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Tag: ~ cpan/IO-Compress/lib/IO/Uncompress/OPENBSD_5_9 ~ cpan/IO-Compress/lib/IO/Uncompress/Bunzip2.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Identity.pm ~ cpan/IO-Compress/lib/IO/Uncompress/Inflate.pm ~ cpan/IO-Compress/private/MakeUtil.pm ~ cpan/IPC-Cmd/lib/IPC/Cmd.pm ~ cpan/JSON-PP/bin/json_pp ~ cpan/JSON-PP/lib/JSON/PP.pm ~ cpan/JSON-PP/lib/JSON/Tag: ~ cpan/JSON-PP/lib/JSON/OPENBSD_5_9 ~ cpan/JSON-PP/lib/JSON/Simple.pm ~ cpan/Memoize/Memoize.pm ~ cpan/Memoize/Memoize/AnyDBM_File.pm ~ cpan/Memoize/Memoize/Expire.pm ~ cpan/Memoize/Memoize/ExpireFile.pm ~ cpan/Memoize/Memoize/ExpireTest.pm ~ cpan/Memoize/Memoize/NDBM_File.pm ~ cpan/Memoize/Memoize/SDBM_File.pm ~ cpan/Memoize/Memoize/Storable.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/BaseTo.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/GetOptsOO.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToANSI.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToChecker.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToNroff.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToPod.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToRtf.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTerm.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToText.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTk.pm ~ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToXml.pm ~ cpan/Sys-Syslog/Syslog.pm ~ cpan/Test/lib/Test.pm ~ cpan/Test-Harness/bin/prove ~ cpan/Test-Harness/lib/App/Prove.pm ~ cpan/Test-Harness/lib/App/Prove/State.pm ~ cpan/Test-Harness/lib/App/Prove/State/Result.pm ~ cpan/Test-Harness/lib/App/Prove/State/Tag: ~ cpan/Test-Harness/lib/App/Prove/State/OPENBSD_5_9 ~ cpan/Test-Harness/lib/App/Prove/State/Test.pm ~ cpan/Test-Harness/lib/TAP/Base.pm ~ cpan/Test-Harness/lib/TAP/Harness.pm ~ cpan/Test-Harness/lib/TAP/Object.pm ~ cpan/Test-Harness/lib/TAP/Parser.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Base.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Color.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Console.pm ~ cpan/Test-Harness/lib/TAP/Formatter/File.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Session.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Tag: ~ cpan/Test-Harness/lib/TAP/Formatter/OPENBSD_5_9 ~ cpan/Test-Harness/lib/TAP/Formatter/ParallelSession.pm ~ cpan/Test-Harness/lib/TAP/Formatter/Session.pm ~ cpan/Test-Harness/lib/TAP/Formatter/File/Session.pm ~ cpan/Test-Harness/lib/TAP/Harness/Env.pm ~ cpan/Test-Harness/lib/TAP/Parser/Aggregator.pm ~ cpan/Test-Harness/lib/TAP/Parser/Grammar.pm ~ cpan/Test-Harness/lib/TAP/Parser/Iterator.pm ~ cpan/Test-Harness/lib/TAP/Parser/IteratorFactory.pm ~ cpan/Test-Harness/lib/TAP/Parser/Multiplexer.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result.pm ~ cpan/Test-Harness/lib/TAP/Parser/ResultFactory.pm ~ cpan/Test-Harness/lib/TAP/Parser/Scheduler.pm ~ cpan/Test-Harness/lib/TAP/Parser/Source.pm ~ cpan/Test-Harness/lib/TAP/Parser/SourceHandler.pm ~ cpan/Test-Harness/lib/TAP/Parser/Iterator/Array.pm ~ cpan/Test-Harness/lib/TAP/Parser/Iterator/Process.pm ~ cpan/Test-Harness/lib/TAP/Parser/Iterator/Stream.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Bailout.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Comment.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Plan.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Pragma.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Test.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Unknown.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Version.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/YAML.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Tag: ~ cpan/Test-Harness/lib/TAP/Parser/Result/OPENBSD_5_9 ~ cpan/Test-Harness/lib/TAP/Parser/Result/Job.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Spinner.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Tag: ~ cpan/Test-Harness/lib/TAP/Parser/Result/OPENBSD_5_9 ~ cpan/Test-Harness/lib/TAP/Parser/Result/Executable.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/File.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Handle.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/Perl.pm ~ cpan/Test-Harness/lib/TAP/Parser/Result/RawTAP.pm ~ cpan/Test-Harness/lib/TAP/Parser/YAMLish/Reader.pm ~ cpan/Test-Harness/lib/TAP/Parser/YAMLish/Writer.pm ~ cpan/Test-Harness/lib/Test/Harness.pm ~ cpan/libnet/Net/Cmd.pm ~ cpan/libnet/Net/Config.pm ~ cpan/libnet/Net/Domain.pm ~ cpan/libnet/Net/FTP.pm ~ cpan/libnet/Net/NNTP.pm ~ cpan/libnet/Net/Netrc.pm ~ cpan/libnet/Net/POP3.pm ~ cpan/libnet/Net/SMTP.pm ~ cpan/libnet/Net/Time.pm ~ cpan/libnet/Net/FTP/A.pm ~ cpan/libnet/Net/FTP/E.pm ~ cpan/libnet/Net/FTP/I.pm ~ cpan/libnet/Net/FTP/L.pm ~ cpan/libnet/Net/FTP/dataconn.pm ~ dist/ExtUtils-Command/lib/ExtUtils/Command.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Typemaps.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Tag: ~ dist/ExtUtils-ParseXS/lib/ExtUtils/OPENBSD_5_9 ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Constants.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/CountLines.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Eval.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Utilities.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Tag: ~ dist/ExtUtils-ParseXS/lib/ExtUtils/OPENBSD_5_9 ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Cmd.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/InputMap.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/OutputMap.pm ~ dist/ExtUtils-ParseXS/lib/ExtUtils/Type.pm ~ dist/I18N-LangTags/lib/I18N/LangTags.pm ~ dist/I18N-LangTags/lib/I18N/LangTags/Detect.pm ~ dist/I18N-LangTags/lib/I18N/LangTags/List.pm ~ dist/IO/IO.pm ~ dist/Locale-Maketext/lib/Locale/Maketext.pm ~ dist/Locale-Maketext/lib/Locale/Maketext/Guts.pm ~ dist/Locale-Maketext/lib/Locale/Maketext/GutsLoader.pm ~ dist/Module-CoreList/corelist ~ dist/Module-CoreList/lib/Module/CoreList.pm ~ dist/Module-CoreList/lib/Module/CoreList/TieHashDelta.pm ~ dist/Module-CoreList/lib/Module/CoreList/Utils.pm ~ dist/Net-Ping/lib/Net/Ping.pm ~ dist/PathTools/Cwd.pm ~ dist/PathTools/lib/File/Spec.pm ~ dist/PathTools/lib/File/Spec/Cygwin.pm ~ dist/PathTools/lib/File/Spec/Epoc.pm ~ dist/PathTools/lib/File/Spec/Functions.pm ~ dist/PathTools/lib/File/Spec/Mac.pm ~ dist/PathTools/lib/File/Spec/OS2.pm ~ dist/PathTools/lib/File/Spec/Unix.pm ~ dist/PathTools/lib/File/Spec/VMS.pm ~ dist/PathTools/lib/File/Spec/Win32.pm ~ dist/Storable/Storable.pm ~ dist/base/lib/base.pm ~ dist/base/lib/fields.pm ~ dist/bignum/lib/bigint.pm ~ dist/bignum/lib/bignum.pm ~ dist/bignum/lib/bigrat.pm ~ dist/bignum/lib/Math/BigFloat/Trace.pm ~ dist/bignum/lib/Math/BigInt/Trace.pm ~ ext/Pod-Html/bin/pod2html ~ ext/Pod-Html/lib/Pod/Html.pm ~ lib/perl5db.pl ~ t/porting/customized.dat ~ utils/c2ph.PL ~ utils/h2ph.PL ~ utils/h2xs.PL ~ utils/libnetcfg.PL ~ utils/perlbug.PL ~ utils/perldoc.PL ~ utils/perlivp.PL ~ utils/splain.PL ~ x2p/find2perl.PL ~ x2p/s2p.PL TAGGED OPENBSD_5_9 > Patch perl CVE-2016-1238 > The problem relates to Perl 5 ("perl") loading modules from the > includes directory array ("@INC") in which the last element is the > current directory ("."). That means that, when "perl" wants to > load a module (during first compilation or during lazy loading of > a module in run-time), perl will look for the module in the current > directory at the end, since '.' is the last include directory in > its array of include directories to seek. The issue is with requiring > libraries that are in "." but are not otherwise installed. > The major problem with this behavior is that it unexpectedly puts > a user at risk whenever they execute any Perl scripts from a directory > that is writable by other accounts on the system. For instance, if > a user is logged in as root and changes directory into /tmp or an > account's home directory, it is possible to now run any shell > commands that are written in C, Python or Ruby without fear. > The same isn't true for any shell commands that are written in Perl, > since a significant proportion of Perl scripts will execute code > in the current working directory whenever they are run. For example, > if a user on a shared system creates the file /tmp/Pod/Perldoc/Toterm.pm, > and then I log in as root, change directory to /tmp, and run "perldoc > perlrun", it will execute the code they have placed in the file. (afresh1@) ~ dist/IO/lib/IO/Dir.pm ~ dist/IO/lib/IO/File.pm ~ dist/IO/lib/IO/Handle.pm ~ dist/IO/lib/IO/Pipe.pm ~ dist/IO/lib/IO/Poll.pm ~ dist/IO/lib/IO/Seekable.pm ~ dist/IO/lib/IO/Select.pm ~ dist/IO/lib/IO/Socket.pm ~ dist/IO/lib/IO/Socket/INET.pm ~ dist/IO/lib/IO/Socket/UNIX.pm TAGGED OPENBSD_6_0 > Revert version bumps on perl modules > These shouldn't have been bumped with the CVE-2016-1238 change and > cause problems with IO::Socket::IP. > Noticed by many, requested by sthen@ (afresh1@) == lib =============================================================== 04/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib csu ~ boot.h > Flip the #ifdef logic: amd64, i386, and mips64 were the only static PIE > archs using the #else case (guenther@) ~ boot.h > Psych: amd64 has been passing &_DYNAMIC to _dl_boot_bind() for 19 months > (guenther@) ~ i386/md_init.h ~ boot.h > Teach i386 to pass &_DYNAMIC to _dl_boot_bind() (guenther@) ~ boot.h ~ alpha/md_init.h > alpha already calculates &_DYNAMIC for the _reloc_alpha_got() call, so > save that and pass it to _dl_boot_bind() too (guenther@) ~ mips64/md_init.h ~ boot.h > Teach mips64 to pass &_DYNAMIC to _dl_boot_bind(). > mips64be testing by deraadt@ (guenther@) libc ~ net/gethostbyname.3 > Make RES_OPTIONS point directly to resolv.conf(5) instead of going through > resolver(3). > OK jmc@ (martijn@) ~ net/gethostbyname.3 ~ net/resolver.3 > Obvious minor fixes: > * Add missing .Dv, .Ev, and .Fa macros. > * Delete deprecated .Tn macros. > * Mark up global variable names with .Va, not with .Fa or .Li. > * Mark up config file commands with .Ic, not with .Fa. > * Fix HISTORY, trivial to verify from the CSRG archive CD. (schwarze@) ~ arch/arm/SYS.h ~ arch/arm/gen/_setjmp.S ~ arch/arm/gen/divsi3.S ~ arch/arm/gen/setjmp.S ~ arch/arm/gen/sigsetjmp.S ~ arch/arm/string/_memcpy.S ~ arch/arm/string/bcopy.S ~ arch/arm/string/bzero.S ~ arch/arm/string/ffs.S ~ arch/arm/string/memcmp.S ~ arch/arm/string/memcpy.S ~ arch/arm/string/memmove.S ~ arch/arm/string/memset.S ~ arch/arm/string/strcmp.S ~ arch/arm/string/strncmp.S ~ arch/arm/sys/Ovfork.S ~ arch/arm/sys/brk.S ~ arch/arm/sys/cerror.S ~ arch/arm/sys/sbrk.S ~ arch/arm/sys/sigpending.S ~ arch/arm/sys/sigprocmask.S ~ arch/arm/sys/sigsuspend.S ~ arch/arm/sys/tfork_thread.S + arch/arm/DEFS.h > Use internal names for __errno, _memcpy, memset, and {,_}{set,long}jmp > Eliminate pointless use of PIC_SYM() > Split out DEFS.h from SYS.h like some other archs > ok kettenis@ deraadt@ (guenther@) ~ arch/arm/gen/_setjmp.S ~ arch/arm/gen/setjmp.S > Add XOR cookies for lr and sp. Stop saving/restoring r12 to/from the > jmpbuf. > Switch from calling obsolete sig{block,setmask} to directly using the > sigprocmask syscall. > ok deraadt@ kettenis@ (guenther@) libcrypto ~ crypto/getentropy_aix.c ~ crypto/getentropy_freebsd.c ~ crypto/getentropy_hpux.c ~ crypto/getentropy_linux.c ~ crypto/getentropy_netbsd.c ~ crypto/getentropy_osx.c ~ crypto/getentropy_solaris.c ~ crypto/getentropy_win.c > Update the link for the getentropy(2) manual to man.openbsd.org/ > ok deraadt@ (tb@) libradius ~ radius_new_request_packet.3 > grammar fix; (jmc@) libssl ~ src/crypto/opensslv.h > bump for LibreSSL 2.5.x (bcook@) ~ src/crypto/conf/conf_lib.c > Do not *printf %s NULL > ok bcook (deraadt@) libtls ~ tls.c ~ tls.h ~ tls_config.c ~ tls_conninfo.c ~ tls_init.3 ~ tls_internal.h ~ tls_server.c > Add ALPN support to libtls. > ok beck@ doug@ (jsing@) ~ tls.h > Bump TLS_API for addition of ALPN support. (jsing@) ~ tls.c ~ tls.h ~ tls_config.c ~ tls_conninfo.c ~ tls_init.3 ~ tls_internal.h ~ tls_server.c ~ tls_verify.c > Revert previous since it adds new symbols. > Requested by deraadt@ (jsing@) == libexec =========================================================== 05/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ util.c > use a larger chunk for getentropy() and save some for next time. > coalesces some syscalls instead of one per random number. > ok deraadt (tedu@) ~ boot.c > Flip the #ifdef logic: amd64, arm, i386, and mips64 are the only archs > using the #else case (guenther@) ~ boot.c > hahahah: amd64 has been passing &_DYNAMIC to _dl_boot_bind() for > *149 months* (guenther@) ~ mips64/ldasm.S ~ boot.c > Teach mips64 to pass &_DYNAMIC to _dl_boot_bind() > mips64be testing by deraadt@ (guenther@) ~ boot.c ~ i386/ldasm.S > Teach i386 to pass &_DYNAMIC to _dl_boot_bind() (guenther@) ~ boot.c ~ alpha/ldasm.S > As with csu, alpha passes &_DYNAMIC to _reloc_alpha_got(), so just > save that and pass it to _dl_boot_bind() too (guenther@) login_lchpass ~ login_lchpass.c > zap unused var (jca@) == regress =========================================================== 06/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress usr.bin ~ mandoc/db/out/all.derr ~ mandoc/db/out/empty.dout ~ mandoc/db/out/fn.dout ~ mandoc/db/out/in.dout ~ mandoc/db/out/onepage.dout ~ mandoc/db/out/padfentry.dout ~ mandoc/db/out/padfmagic.dout ~ mandoc/db/out/padfpage.dout ~ mandoc/db/out/padientry.dout ~ mandoc/db/out/padimacro.dout ~ mandoc/db/out/padipage.dout ~ mandoc/db/out/padmacros.dout ~ mandoc/db/out/padmentry.dout ~ mandoc/db/out/padmmacro.dout ~ mandoc/db/out/padmpage.dout ~ mandoc/db/out/sh.dout ~ mandoc/db/out/so.dout ~ mandoc/db/out/so_rev.dout ~ mandoc/db/out/sortnames.dout ~ mandoc/db/out/sortpages.dout ~ mandoc/db/out/sortpages_rev.dout ~ mandoc/db/out/threemacros.dout ~ mandoc/db/out/threepages.dout ~ mandoc/db/out/twoarch.dout ~ mandoc/db/out/twopages.dout ~ mandoc/db/out/twosect.dout ~ mandoc/db/out/va.dout ~ mandoc/db/out/xr.dout ~ mandoc/db/run/Makefile > adjust database file name and version number to what was committed > (schwarze@) ~ jot/regress.sh > enable dddd regression test (tb@) ~ mandoc/db/out/onepage.dout ~ mandoc/db/out/padfentry.dout ~ mandoc/db/out/padfpage.dout ~ mandoc/db/out/padientry.dout ~ mandoc/db/out/padipage.dout ~ mandoc/db/out/padmentry.dout ~ mandoc/db/out/padmpage.dout ~ mandoc/db/out/so.dout ~ mandoc/db/out/so_rev.dout ~ mandoc/db/out/sortnames.dout ~ mandoc/db/out/sortpages.dout ~ mandoc/db/out/sortpages_rev.dout ~ mandoc/db/out/threemacros.dout ~ mandoc/db/out/threepages.dout ~ mandoc/db/out/twoarch.dout ~ mandoc/db/out/twopages.dout ~ mandoc/db/out/twosect.dout > adjust expected output after the NAME_HEAD fix in mandocdb.c rev. 1.175 > (schwarze@) ~ mandoc/Makefile > enable the mandoc.db(5) regression suite, code is stable enough now > (schwarze@) ~ jot/regress.sh + jot/regress.rdhhh.out + jot/regress.rhdhh.out > If you see code like this, you know something's quite wrong > (present in some form since r1.1, still present in r1.31): > 229 case 013: > 230 if (randomize) > 231 begin = BEGIN_DEF; > 232 else if (reps == 0) > 233 errx(1, "Must specify begin if reps == > 0"); > 234 begin = ender - reps * s + s; > Add two tests that check for the intended behavior. (tb@) ~ jot/regress.sh + jot/regress.dbbd.out + jot/regress.dbbh.out + jot/regress.ddhd3.out + jot/regress.ddhh3.out + jot/regress.dhdd3.out + jot/regress.dhdh3.out + jot/regress.dhhd3.out + jot/regress.dhhd4.out + jot/regress.dhhh3.out + jot/regress.dhhh4.out + jot/regress.hbbd.out + jot/regress.hbbh.out + jot/regress.hdhd3.out + jot/regress.hdhd4.out + jot/regress.hdhh3.out + jot/regress.hdhh4.out + jot/regress.hhdd3.out + jot/regress.hhdd4.out + jot/regress.hhdh3.out + jot/regress.hhdh4.out + jot/regress.hhhd3.out + jot/regress.hhhd4.out + jot/regress.hhhh3.out + jot/regress.hhhh4.out > Add more tests for better code coverage: > What happens if begin and end are reversed? What if they are equal? > While there, add a few comments on the purpose of the tests. (tb@) == sbin ============================================================== 07/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ clparse.c > Ask for DHO_BOOTFILE_NAME and DHO_TFTP_SERVER by default. May prove > useful to autoinstall in the future and in the meantime can provide > information on what the dhcp server has done with the desired server > name and file name info. > Original diff from Patrik Lundin via tech@ (krw@) fdisk ~ cmd.c > capitalize a question like all the others > ok krw (jcs@) ifconfig ~ ifconfig.c > Fix typo, spotted by Holger Mikolon <[email protected]> (vgross@) iked ~ parse.y > Unbreak PSK authentication, broken by previous. > ok reyk@ florian@ (pascal@) pfctl ~ pfctl_optimize.c > A couple of "a->blah == a->blah" -> "a->blah == b->blah". > Spotted by the Echelon team with AppChecker static analyzer. > ok sashan@ (krw@) == share ============================================================= 08/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/Makefile > install acpials.4 (jsg@) ~ man5/bsd.port.mk.5 > document default for DISTDIR (espie@) ~ man5/mandoc.db.5 > document the new file format (schwarze@) ~ man8/afterboot.8 > the default smtpd setup does not require newaliases be run; > noted by consus > ok gilles (jmc@) ~ man4/Makefile ~ man4/acpi.4 + man4/tpm.4 > add a man page for tpm(4) (jcs@) ~ man4/acpi.4 > reference dwiic here too (jcs@) ~ man4/acpi.4 > move acpimcfg to keep list sorted (jcs@) ~ man4/acpi.4 ~ man4/tpm.4 > tpm tweaks; (jmc@) ~ man4/man4.octeon/cnmac.4 > Mention jumbo frames. (visa@) ~ man5/resolv.conf.5 > * Properly distinguish commands (.Ic) and command modifiers (.Cm). > * Consistently use .Nm for the page name, do not oscillate to .Pa. > (schwarze@) - man4/man4.armv7/a1xintc.4 ~ man4/man4.armv7/Makefile + man4/man4.armv7/sxiintc.4 > a1xintc(4) -> sxiintc(4) (kettenis@) ~ man4/man4.armv7/sunxi.4 > a1xintc -> sxiintc; (jmc@) ~ man4/man4.armv7/sunxi.4 ~ man4/man4.armv7/sxidog.4 ~ man4/man4.armv7/sxiintc.4 > adjust for fdt changes (jsg@) ~ man4/man4.armv7/vexpress.4 > virtio no longer attaches to vexpress (jsg@) ~ man4/man4.armv7/plrtc.4 ~ man4/man4.armv7/vexpress.4 > Dynamically attach plrtc(4) using the FDT. > ok kettenis@ patrick@ (jsg@) ~ man4/man4.armv7/pluart.4 ~ man4/man4.armv7/vexpress.4 > Dynamically attach pluart(4) using the FDT. > ok kettenis@ patrick@ (jsg@) ~ man4/man4.armv7/intc.4 ~ man4/man4.armv7/omap.4 > Dynamically attach intc(4) using the FDT and switch omap/am335x > drivers that use the FDT over to the FDT interrupt establish API. > ok kettenis@ (jsg@) == sys =============================================================== 09/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/alpha/alpha ~ mem.c > bring the light of ansi to a few more files (tedu@) arch/amd64/amd64 ~ nvram.c > don't complain about invalid checksum if the bios isn't writing it > properly, the user isn't going to do anything about it (jcs@) arch/amd64/conf ~ GENERIC > add a minimal TPM 1.2 driver just to issue a "save state" command > before suspending, in order to fix suspend/resume on some newer > machines. > more cleanup and TPM 2.0 support coming later. > earlier version ok pirofti > ok deraadt (jcs@) arch/amd64/isa ~ clock.c > not having a century is a known layout by now (jcs@) arch/arm/arm ~ cpufunc.c > Instead of testing MIDR values for every model of Cortex processor check > MMFR0 for an ARMv7 VMSA MMU that can handle short descriptors when > setting ARMv7 function pointers. ARMv8 in AArch32 mode is documented to > set the same bits. > ok patrick@ (jsg@) ~ cpu.c > Recognise Cortex A35 and Cortex A73. (jsg@) ~ conf.c ~ vm_machdep.c > Use ansi style function declarations. No binary change. > From Robert Tate. (jsg@) ~ pmap7.c > According to te armv7 ARM TLB entries that caused a Permission fault might > be held in the TLB. On top of that valid page table entries might be > speculatively loaded into the TLB. As a result we need to flush TLB > entries > even when the page in question has not been referenced. > Fixes pmap_fault_fixup messages on Cortex-A53, and presumably also on > Cortex-A7. > ok patrick@, guenther@ (kettenis@) ~ pmap7.c > Remove devmap stuff which is unused on armv7. > ok patrick@ (kettenis@) ~ mem.c > bring the light of ansi to a few more files (tedu@) ~ cpufunc.c ~ cpufunc_asm_armv7.S > The ARMv7 architecture deprecates the separate Instruction and Data TLB > maintanenance instruction and recommends to only use the instructions that > operate on the unified TLB. Those instructions will flush both TLBs on > implementations that still have separate Instruction and Data TLBs. Switch > the TLB maintenance primitives over to use those. This allows us to reduce > the number of primitives on armv7. We still keep separate "ID" and "D" > variants as we still have to flush the branch predictor when changing the > mappings of pages that contain instructions. > ok jsg@ (kettenis@) ~ pmap7.c > Simplify the way we handle TLB flushes. Since ARMv7 effectively has a > unified TLB there is not much point in optimizing TLB flushing for pages > that have never been executable. The only difference is a flush of the > branch predictor and even that isn't necessary anymore on all but the > oldest > Cortex cores. > ok patrick@ (kettenis@) ~ cpufunc_asm_armv7.S > Replace inappropriate use of CP15_CNTPCT with CP_DCCIMVAC. > No binary change. (kettenis@) ~ cpufunc_asm_armv7.S ~ pmap7.c > Put page tables in normal cachable memory on armv7. Check if the MMU walks > the page tables coherently and also skip flushing modified ptes out of the > cache in that case. Speeds up building a kernel with a factor of two on > Cortex-A9 (tested by me) and Cortex-A8 (tested by mglocker@). > ok patrick@ (kettenis@) arch/arm/conf ~ files.arm > Build ofw_pinctrl.o and ofw_gpio.o on armv7. The latters here from the > generic arm files list. There is no point in building it on armish or > zaurus. > ok patrick@ (kettenis@) arch/arm/cortex ~ ampintc.c ~ files.cortex > Dynamically attach ampintc(4) and make it register itself as an interrupt > controller. Switch all i.MX6 devices over to the new FDT-aware interrupt > establish API and enable imxgpc(4). > This may break other platforms that use ampintc(4) as their interrupt > controller. We will fix this as soon as possible by switching them over > to the new interrupt establish API as well. > This also removes the hack in fec(4) to avoid the gpio-based interrupt > workaround. This commit is an essential step on the road to fix that > issue properly. > ok patrick@, jsg@ (kettenis@) ~ agtimer.c > Unmask the timer output signal for real. > ok patrick@, jsg@ (kettenis@) ~ ampintc.c > Rework ampintc's interrupt disestablish code to make it actually do > its job. Recalculate the mask after the handler is taken from the > list to properly set the new prioritization. > ok kettenis@ (patrick@) ~ ampintc.c > Extend the interrupt controller API with a disestablish functionality. > This will be helpful for interrupt combiner that need to re-establish > their main interrupt when their interrupt priorities change. > ok kettenis@ (patrick@) ~ ampintc.c > Always allocate intrhand with M_WAITOK. > Requested by and ok kettenis@ (patrick@) arch/arm/include ~ armreg.h > Instead of testing MIDR values for every model of Cortex processor check > MMFR0 for an ARMv7 VMSA MMU that can handle short descriptors when > setting ARMv7 function pointers. ARMv8 in AArch32 mode is documented to > set the same bits. > ok patrick@ (jsg@) ~ armreg.h > Recognise Cortex A35 and Cortex A73. (jsg@) ~ armreg.h > Put page tables in normal cachable memory on armv7. Check if the MMU walks > the page tables coherently and also skip flushing modified ptes out of the > cache in that case. Speeds up building a kernel with a factor of two on > Cortex-A9 (tested by me) and Cortex-A8 (tested by mglocker@). > ok patrick@ (kettenis@) ~ setjmp.h > Add XOR cookies for lr and sp. Stop saving/restoring r12 to/from the > jmpbuf. > Switch from calling obsolete sig{block,setmask} to directly using the > sigprocmask syscall. > ok deraadt@ kettenis@ (guenther@) arch/arm/mainbus ~ mainbus.c > Add support for pre-registering interrupts. This allows device drivers to > establish interrupts before their interrupt controller attaches, solving > dependency problems in various device trees. > Also add support for handing interrupt handlers over to parent interrupt > controllers. > ok jsg@ patrick@ (on an earlier diff) (kettenis@) ~ mainbus.c > Set up the fdt attach args for devices that attach directly to mainbus > the same way as for those that attach to simplebus. > ok kettenis@ patrick@ (jsg@) arch/armv7/armv7 ~ intr.c > Implement an FDT-aware interrupt establish API. This means the drivers > don't need to know where to attach to. Instead the API will take care > of finding the correct interrupt establish for a given device node and > will call it with the correct data. > Adapted from the OFW GPIO framework. > ok kettenis@ (patrick@) ~ intr.c > Looks like patrick@ committed an older version of the diff. Fix this, and > rename a few variables and functions to be a bit more consistent with other > armv7 code. (kettenis@) ~ intr.c > Add support for pre-registering interrupts. This allows device drivers to > establish interrupts before their interrupt controller attaches, solving > dependency problems in various device trees. > Also add support for handing interrupt handlers over to parent interrupt > controllers. > ok jsg@ patrick@ (on an earlier diff) (kettenis@) ~ intr.c > Extend the interrupt controller API with a disestablish functionality. > This will be helpful for interrupt combiner that need to re-establish > their main interrupt when their interrupt priorities change. > ok kettenis@ (patrick@) ~ platform.c > Initial support for Raspberry Pi 2/3. All the hard work done by patrick@, > I > just cleaned things up a bit. Any bugs introduced in that process are > entirely mine. > This doesn't work yet. But when it does, you'll need recent firmware from > the Raspberry Pi Foundation git repository at > https://github.com/raspberrypi/firmware > The device tree for the Raspberry Pi is somewhat in flux as bits and pieces > to support the Raspberry Pi 2 and 3 are committed to the mainline Linux > kernel. (kettenis@) arch/armv7/broadcom + bcm2835_dwctwo.c + bcm2835_muart.c + bcm2836_intr.c + files.broadcom > Initial support for Raspberry Pi 2/3. All the hard work done by patrick@, > I > just cleaned things up a bit. Any bugs introduced in that process are > entirely mine. > This doesn't work yet. But when it does, you'll need recent firmware from > the Raspberry Pi Foundation git repository at > https://github.com/raspberrypi/firmware > The device tree for the Raspberry Pi is somewhat in flux as bits and pieces > to support the Raspberry Pi 2 and 3 are committed to the mainline Linux > kernel. (kettenis@) ~ bcm2836_intr.c > Use the device tree to lookup the address of the ARM control logic and > remove > some debug crap that I accidentally committed. (kettenis@) arch/armv7/conf ~ GENERIC ~ RAMDISK > Dynamically attach ampintc(4) and make it register itself as an interrupt > controller. Switch all i.MX6 devices over to the new FDT-aware interrupt > establish API and enable imxgpc(4). > This may break other platforms that use ampintc(4) as their interrupt > controller. We will fix this as soon as possible by switching them over > to the new interrupt establish API as well. > This also removes the hack in fec(4) to avoid the gpio-based interrupt > workaround. This commit is an essential step on the road to fix that > issue properly. > ok patrick@, jsg@ (kettenis@) ~ GENERIC ~ RAMDISK > Switch the sunxi platform over to the new interrupt establish API. This > involves turning sxiahci(4) into a real driver that dynamically attaches. > ehci(4) now also attaches dynamically. > ok jsg@, patrick@ (kettenis@) ~ GENERIC ~ RAMDISK > We don't want drivers with numbers in their names. > Requested by deraadt@ (kettenis@) ~ GENERIC ~ RAMDISK > Dynamically attach sxirtc(4); another board_id check bites the dust. > (kettenis@) ~ GENERIC ~ RAMDISK > Dynamically attach sxidog(4). (kettenis@) ~ GENERIC ~ RAMDISK > Dynamically attach virtio(4) using the FDT. > ok kettenis@ patrick@ (jsg@) ~ GENERIC ~ RAMDISK > Dynamically attach plrtc(4) using the FDT. > ok kettenis@ patrick@ (jsg@) ~ GENERIC ~ RAMDISK > Dynamically attach pluart(4) using the FDT. > ok kettenis@ patrick@ (jsg@) ~ GENERIC ~ RAMDISK > Disable edma(4). It isn't currently used and is getting in the way of > future changes as it establishes an interrupt but hasn't been converted > to attach with the fdt. > ok kettenis@ (jsg@) ~ GENERIC ~ RAMDISK > Dynamically attach intc(4) using the FDT and switch omap/am335x > drivers that use the FDT over to the FDT interrupt establish API. > ok kettenis@ (jsg@) ~ files.armv7 > Build ofw_pinctrl.o and ofw_gpio.o on armv7. The latters here from the > generic arm files list. There is no point in building it on armish or > zaurus. > ok patrick@ (kettenis@) ~ GENERIC ~ files.armv7 > Initial support for Raspberry Pi 2/3. All the hard work done by patrick@, > I > just cleaned things up a bit. Any bugs introduced in that process are > entirely mine. > This doesn't work yet. But when it does, you'll need recent firmware from > the Raspberry Pi Foundation git repository at > https://github.com/raspberrypi/firmware > The device tree for the Raspberry Pi is somewhat in flux as bits and pieces > to support the Raspberry Pi 2 and 3 are committed to the mainline Linux > kernel. (kettenis@) ~ RAMDISK > Add the Raspberry Pi 2/3 devices here as well. > Spotted by patrick@ (kettenis@) arch/armv7/imx ~ if_fec.c > After fixing up some of the AR8035 PHY registers, issue a reset. This > seems > to fix autonegotiation at 100BaseTX. Drop the bit of code that powers up > the PHY as the reset should already take care of that. > ok patrick@ (kettenis@) ~ files.imx + imxgpc.c > Add imxgpc(4), a driver for the i.MX6 General Power Controller (GPC) which > acts as a "transparent" interrupt controller. This driver just hands > interrupt handlers to its parent (the Cortex-A9 GIC). It doesn't implement > any powermanagement features yet. > ok patrick@ (kettenis@) ~ if_fec.c ~ imxahci.c ~ imxehci.c ~ imxesdhc.c ~ imxiic.c ~ imxuart.c > Dynamically attach ampintc(4) and make it register itself as an interrupt > controller. Switch all i.MX6 devices over to the new FDT-aware interrupt > establish API and enable imxgpc(4). > This may break other platforms that use ampintc(4) as their interrupt > controller. We will fix this as soon as possible by switching them over > to the new interrupt establish API as well. > This also removes the hack in fec(4) to avoid the gpio-based interrupt > workaround. This commit is an essential step on the road to fix that > issue properly. > ok patrick@, jsg@ (kettenis@) ~ if_fec.c > remove now unused board specific phy defines (jsg@) ~ if_fec.c ~ imxehci.c ~ imxesdhc.c ~ imxgpc.c ~ imxiic.c ~ imxiomuxc.c ~ imxiomuxcvar.h ~ imxuart.c > Switch imx over to the generic pinctrl API. > ok patrick@ (kettenis@) ~ imxgpio.c ~ imxgpiovar.h > Implement interrupt controller functionality in the i.MX6 GPIO > driver. This allows us to use to hook up the Ethernet interrupt > on the Nitrogen6x, SabreLite and WandBoard like it's described > in the device tree. > ok kettenis@ (patrick@) arch/armv7/include ~ intr.h > Implement an FDT-aware interrupt establish API. This means the drivers > don't need to know where to attach to. Instead the API will take care > of finding the correct interrupt establish for a given device node and > will call it with the correct data. > Adapted from the OFW GPIO framework. > ok kettenis@ (patrick@) ~ intr.h > Add support for pre-registering interrupts. This allows device drivers to > establish interrupts before their interrupt controller attaches, solving > dependency problems in various device trees. > Also add support for handing interrupt handlers over to parent interrupt > controllers. > ok jsg@ patrick@ (on an earlier diff) (kettenis@) ~ intr.h > Extend the interrupt controller API with a disestablish functionality. > This will be helpful for interrupt combiner that need to re-establish > their main interrupt when their interrupt priorities change. > ok kettenis@ (patrick@) arch/armv7/omap ~ files.omap ~ if_cpsw.c ~ intc.c ~ omap.c ~ omap_com.c ~ ommmc.c ~ ti_iic.c > Dynamically attach intc(4) using the FDT and switch omap/am335x > drivers that use the FDT over to the FDT interrupt establish API. > ok kettenis@ (jsg@) ~ intc.c ~ omgpio.c > Always allocate intrhand with M_WAITOK. > Requested by and ok kettenis@ (patrick@) arch/armv7/sunxi ~ a1xintc.c ~ files.sunxi ~ sunxi.c ~ sxiahci.c ~ sxie.c ~ sxiehci.c ~ sxiuart.c > Switch the sunxi platform over to the new interrupt establish API. This > involves turning sxiahci(4) into a real driver that dynamically attaches. > ehci(4) now also attaches dynamically. > ok jsg@, patrick@ (kettenis@) - a1xintc.c - a1xintc.h ~ files.sunxi + sxiintc.c + sxiintc.h > We don't want drivers with numbers in their names. > Requested by deraadt@ (kettenis@) ~ sxiehci.c > Check if we have the required "reg" property. (kettenis@) ~ files.sunxi ~ sxirtc.c > Dynamically attach sxirtc(4); another board_id check bites the dust. > (kettenis@) ~ sunxi.c > Remove sxirtc(4) from the tables now that it attaches dynamically. > (kettenis@) ~ files.sunxi ~ sunxi.c ~ sxidog.c > Dynamically attach sxidog(4). (kettenis@) ~ sxie.c > Use m_devget(4). From Artturi Alm. (kettenis@) ~ sxiintc.c > Always allocate intrhand with M_WAITOK. > Requested by and ok kettenis@ (patrick@) arch/armv7/vexpress ~ files.vexpress ~ virtio_mmio.c ~ vexpress.c > Dynamically attach virtio(4) using the FDT. > ok kettenis@ patrick@ (jsg@) ~ files.vexpress ~ vexpress.c ~ pl031.c > Dynamically attach plrtc(4) using the FDT. > ok kettenis@ patrick@ (jsg@) ~ files.vexpress ~ pl011.c ~ vexpress.c > Dynamically attach pluart(4) using the FDT. > ok kettenis@ patrick@ (jsg@) arch/hppa/dev ~ mem.c > bring the light of ansi to a few more files (tedu@) arch/m88k/m88k ~ mem.c > bring the light of ansi to a few more files (tedu@) arch/mips64/include ~ mips_cpu.h > Add PageGrain bits. (visa@) arch/mips64/mips64 ~ mem.c > bring the light of ansi to a few more files (tedu@) arch/octeon/dev ~ cn30xxgmx.c ~ if_cnmac.c ~ if_cnmacvar.h > Add support for jumbo frames. (visa@) ~ if_cnmac.c ~ if_cnmacvar.h > Drop a pointless link carrier check from the RX path. (visa@) ~ cn30xxpipreg.h ~ if_cnmac.c ~ if_cnmacvar.h > Log RX errors only when the interface's debug flag is set. > While here, remove unused PIP error code aliases. (visa@) arch/octeon/octeon ~ locore.S > Add PageGrain bits. (visa@) conf ~ newvers.sh TAGGED OPENBSD_6_0 > OPENBSD_6_0 is now -stable > ok deraadt@ (benno@) ~ files TAGGED OPENBSD_6_0 > imxahci(4) needs ahci.c (kettenis@) ~ files TAGGED OPENBSD_6_0 > Switch the sunxi platform over to the new interrupt establish API. This > involves turning sxiahci(4) into a real driver that dynamically attaches. > ehci(4) now also attaches dynamically. > ok jsg@, patrick@ (kettenis@) dev/acpi ~ files.acpi + tpm.c > add a minimal TPM 1.2 driver just to issue a "save state" command > before suspending, in order to fix suspend/resume on some newer > machines. > more cleanup and TPM 2.0 support coming later. > earlier version ok pirofti > ok deraadt (jcs@) dev/ofw + ofw_pinctrl.c + ofw_pinctrl.h > Add a generic pinctrl "framework". > ok patrick@ (kettenis@) dev/pci ~ pcidevs > Add Xeon E3-1200 v5 host bridge and some more Sunrise Point H PCH ids. > (jsg@) ~ pcidevs.h ~ pcidevs_data.h > regen (jsg@) ~ if_iwm.c > Make iwm(4) automagically recover from fatal firmware errors by leaving the > interface marked UP and scheduling the init task. Matches iwn(4) behaviour. > (stsp@) dev/pv ~ if_xnf.c > Mark shared producer and consumer indices volatile (mikeb@) ~ xen.c > Don't forget to destroy the taskqueue on interrupt disestablish (mikeb@) ~ xen.c ~ xenreg.h ~ xenvar.h > Use an atomic operation to clear pending event bits > Pending event bits are located in a shared memory and are potentially > accessed by multiple CPUs running dom0 and the guest VM. It appears > that a failure to synchronize changes to this shared memory leads to > race conditions resulting in the guest missing out on notifications. > (mikeb@) ~ if_xnf.c > Remove the periodic timer and do rescheduling during Rx completion > This change adds a check into the Rx ring completion routine that > schedules an interrupt task to be executed immediately after if > consumer index has already advanced itself. The benefit of doing > this compared to an additional loop after replenishing the ring > (as done in FreeBSD for example) is that first of all this goes > through the loop in the taskqueue thread with a yeild check to > prevent CPU hogging and second is that it triggers Tx completion > as well since interrupt handler runs both. (mikeb@) ~ xen.c ~ xenvar.h > Use atomic operations to manipulate event masking bits (mikeb@) ~ hyperv.c > Fixup the condition that prevented heartbeat & co. from attaching (mikeb@) ~ if_hvn.c > Trigger link state update only on media status updates (mikeb@) ~ hyperv.c > Remove incorrect optimization: ring data portion size is not power of 2 > (mikeb@) ~ hyperv.c > Read events array offset must be calculated in bytes (mikeb@) ~ hyperv.c > Fixup incorrect EAGAIN handling (mikeb@) ~ hyperv.c > Switch pending event clearing to an atomic swap operation > Rather than performing an atomic bit clearing for every encountered > event bit set we can adjust the code to perform an atomic swap of a > single row of the events array and decrease the amount of expensive > atomic operations. > From FreeBSD. (mikeb@) ~ xen.c > Switch pending event clearing to an atomic swap operation > Rather than performing an atomic bit clearing for every encountered > event bit set we can adjust the code to perform an atomic swap of a > single row of the events array and decrease the amount of expensive > atomic operations. > Same optimization as for Hyper-V. From FreeBSD. (mikeb@) dev/usb ~ if_smsc.c > Use m_devget(9). > ok claudio@ (kettenis@) ~ umass_scsi.c > Set SDEV_UMASS on all umass devices, even when they use ATAPI or > UFI command sets. Probe all the LUNs a device reports instead of > assuming ATAPI and UFI devices always have 1 LUN. > Motivated by the device David Vasek reported as claiming to be > ATAPI but wanting to use >1 LUN. Committing quickly to smoke out > the inevitable device that works in the exact opposite way. All > hail USB. > ok kettenis@ (krw@) ~ umass.c ~ umass_scsi.c ~ umass_scsi.h > Fold umass_atapi_attach() and umass_scsi_setup() into umass_scsi_attach() > to > shorten and simplify code. > No intentional functional change. (krw@) ~ if_ure.c ~ if_urereg.h > add $OpenBSD$ tags (jmatthew@) net ~ if_vxlan.c > Fix multicast mode (destination is a multicast IP): the BCAST and > MCAST flags have to be cleared from the mbuf after decapsulating > packets. This fixes tunneled broadcast packets, eg. ARP. It used to > work before the input path was changed the flags got cleared later in > the stack. > OK yasuoka@ (reyk@) ~ if_vxlan.c ~ if_vxlan.h > Add support for IPv6 tunnel endpoints. This currently only works for > unicast mode, multicast is not yet supported. > ifconfig vxlan0 tunnel fd00::1 fd00::2 > Roughly based on an earlier diff by goda@ > OK yasuoka@ (reyk@) ~ if_vxlan.c ~ if_vxlan.h > Define VXLAN_VNI_UNSET and VXLAN_VNI_MAX instead of using magic numbers. > No functional change. (reyk@) ~ if_vxlan.c > whitespace (reyk@) netinet ~ in_pcb.c ~ in_pcb.h ~ udp_usrreq.c > Commit in6_selectsrc() split again, with missing assignment fixed. > (vgross@) netinet6 ~ icmp6.c ~ in6_pcb.c ~ in6_src.c ~ ip6_var.h ~ nd6_nbr.c ~ raw_ip6.c ~ udp6_output.c > Commit in6_selectsrc() split again, with missing assignment fixed. > (vgross@) uvm ~ uvm_map.c TAGGED OPENBSD_5_8 > backport overflow checks from 1.218 and 1.219: > add a check that the arguments to isavail don't overflow. > callers should probably check too, but checking here won't hurt. > possible panic reported by tim newsham. > Check for wraparound before the "commit" phase of uvm_map() and > uvm_mapanon(), > to prevent hitting assertions and/or corrupting data structures during that > phase. (tedu@) ~ uvm_map.c TAGGED OPENBSD_5_9 > backport overflow checks from 1.218 and 1.219: > add a check that the arguments to isavail don't overflow. > callers should probably check too, but checking here won't hurt. > possible panic reported by tim newsham. > Check for wraparound before the "commit" phase of uvm_map() and > uvm_mapanon(), > to prevent hitting assertions and/or corrupting data structures during that > phase. (tedu@) ~ uvm_map.c TAGGED OPENBSD_6_0 > backport overflow checks from 1.218 and 1.219: > add a check that the arguments to isavail don't overflow. > callers should probably check too, but checking here won't hurt. > possible panic reported by tim newsham. > Check for wraparound before the "commit" phase of uvm_map() and > uvm_mapanon(), > to prevent hitting assertions and/or corrupting data structures during that > phase. (tedu@) == usr.bin =========================================================== 10/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin infocmp ~ infocmp.c > strnames[i][0] == 'k' && strnames[i][0] == 'f' should be > strnames[i][0] == 'k' && strnames[i][1] == 'f'. > Spotted by the Echelon team with AppChecker static analyzer. > millert@ naddy@ and ncurses 6.0 all agree. (krw@) jot ~ jot.c > Initialize reps, begin, end, steps to their defaults. > Makes jot - - - - behave the same way as jot -, jot - - and jot - - - > instead of spurting out zeroes indefinitely. > Fixes the dddd regression test and matches FreeBSD and NetBSD. > From attila () stalphonsos ! com, thanks! > 'good direction' deraadt (tb@) ~ jot.c > If "%%" appears in the format string, skip it properly. > Part of pjanzen's fixes in r1.8, but was lost in r1.17. > Fixes regression tests wp3, wp4, wp5. > 'good direction' deraadt (tb@) ~ jot.c > If reps and steps were omitted, while begin and end were specified, > use a default step size of +1 or -1. Fixes the last two failing > regression tests dhhd and dhhd2. Adapted from FreeBSD. > 'good direction' deraadt (tb@) ~ jot.1 > All four arguments can be omitted by specifying a dash. > While there, remove a superfluous 's'. > discussed with jmc (tb@) libtool ~ LT/Mode/Link.pm > Ignore the -bindir option, meaningless on OpenBSD. > Lack of -bindir handling is not a problem right now because -bindir is > passed to cc(1) which ignores it, and because read(2) on /usr/local/bin > returns 0 right now, so ld(1) copes with it. But there are plans to > make read(2) fail with EISDIR. > Input from and bulk builds thanks to ajacoutot@, ok ajacoutot@ espie@ > (jca@) mandoc ~ cgi.c > Some base system pages, for example perl(1), contain non-ASCII > characters in their source code, so switch on charset autodetection > in the same way as in man(1) itself. > Issue reported by Pavan Maddamsetti at gmail dot com on bugs@. (schwarze@) - mansearch_const.c ~ Makefile ~ main.c ~ mandocdb.c ~ mansearch.c ~ mansearch.h + dba.c + dba.h + dba_array.c + dba_array.h + dba_read.c + dba_write.c + dba_write.h + dbm.c + dbm.h + dbm_map.c + dbm_map.h > Remove the dependency on SQLite without loss of functionality. > Drop the obsolete names_check() now that we deleted MLINKS. > Run "doas makewhatis" after compiling and installing this. > Earlier version tested by jmc@ and jturner@; > "commit it all" deraadt@ "commit and dodge" krw@ (schwarze@) ~ mandocdb.c > Repair makewhatis -t, sorry for breaking it in the previous commit. > Committing this quickly because it hurts package builders. > Regression reported by naddy@. (schwarze@) ~ dba_read.c > Fix an assertion failure that happened when trying to add a page > with makewhatis -d to a completely empty database. > Reported by Mark Patruck <mark at wrapped dot cx>, thanks! (schwarze@) ~ mandocdb.c > fix a typo that prevented names from .Dt from getting priority over > names from .Sh NAME; no dire consequences on OpenBSD since we no > longer have MLINKS for mdoc(7) pages (schwarze@) ~ dba.c > missing <endian.h> reported by Bapt@iste Daroussin, found on FreeBSD > (schwarze@) openssl ~ openssl.1 > shorten the openssl dgst text; in particular, do not try to > list all the available digests; (jmc@) ~ openssl.1 > shorten the openssl dhparam text; > guenther helped rewrite the -dsaparam parts. (jmc@) ~ openssl.1 > shorten the openssl dsa text; (jmc@) pkg-config ~ pkg-config > Update online manual path to man.openbsd.org. > ok espie (tb@) rusers ~ rusers.c > Switch from select(2) to poll(2); ok millert@ > No need to check for POLLHUP since those are UDP sockets. (jca@) ssh ~ sshd.c > Fix bug introduced in rev 1.467 which causes "buffer_get_bignum_ret: > incomplete message" errors when built with WITH_SSH1 and run such that no > Protocol 1 ephemeral host key is generated (eg "Protocol 2", no SSH1 host > key supplied). Reported by rainer.laatsch at t-online.de, ok deraadt@ > (dtucker@) ~ cipher-chachapoly.c ~ cipher.c ~ cipher.h ~ packet.c ~ sshkey.c > small refactor of cipher.c: make ciphercontext opaque to callers > feedback and ok markus@ (djm@) tmux ~ layout-custom.c ~ layout-set.c ~ layout.c ~ tmux.h > Fix minimum size when pane status line is enabled, reported by Y Petremann. > (nicm@) ~ tmux.1 > We only replace the first %%, not multiple (use %2 for second). (nicm@) units ~ units.lib > update currency exchange rates; (jmc@) vi ~ common/exf.c ~ common/options.c ~ docs/USD.doc/vi.man/vi.1 ~ docs/USD.doc/vi.ref/set.opt.roff ~ ex/ex_filter.c ~ include/options_def.h > Remove vi's "directory" option and TMPDIR support. > ok jung@ (bentley@) wall ~ wall.c > Allow a bel character in wall. This was missed when migrating away from > vis(3). This brings the allowed characters on par with write(1). > Noticed by consus <at> gmx <dot> com > OK millert@ (martijn@) == usr.sbin ========================================================== 11/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin dhcpd ~ dhcp.c ~ dhcpd.h ~ options.c > Don't leak the option data of non-DHCPINFORM messages received on > the udp socket. > Found by David Carlier. > ok yasuoka@ (krw@) hotplugd ~ hotplugd.c > Close /dev/hotplug on exec(). Otherwise a restart of the daemon may > fail, because the device is occupied by a child process. > from Alexey Vatchenko > ok jca (natano@) httpd ~ http.h > sync http.h with relayd > ok reyk@ (benno@) map-mbone ~ mapper.c > Apply fix from mrouted 3.8 via NetBSD. Our mbone support may > be slightly dated. > Spotted by the Echelon team with AppChecker static analyzer. (krw@) mtrace ~ mtrace.c > Apply fix from David Binderman via NetBSD. "Use all 3 of b, p, n > to determine if route changed". > Spotted by the Echelon team with AppChecker static analyzer. > NetBSD fix pointed out by millert@ (krw@) ~ mtrace.c > Apply a warning fix from lukem@NetBSD circa 1997 (more '()'), and > one from he@NetBSD circa 1998 (more '{}'). > Makes gcc happier. (krw@) ndp ~ ndp.c > Duplicated decls (jca@) ~ ndp.c > Turn two global variables into variables local to main. (jca@) ~ ndp.c > Rename the route socket to a more useful name. > Avoid a bunch of "warning: declaration of 's' shadows a global > declaration" while here. (jca@) ~ ndp.c > Ensure that "lim" is initialized and reset at each loop run. > Avoids possible invalid memory accesses. ok florian@ (jca@) ~ ndp.c > Kill an unused macro > ...instead of leaving an XXX about it. (jca@) ~ ndp.c > Using a macro to save 4 chars is mere obfuscation. (jca@) rebound ~ rebound.c > reset timeout to null when relooping (tedu@) relayd ~ http.h ~ relay_http.c > rfc 7230 3.3.3 says: response with a status code of 1xx > (Informational) or 204 (No Content) MUST not have a Content-Length. > Add a check for that. > ok reyk@ (benno@) ~ relay_http.c > whitespace and 80 columns, no binary change (benno@) ~ relay_http.c ~ relayd.c ~ relayd.h TAGGED OPENBSD_6_0 > Improve parsing of the Host-header by following RFC 7230 Section 5.4 more > strictly. MFC relay_http.c v 1.57, relayd.c v 1.154, relayd.h v 1.224 > (benno@) ~ relay_http.c ~ relayd.c ~ relayd.h TAGGED OPENBSD_5_9 > Improve parsing of the Host-header by following RFC 7230 Section 5.4 more > strictly. MFC relay_http.c v 1.57, relayd.c v 1.154, relayd.h v 1.224 > (benno@) ~ relay_http.c ~ relayd.c ~ relayd.h TAGGED OPENBSD_5_8 > Improve parsing of the Host-header by following RFC 7230 Section 5.4 more > strictly. MFC relay_http.c v 1.57, relayd.c v 1.154, relayd.h v 1.224 > (benno@) ripctl ~ ripctl.c > Allow specifying an alternate socket path. > This allows one to run multiple ripd instances, for example to serve > multiple rdomains. Diff from Nima GHOTBI, ok claudio@ florian@ benno@ > (jca@) ripd ~ control.c ~ control.h ~ ripd.c ~ ripd.h ~ ripe.c > Allow specifying an alternate socket path. > This allows one to run multiple ripd instances, for example to serve > multiple rdomains. Diff from Nima GHOTBI, ok claudio@ florian@ benno@ > (jca@) route6d ~ Makefile ~ route6d.8 ~ route6d.c + log.c + log.h > Rework logging. > Use log.c like in many other daemons, with small additions to maintain > a log queue (useful to dump a single log line with several logging > statements). Use log.c to dump the internal state, and remove the -R > option (a similar feature will be implemented differently soon). > The end goal is to avoid touching the filesystem and use much tighter > pledge(2) restrictions. > Tested by Freddy Dissaux. (jca@) ~ route6d.c > Use tighter pledge(2) restrictions. > Made possible by the logging overhaul. Tested by Freddy Dissaux. (jca@) ~ route6d.8 ~ route6d.c > Add a -u switch to always log route insertions/deletions. > Route updates (and associated warnings) are always prefixed with "RTADD" > or "RTDEL". This is useful for people that previously used the -R > option that got removed. > Tested by Freddy Dissaux. (jca@) rtadvd - timer.c - timer.h ~ Makefile ~ config.c ~ dump.c ~ if.c ~ rtadvd.c ~ rtadvd.h > Move to libevent; ok florian@ (jca@) vmd ~ vmm.c > Do not pass VM name directly to setproctitle format string. > Use a secure idiom instead. > ok mlarkin@ (stefan@) =============================================================================== _______________________________________________ owc mailing list [email protected] http://www.squish.net/mailman/listinfo/owc
