Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit 5bc7979

Browse files
committed
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
1 parent 3f14cf3 commit 5bc7979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/msan/Linux/name_to_handle_at.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ int main(void) {
1414
handle->handle_bytes = MAX_HANDLE_SZ;
1515

1616
int mount_id;
17-
int res = name_to_handle_at(AT_FDCWD, "/bin/cat", handle, &mount_id, 0);
17+
int res = name_to_handle_at(AT_FDCWD, "/dev/null", handle, &mount_id, 0);
1818
assert(!res);
1919
__msan_check_mem_is_initialized(&mount_id, sizeof(mount_id));
2020
__msan_check_mem_is_initialized(&handle->handle_bytes,

0 commit comments

Comments
 (0)