Skip to content

Commit cd76cba

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. ------------------------------------------------------------------------ llvm-svn: 354460
1 parent 83dcd05 commit cd76cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/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)