diff options
| author | Bobby Eshleman <bobbyeshleman@meta.com> | 2026-03-18 01:09:36 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-21 04:34:48 +0300 |
| commit | 0c3893d37892f332b595906710bf53bbd9c7c572 (patch) | |
| tree | d69fdf301133d8cb7d1433552777f463f47d6a7f /include/linux | |
| parent | 865926e26e05be52ff311883619b9198298698df (diff) | |
| download | linux-0c3893d37892f332b595906710bf53bbd9c7c572.tar.xz | |
selftests/vsock: fix vsock_test path shadowing in nested VMs
The /root mount introduced for nested VM support shadows any host paths
under /root. This breaks systems where the outer VM runs as root and the
vsock_test binary path is something like:
/root/linux/tools/testing/selftests/vsock/vsock_test
Fix this by copying vsock_test into the temporary home directory that
gets mounted as /root in the guest, and using a relative path to invoke
it.
Signed-off-by: Bobby Eshleman <bobbyeshleman@meta.com>
Link: https://patch.msgid.link/20260317-vsock-vmtest-nested-fixes-v2-2-0b3f53b80a0f@meta.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
