[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Wed Oct 16 15:42:08 UTC 2019


The branch, master has been updated
       via  d023b29876d selftest: Disable RTLD_DEEPBIND if running with ASAN
      from  f0abf62adcf s3:tests: Add smbspool test for CUPS-like "sanitized" Device URI in argv[0]

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d023b29876dc1449014c3cf5d19abb6f186e166c
Author: Gary Lockyer <gary at catalyst.net.nz>
Date:   Tue May 21 08:49:08 2019 +1200

    selftest: Disable RTLD_DEEPBIND if running with ASAN
    
    Disable the RTLD_DEEPBIND option for dlopen in LDB and Socket Wrapper when
    running with  AddressSanitizer. The RTLD_DEEPBIND option is not compatible
    with Address Sanitizer see
    https://github.com/google/sanitizers/issues/611
    
    Signed-off-by: Gary Lockyer <gary at catalyst.net.nz>
    Reviewed-by: Andreas Schneider <asn at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Wed Oct 16 15:41:41 UTC 2019 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 selftest/wscript | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/selftest/wscript b/selftest/wscript
index f204f34201b..4d03eb76842 100644
--- a/selftest/wscript
+++ b/selftest/wscript
@@ -289,7 +289,10 @@ def cmd_testonly(opt):
 
     if env.ADDRESS_SANITIZER:
         # For now we cannot run with leak detection
-        no_leak_check = "ASAN_OPTIONS=detect_leaks=0"
+        no_leak_check = "ASAN_OPTIONS=detect_leaks=0 "
+        # And we need to disable RTLD_DEEPBIND in ldb and socket wrapper
+        no_leak_check += "LDB_MODULES_DISABLE_DEEPBIND=1 "
+        no_leak_check += "SOCKET_WRAPPER_DISABLE_DEEP_BIND=1"
         env.CORE_COMMAND = no_leak_check + " " + env.CORE_COMMAND
 
         # We need to have the subunit filter and formatter preload


-- 
Samba Shared Repository



More information about the samba-cvs mailing list