FreeNAS/freenas f045a8bnet/samba43 Makefile pkg-plist

Merge remote-tracking branch 'origin/FIX-17145' into 9.10-STABLE

DragonFlyBSD/dports 34d0790tesseract Makefile

Bump graphics/tesseract to version 3.04.01_2
DeltaFile
+1-1tesseract/Makefile
+1-11 files

LLVM/llvm 282983llvm/trunk/lib/Fuzzer FuzzerLoop.cpp FuzzerInternal.h

[libFuzzer] remove some experimental code

DragonFlyBSD/dports 3ac7fb7rubygem-rails4 Makefile distinfo

Update www/rubygem-rails4 to version 4.2.7.1

LLVM/llvm 282982llvm/trunk/tools/llvm-objdump COFFDump.cpp

[llvm-objdump] Switch to a range loop. NFCI.

FreeBSD/src 306538head/lib/libstand cd9660.c

cstyle fix of cd9660_open in libstand

rS306534 did create bad cstyle by my mistake, correcting it.

Reviewed by:    allanjude
Approved by:    allanjude (mentor)
Differential Revision:  https://reviews.freebsd.org/D8103

LLVM/llvm 282981cfe/trunk/include/clang/Basic DiagnosticSemaKinds.td, cfe/trunk/lib/Sema SemaDeclCXX.cpp

Fix bogus "inline namespace cannot be reopened as non-inline" diagnostic to
just warn that the second declaration is missing the 'inline' keyword. This is
valid, and we shouldn't be suggesting otherwise.

LLVM/llvm 282980cfe/trunk/lib/CodeGen ItaniumCXXABI.cpp, cfe/trunk/test/CodeGenCXX windows-itanium-type-info.cpp

CodeGen: inherit DLLExport attribute in Windows Itanium

When emitting the fundamental type information constants, inherit the
DLLExportAttr from `__fundamental_type_info`.  We would previously not
honor the `__declspec(dllexport)` on the type information.

LLVM/llvm 282979llvm/trunk/lib/CodeGen ScheduleDAGInstrs.cpp

ScheduleDAGInstrs: Cleanup, use range based for; NFC

DragonFlyBSD/dports a6258b5licq Makefile

Tweak net-im/licq version 1.8.2_2
DeltaFile
+3-2licq/Makefile
+3-21 files

DragonFlyBSD/dports 3ec3032efl pkg-plist Makefile

Update devel/efl to version 1.18.1
DeltaFile
+2,435-289efl/pkg-plist
+29-16efl/Makefile
+3-2efl/distinfo
+1-1efl/pkg-descr
+2,468-3084 files

DragonFlyBSD/dports 239a857libvisio01 Makefile

Update textproc/libvisio01 to version 0.1.5_3

ZFS on Linux/src 0ca5261icp/core kcf_mech_tabs.c

Fix NULL deref in kcf_remove_mech_provider

In the default case the function must return to avoid dereferencing
'prov_mech' which will be NULL.

Reviewed-by: Tom Caputi <tcaputi at datto.com>
Reviewed-by: Richard Laager <rlaager at wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: candychencan <chen.can2 at zte.com.cn>
Closes #5134 

DragonFlyBSD/dports 2029331libmateweather Makefile, libmateweather/files patch-libmateweather_weather-metar.c patch-libmateweather_weather-iwin.c

Update net/libmateweather to version 1.12.1_1

LLVM/llvm 282978lnt/trunk/lnt/tests test_suite.py

Fix Jenkins parse error caused by missing quotes

LLVM/llvm 282977lnt/trunk/tests/runtest test_suite.py

Fix broken test

FreeBSD/src 306537head/lib/libc/sys open.2

open.2: Document Capsicum behavior

Document open(2) and openat(2) behavior in Capsicum capability mode.

Reviewed by:    ed (previous version), emaste, rwatson (previous version),
               wblock
Sponsored by:   Dell EMC Isilon
Differential Revision:  https://reviews.freebsd.org/D7947

DragonFlyBSD/dports 36a5733libe-book Makefile

Bump textproc/libe-book to version 0.1.2_5
DeltaFile
+1-1libe-book/Makefile
+1-11 files

ZFS on Linux/src 0a8f18flibzfs libzfs_dataset.c, zfs dsl_dataset.c

Fix coverity defects: CID 147563, 147560

coverity scan CID:147563, Type:dereference null return value
coverity scan CID:147560, Type:dereference null return value

Reviewed-by: Richard Laager <rlaager at wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: cao.xuewen <cao.xuewen at zte.com.cn>
Closes #5168 

LLVM/llvm 282976lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_during_step TestCreateDuringStep.py

Fix up the test so it gets closer to passing.

Remove the test for thread stopped states from this test.  
That isn't set properly now, and its setting doesn't matter till we actually support 
non-stop debugging, so
we shouldn't have unrelated tests failing from it.

Also changed some code that was trying and failing to grub command line output, and 
replaced
it by SB API calls.

FreeBSD/ports 423027head/games/tomatoes Makefile

- Switch to upstream versioning scheme (this is not really an update)
- Add LICENSE
- Add missing glu dependency
- Install documentation
- Cosmetic fixes

LLVM/llvm 282975test-suite/trunk/cmake/caches ReleaseNoLTO.cmake

Important to test O3 without lto.

DragonFlyBSD/dports fcfe536libass distinfo pkg-plist

Update multimedia/libass to version 0.13.3

Linux/linux dbd8805. filemap.c workingset.c, linux property.h swap.h

Merge branch 'akpm' (patches from Andrew)

Merge more fixes from Andrew Morton:
 "Three fixes"

* emailed patches from Andrew Morton <akpm at linux-foundation.org>:
  include/linux/property.h: fix typo/compile error
  ocfs2: fix deadlock on mmapped page in ocfs2_write_begin_nolock()
  mm: workingset: fix crash in shadow node shrinker caused by replace_page_cache_page()

DragonFlyBSD/dports b011be6libcdr01 Makefile

Update graphics/libcdr01 to version 0.1.3_1
DeltaFile
+2-1libcdr01/Makefile
+2-11 files

ZFS on Linux/src 470f12dlibshare nfs.c, libzpool kernel.c

Fix coverity defects: CID 147531 147532 147533 147535

coverity scan CID:147531,type: Argument cannot be negative
- may copy data with negative size
coverity scan CID:147532,type: resource leaks
- may close a fd which is negative
coverity scan CID:147533,type: resource leaks
- may call pwrite64 with a negative size
coverity scan CID:147535,type: resource leaks
- may call fdopen with a negative fd

Reviewed-by: Richard Laager <rlaager at wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: GeLiXin <ge.lixin at zte.com.cn>
Closes #5176 

DragonFlyBSD/dports 666077cfarsight2 Makefile

Tweak net-im/farsight2 version 0.0.31_3
DeltaFile
+1-1farsight2/Makefile
+1-11 files

NetBSD/pkgsrc J3KMgJenet/nanomsgxx distinfo, net/nanomsgxx/patches patch-tests_wscript

   Fix build with waf-1.9.x.

DragonFlyBSD/dports d89fc88ffmpeg0 Makefile

Bump multimedia/ffmpeg0 to version 0.7.17_4,1
DeltaFile
+1-1ffmpeg0/Makefile
+1-11 files

LLVM/llvm 282974cfe/trunk/include/clang/Driver Options.td, cfe/trunk/lib/Basic TargetInfo.cpp

P0035R4: add predefined __STDCPP_DEFAULT_NEW_ALIGNMENT__ macro. By default, we
assume that ::operator new provides no more alignment than is necessary for any
primitive type, except when we're on a GNU OS, where glibc's malloc guarantees
to provide 64-bit alignment on 32-bit systems and 128-bit alignment on 64-bit
systems. This can be controlled by the command-line -fnew-alignment flag.

FreeBSD/src 306536stable/10/sys/contrib/dev/acpica changes.txt, stable/10/sys/contrib/dev/acpica/compiler dttable.c aslrules.y

MFC:    r284583, r285797, r285799, r287168, r298714, r298720, r298838,
        r300879

Merge ACPICA up to 20160527.

Requested by:   mav

ZFS on Linux/src ed3ea30zed zed_exec.c, zfs-tests/cmd/dir_rd_update dir_rd_update.c

Fix coverity defects: CID 147536, 147537, 147538

coverity scan CID:147536, type: Argument cannot be negative
- may write or close fd which is negative
coverity scan CID:147537, type: Argument cannot be negative
- may call dup2 with a negative fd
coverity scan CID:147538, type: Argument cannot be negative
- may read or fchown with a negative fd

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: GeLiXin <ge.lixin at zte.com.cn>
Closes #5185 

DragonFlyBSD/dports ba402aegmsh pkg-plist Makefile, gmsh/files patch-Fltk-Main.cpp patch-Fltk_Main.cpp

Update cad/gmsh to version 2.13.2

LLVM/llvm 282973cfe/trunk/include/clang/Basic DiagnosticSemaKinds.td, cfe/trunk/lib/Sema SemaCoroutine.cpp

[coroutines] Diagnose when 'main' is declared as a coroutine.

Summary: The title says it all.

Reviewers: rsmith, GorNishanov

Subscribers: mehdi_amini, cfe-commits

Differential Revision: https://reviews.llvm.org/D25078

LLVM/llvm 282972llvm/trunk/lib/Fuzzer/fuzzer-test-suite/openssl-1.0.1f build.sh, llvm/trunk/lib/Fuzzer/fuzzer-test-suite/openssl-1.0.2d build.sh

[libFuzzer] fix openssl fuzzer tests when running on a machine w/o openssl installed

DragonFlyBSD/dports 868662blibfreehand Makefile

Bump graphics/libfreehand to version 0.1.1_3

DragonFlyBSD/dports 5f9e0b7libdbusmenu-qt pkg-plist Makefile

Update devel/libdbusmenu-qt to version 0.9.3.160420160218_1

LLVM/llvm 282971llvm/trunk/lib/Fuzzer FuzzerLoop.cpp FuzzerFlags.def, llvm/trunk/lib/Fuzzer/test fuzzer-prunecorpus.test CustomCrossOverTest.cpp

[libFuzzer] remove unused option

FreeBSD/src 306535stable 11, stable/11/share/man/man9 device_quiet.9

MFC 305751: Make device_quiet() an attachment property.

In particular, reset the DF_QUIET flag when detaching from a device so
that a driver that marks a device quiet doesn't dictate policy for a
different driver that may claim the device in the future.

Sponsored by:   Chelsio Communications

FreeBSD/src 306534head/lib/libstand cd9660.c

cd9660_open should check for padding

The libstand cd9660 reader code must check for extents having padding.

Reviewed by:    jhb
Approved by:    allanjude (mentor)
Differential Revision:  https://reviews.freebsd.org/D8101

DragonFlyBSD/dports 4ff4792libftdi1 Makefile

Tweak devel/libftdi1 version 1.1
DeltaFile
+3-2libftdi1/Makefile
+3-21 files

Linux/linux 37aa727linux property.h

include/linux/property.h: fix typo/compile error

This fixes commit d76eebfa175e ("include/linux/property.h: fix build
issues with gcc-4.4.4").

With that commit we get the following compile error when using the
PROPERTY_ENTRY_INTEGER_ARRAY macro.

 include/linux/property.h:201:39: error: `u32_data' undeclared (first
                 use in this function)
  PROPERTY_ENTRY_INTEGER_ARRAY(_name_, u32, _val_)
                                       ^
 include/linux/property.h:193:17: note: in definition of macro
                 `PROPERTY_ENTRY_INTEGER_ARRAY'
  { .pointer = { _type_##_data = _val_ } },  \
                 ^

This needs a '.' to reference the union member.  It seems this was just
overlooked here since it is done correctly in similar constructs in
other parts of the original commit.

This fix is in preparation of upcoming commits that will use this macro.

Fixes: commit d76eebfa175e ("include/linux/property.h: fix build issues with gcc-4.4.4")
Link: 

    [5 lines not shown]
DeltaFile
+1-1linux/property.h
+1-11 files

Linux/linux c33f078ocfs2 aops.c

ocfs2: fix deadlock on mmapped page in ocfs2_write_begin_nolock()

The testcase "mmaptruncate" of ocfs2-test deadlocks occasionally.

In this testcase, we create a 2*CLUSTER_SIZE file and mmap() on it;
there are 2 process repeatedly performing the following operations
respectively: one is doing memset(mmaped_addr + 2*CLUSTER_SIZE - 1, 'a',
1), while the another is playing ftruncate(fd, 2*CLUSTER_SIZE) and then
ftruncate(fd, CLUSTER_SIZE) again and again.

This is the backtrace when the deadlock happens:

   __wait_on_bit_lock+0x50/0xa0
   __lock_page+0xb7/0xc0
   ocfs2_write_begin_nolock+0x163f/0x1790 [ocfs2]
   ocfs2_page_mkwrite+0x1c7/0x2a0 [ocfs2]
   do_page_mkwrite+0x66/0xc0
   handle_mm_fault+0x685/0x1350
   __do_page_fault+0x1d8/0x4d0
   trace_do_page_fault+0x37/0xf0
   do_async_page_fault+0x19/0x70
   async_page_fault+0x28/0x30

In ocfs2_write_begin_nolock(), we first grab the pages and then allocate
disk space for this write; ocfs2_try_to_free_truncate_log() will be

    [29 lines not shown]
DeltaFile
+10-0ocfs2/aops.c
+10-01 files

Linux/linux 22f2ac5. filemap.c workingset.c, linux swap.h

mm: workingset: fix crash in shadow node shrinker caused by replace_page_cache_page()

Antonio reports the following crash when using fuse under memory pressure:

  kernel BUG at /build/linux-a2WvEb/linux-4.4.0/mm/workingset.c:346!
  invalid opcode: 0000 [#1] SMP
  Modules linked in: all of them
  CPU: 2 PID: 63 Comm: kswapd0 Not tainted 4.4.0-36-generic #55-Ubuntu
  Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 3904 04/27/2013
  task: ffff88040cae6040 ti: ffff880407488000 task.ti: ffff880407488000
  RIP: shadow_lru_isolate+0x181/0x190
  Call Trace:
    __list_lru_walk_one.isra.3+0x8f/0x130
    list_lru_walk_one+0x23/0x30
    scan_shadow_nodes+0x34/0x50
    shrink_slab.part.40+0x1ed/0x3d0
    shrink_zone+0x2ca/0x2e0
    kswapd+0x51e/0x990
    kthread+0xd8/0xf0
    ret_from_fork+0x3f/0x70

which corresponds to the following sanity check in the shadow node
tracking:

  BUG_ON(node->count & RADIX_TREE_COUNT_MASK);

    [30 lines not shown]
DeltaFile
+57-57filemap.c
+4-6workingset.c
+2-0linux/swap.h
+63-633 files

DragonFlyBSD/dports 13eb33bdoxygen distinfo Makefile, doxygen/files patch-md5-dot

Update devel/doxygen to version 1.8.12,2

LLVM/llvm 282970lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/create_during_step TestCreateDuringStep.py

Add the radar on our end to the bugreport string.

OpenBSD/src 7ohKvgQregress/usr.bin/cvs test_opencvs_import_01_seed1.txt,v

   The opencvs test checks the RCS id of the file I have just commited.
   So the test broke with my commit.  Change the expected result and
   hope that this commit will not break it again.

LLVM/llvm 282969lldb/trunk/packages/Python/lldbsuite/test/functionalities/completion TestCompletion.py

Add the radar from our end to the bugreport string.

DragonFlyBSD/dports 6220a2dquazip pkg-plist Makefile, quazip/files patch-quazip_CMakeLists.txt patch-qztest_qztest.pro

Update archivers/quazip to version 0.7.2_1

ZFS on Linux/src 292d573raidz_test raidz_test.c raidz_test.h

raidz_test: respect wall time

When timeout is specified (-t), stop worker threads in the middle of work units.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Gvozden Neskovic <neskovic at gmail.com>
Issue #5180 
Closes #5190