[llvm-branch-commits] [compiler-rt-branch] r354460 - Merging r354402:

Hans Wennborg via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Feb 20 05:00:59 PST 2019


Author: hans
Date: Wed Feb 20 05:00:59 2019
New Revision: 354460

URL: http://llvm.org/viewvc/llvm-project?rev=354460&view=rev
Log:
Merging r354402:
------------------------------------------------------------------------
r354402 | eugenis | 2019-02-20 00:41:42 +0100 (Wed, 20 Feb 2019) | 3 lines

[msan] Fix name_to_handle_at test on overlayfs.

Udev supports name_to_handle_at. Use /dev/null instead of /bin/cat.
------------------------------------------------------------------------

Modified:
    compiler-rt/branches/release_80/   (props changed)
    compiler-rt/branches/release_80/test/msan/Linux/name_to_handle_at.cc

Propchange: compiler-rt/branches/release_80/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Feb 20 05:00:59 2019
@@ -1 +1 @@
-/compiler-rt/trunk:352234,352381,353224
+/compiler-rt/trunk:352234,352381,353224,354402

Modified: compiler-rt/branches/release_80/test/msan/Linux/name_to_handle_at.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_80/test/msan/Linux/name_to_handle_at.cc?rev=354460&r1=354459&r2=354460&view=diff
==============================================================================
--- compiler-rt/branches/release_80/test/msan/Linux/name_to_handle_at.cc (original)
+++ compiler-rt/branches/release_80/test/msan/Linux/name_to_handle_at.cc Wed Feb 20 05:00:59 2019
@@ -14,7 +14,7 @@ int main(void) {
   handle->handle_bytes = MAX_HANDLE_SZ;
 
   int mount_id;
-  int res = name_to_handle_at(AT_FDCWD, "/bin/cat", handle, &mount_id, 0);
+  int res = name_to_handle_at(AT_FDCWD, "/dev/null", handle, &mount_id, 0);
   assert(!res);
   __msan_check_mem_is_initialized(&mount_id, sizeof(mount_id));
   __msan_check_mem_is_initialized(&handle->handle_bytes,




More information about the llvm-branch-commits mailing list