summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2019-02-20 13:00:59 +0000
committerHans Wennborg <hans@hanshq.net>2019-02-20 13:00:59 +0000
commit5bc79797e1f9184f39e1bd30fac75d995b72cea3 (patch)
treecb719d3e1dbcdfed1d9b1a739c3bc2948c9ef3d5
parent3f14cf3cadb0f95f21b40a28e076d8552e174f19 (diff)
downloadcompiler-rt-5bc79797e1f9184f39e1bd30fac75d995b72cea3.tar.gz
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. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_80@354460 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/msan/Linux/name_to_handle_at.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/msan/Linux/name_to_handle_at.cc b/test/msan/Linux/name_to_handle_at.cc
index 0ff8d982f..a8bc75fa2 100644
--- a/test/msan/Linux/name_to_handle_at.cc
+++ b/test/msan/Linux/name_to_handle_at.cc
@@ -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,