Lines 12-18
Link Here
|
12 |
* |
12 |
* |
13 |
* This file is part of VirtualBox Open Source Edition (OSE), as |
13 |
* This file is part of VirtualBox Open Source Edition (OSE), as |
14 |
* available from http://www.virtualbox.org. This file is free software; |
14 |
* available from http://www.virtualbox.org. This file is free software; |
15 |
@@ -14,228 +10,1338 @@ |
15 |
@@ -14,228 +10,1342 @@ |
16 |
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the |
16 |
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the |
17 |
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. |
17 |
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. |
18 |
*/ |
18 |
*/ |
Lines 503-509
Link Here
|
503 |
+ m = (error == 0) ? node->sf_stat.sf_mode : 0; |
503 |
+ m = (error == 0) ? node->sf_stat.sf_mode : 0; |
504 |
+ |
504 |
+ |
505 |
+ return (vaccess(vp->v_type, m, node->vboxfsmp->sf_uid, |
505 |
+ return (vaccess(vp->v_type, m, node->vboxfsmp->sf_uid, |
506 |
+ node->vboxfsmp->sf_gid, accmode, ap->a_cred, NULL)); |
506 |
+ node->vboxfsmp->sf_gid, accmode, ap->a_cred |
|
|
507 |
+#if __FreeBSD_version < 1300105 |
508 |
+ , NULL |
509 |
+#endif |
510 |
+ )); |
507 |
} |
511 |
} |
508 |
|
512 |
|
509 |
-static int vboxvfs_link(struct vop_link_args *ap) |
513 |
-static int vboxvfs_link(struct vop_link_args *ap) |