From d26554f38dc9c42d9dde5241ec3d6f74b641c7b0 Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Fri, 12 Jan 2018 11:30:29 +0100 Subject: [PATCH] vbox: support symlinks on host file system Before this commit, symbolic links in shared folders lead to the use of unimplemented functions, ie., halted the VMM. --- repos/ports/lib/mk/virtualbox-runtime.mk | 1 + repos/ports/lib/mk/virtualbox5-runtime.mk | 1 + repos/ports/src/virtualbox/unimpl.cc | 4 ---- repos/ports/src/virtualbox5/unimpl.cc | 3 --- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/repos/ports/lib/mk/virtualbox-runtime.mk b/repos/ports/lib/mk/virtualbox-runtime.mk index 97aea5cbed..35e9b1e891 100644 --- a/repos/ports/lib/mk/virtualbox-runtime.mk +++ b/repos/ports/lib/mk/virtualbox-runtime.mk @@ -139,6 +139,7 @@ SRC_CC += Runtime/r3/posix/RTTimeNow-posix.cpp SRC_CC += Runtime/r3/posix/semeventmulti-posix.cpp SRC_CC += Runtime/r3/posix/semevent-posix.cpp SRC_CC += Runtime/r3/posix/semmutex-posix.cpp +SRC_CC += Runtime/r3/posix/symlink-posix.cpp SRC_CC += Runtime/r3/posix/thread2-posix.cpp SRC_CC += Runtime/r3/posix/thread-posix.cpp SRC_CC += Runtime/r3/posix/time-posix.cpp diff --git a/repos/ports/lib/mk/virtualbox5-runtime.mk b/repos/ports/lib/mk/virtualbox5-runtime.mk index 9b7be4df61..3e97f85ea0 100644 --- a/repos/ports/lib/mk/virtualbox5-runtime.mk +++ b/repos/ports/lib/mk/virtualbox5-runtime.mk @@ -153,6 +153,7 @@ SRC_CC += Runtime/r3/posix/RTTimeNow-posix.cpp SRC_CC += Runtime/r3/posix/semeventmulti-posix.cpp SRC_CC += Runtime/r3/posix/semevent-posix.cpp SRC_CC += Runtime/r3/posix/semmutex-posix.cpp +SRC_CC += Runtime/r3/posix/symlink-posix.cpp SRC_CC += Runtime/r3/posix/thread2-posix.cpp SRC_CC += Runtime/r3/posix/thread-posix.cpp SRC_CC += Runtime/r3/posix/time-posix.cpp diff --git a/repos/ports/src/virtualbox/unimpl.cc b/repos/ports/src/virtualbox/unimpl.cc index 9c1ff3df4e..071b0fef19 100644 --- a/repos/ports/src/virtualbox/unimpl.cc +++ b/repos/ports/src/virtualbox/unimpl.cc @@ -189,10 +189,6 @@ DUMMY(RTTcpWrite) DUMMY(RTTcpWriteNB) DUMMY(RTTimeLocalExplode) -DUMMY(RTSymlinkCreate) -DUMMY(RTSymlinkRead) -DUMMY(RTSymlinkDelete) - DUMMY(RTNetIPv6PseudoChecksumEx) DUMMY(pthread_mutex_timedlock) diff --git a/repos/ports/src/virtualbox5/unimpl.cc b/repos/ports/src/virtualbox5/unimpl.cc index 0cac95aa84..d7cf779a0e 100644 --- a/repos/ports/src/virtualbox5/unimpl.cc +++ b/repos/ports/src/virtualbox5/unimpl.cc @@ -187,9 +187,6 @@ DUMMY(RTTcpWrite) DUMMY(RTTcpWriteNB) DUMMY(RTTimeLocalExplode) -DUMMY(RTSymlinkCreate) -DUMMY(RTSymlinkRead) -DUMMY(RTSymlinkDelete) DUMMY(RTSystemQueryAvailableRam) DUMMY(RTNetIPv6PseudoChecksumEx)