Index: emulators/virtualbox-ose/files/patch-smap =================================================================== --- emulators/virtualbox-ose/files/patch-smap (nonexistent) +++ emulators/virtualbox-ose/files/patch-smap (working copy) @@ -0,0 +1,36 @@ +--- src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c.orig 2018-08-08 22:32:59.741196000 +0300 ++++ src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c 2018-08-08 22:52:49.842726000 +0300 +@@ -44,6 +44,7 @@ + #include + #include + #include ++#include + + #include "../SUPDrvInternal.h" + #include +@@ -310,6 +311,9 @@ static int VBoxDrvFreeBSDIOCtl(struct cd + { + PSUPDRVSESSION pSession; + devfs_get_cdevpriv((void **)&pSession); ++ int rc; ++ ++ stac(); + + /* + * Deal with the fast ioctl path first. +@@ -318,9 +322,13 @@ static int VBoxDrvFreeBSDIOCtl(struct cd + || ulCmd == SUP_IOCTL_FAST_DO_HM_RUN + || ulCmd == SUP_IOCTL_FAST_DO_NOP) + && pSession->fUnrestricted == true) +- return supdrvIOCtlFast(ulCmd, *(uint32_t *)pvData, &g_VBoxDrvFreeBSDDevExt, pSession); ++ rc = supdrvIOCtlFast(ulCmd, *(uint32_t *)pvData, &g_VBoxDrvFreeBSDDevExt, pSession); ++ else ++ rc = VBoxDrvFreeBSDIOCtlSlow(pSession, ulCmd, pvData, pTd); + +- return VBoxDrvFreeBSDIOCtlSlow(pSession, ulCmd, pvData, pTd); ++ clac(); ++ ++ return rc; + } + + Property changes on: emulators/virtualbox-ose/files/patch-smap ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property