FreeBSD Bugzilla – Attachment 196017 Details for
Bug 230460
emulators/virtualbox-ose panic on CURRENT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
SMAP support (POC)
vbox-smap.patch (text/plain), 1.78 KB, created by
Vladimir Kondratyev
on 2018-08-08 20:30:23 UTC
(
hide
)
Description:
SMAP support (POC)
Filename:
MIME Type:
Creator:
Vladimir Kondratyev
Created:
2018-08-08 20:30:23 UTC
Size:
1.78 KB
patch
obsolete
>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 <sys/fcntl.h> >+ #include <sys/conf.h> >+ #include <sys/uio.h> >++#include <machine/cpufunc.h> >+ >+ #include "../SUPDrvInternal.h" >+ #include <VBox/version.h> >+@@ -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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230460
:
196017
|
196026
|
196033
|
196484
|
196560