FreeBSD Bugzilla – Attachment 224343 Details for
Bug 255208
FATAL crash/reboot upon trying to mount a VirtualBox shared folder in FreeBSD guest (13.0 RELEASE)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Better patch
vbox.patch (text/plain), 1.44 KB, created by
Guido Falsi
on 2021-04-21 23:47:17 UTC
(
hide
)
Description:
Better patch
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2021-04-21 23:47:17 UTC
Size:
1.44 KB
patch
obsolete
>diff --git a/emulators/virtualbox-ose-additions/Makefile b/emulators/virtualbox-ose-additions/Makefile >index e34b98c7a6c4..b335cda7154e 100644 >--- a/emulators/virtualbox-ose-additions/Makefile >+++ b/emulators/virtualbox-ose-additions/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME= virtualbox-ose > PORTVERSION= 6.1.18 >+PORTREVISION= 1 > CATEGORIES= emulators > MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/ > PKGNAMESUFFIX?= -additions >diff --git a/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c b/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c >index 471b3ac76714..99893d2f750e 100644 >--- a/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c >+++ b/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c >@@ -1,6 +1,6 @@ > --- src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c.orig 2021-01-07 15:34:22 UTC > +++ src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c >-@@ -14,228 +14,1347 @@ >+@@ -14,228 +14,1350 @@ > * VirtualBox OSE distribution. VirtualBox OSE is distributed in the > * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. > */ >@@ -160,6 +160,9 @@ > + .vop_write = vboxfs_write, > + .vop_bmap = VOP_EOPNOTSUPP > }; >++#if __FreeBSD_version > 1300068 >++VFS_VOP_VECTOR_REGISTER(vboxfs_vnodeops); >++#endif > > -static int vboxvfs_access(struct vop_access_args *ap) > +static uint64_t
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 255208
:
224255
|
224342
| 224343