--- emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c.orig +++ emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c @@ -12,7 +12,7 @@ * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; -@@ -14,228 +10,1338 @@ +@@ -14,228 +10,1342 @@ * VirtualBox OSE distribution. VirtualBox OSE is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. */ @@ -503,7 +503,11 @@ + m = (error == 0) ? node->sf_stat.sf_mode : 0; + + return (vaccess(vp->v_type, m, node->vboxfsmp->sf_uid, -+ node->vboxfsmp->sf_gid, accmode, ap->a_cred, NULL)); ++ node->vboxfsmp->sf_gid, accmode, ap->a_cred ++#if __FreeBSD_version < 1300105 ++ , NULL ++#endif ++ )); } -static int vboxvfs_link(struct vop_link_args *ap)