- Timestamp:
- Jun 30, 2008 3:21:25 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32501
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r9954 r10023 2760 2760 TEMPLATE_VBOXGUESTR0_DEFS = $(TEMPLATE_VBOXR0DRV_DEFS) IN_GUEST IN_GUEST_R0 2761 2761 ifeq ($(KBUILD_TARGET),solaris) # No VBI for the guest additions yet. 2762 TEMPLATE_VBOXGUESTR0_LDFLAGS = -r 2762 TEMPLATE_VBOXGUESTR0_LDFLAGS = -r -dy 2763 2763 endif 2764 2764 -
trunk/src/VBox/Additions/solaris/SharedFolders/Makefile.kmk
r9175 r10023 34 34 $(VBOX_LIB_VBGL_R0) \ 35 35 $(VBOX_LIB_IPRT_GUEST_R0) 36 vboxvfs_LDFLAGS += -N drv/vboxguest 36 37 37 38 include $(KBUILD_PATH)/subfooter.kmk -
trunk/src/VBox/Additions/solaris/SharedFolders/vboxvfs_vfsops.c
r9673 r10023 25 25 #include "vboxvfs.h" 26 26 27 #if defined(DEBUG_ramshankar) && !defined(LOG_ENABLED) 28 # define LOG_ENABLED 29 # define LOG_TO_BACKDOOR 30 #endif 27 31 #include <VBox/log.h> 28 32 #include <iprt/string.h> 29 33 #include <iprt/mem.h> 34 #include <iprt/err.h> 30 35 31 36 … … 36 41 #define DEVICE_NAME "vboxvfs" 37 42 /** The module description as seen in 'modinfo'. */ 38 #define DEVICE_DESC " VirtualBox Shared Filesystem"43 #define DEVICE_DESC "filesystem for VirtualBox Shared Folders" 39 44 40 45 /** Mount Options */ … … 149 154 { 150 155 LogFlow((DEVICE_NAME ":_init\n")); 156 151 157 int rc = ddi_soft_state_init(&g_pVBoxVFSState, sizeof(vboxvfs_state_t), 1); 152 158 if (!rc) … … 163 169 { 164 170 LogFlow((DEVICE_NAME ":_fini\n")); 171 165 172 int rc = mod_remove(&g_VBoxVFSModLinkage); 166 173 if (!rc) … … 173 180 { 174 181 LogFlow((DEVICE_NAME ":_info\n")); 182 175 183 return mod_info(&g_VBoxVFSModLinkage, pModInfo); 176 184 } … … 218 226 return 0; 219 227 } 228 else 229 LogRel((DEVICE_NAME ":vn_make_ops failed. rc=%d\n", rc)); 220 230 } 221 231 else … … 246 256 static int VBoxVFS_Mount(vfs_t *pVFS, vnode_t *pVNode, struct mounta *pMount, cred_t *pCred) 247 257 { 248 int rc ;258 int rc = 0; 249 259 int Uid = 0; 250 260 int Gid = 0; 251 char *pszShare ;252 size_t cbShare ;261 char *pszShare = NULL; 262 size_t cbShare = NULL; 253 263 pathname_t PathName; 254 vnode_t *pVNodeSpec ;255 vnode_t *pVNodeDev ;256 dev_t Dev ;264 vnode_t *pVNodeSpec = NULL; 265 vnode_t *pVNodeDev = NULL; 266 dev_t Dev = 0; 257 267 SHFLSTRING *pShflShareName = NULL; 258 size_t cbShflShareName ;259 vboxvfs_globinfo_t *pVBoxVFSGlobalInfo ;268 size_t cbShflShareName = 0; 269 vboxvfs_globinfo_t *pVBoxVFSGlobalInfo = NULL; 260 270 int AddrSpace = (pMount->flags & MS_SYSSPACE) ? UIO_SYSSPACE : UIO_USERSPACE; 261 271 #if 0 … … 363 373 { 364 374 Dev = pVNodeSpec->v_rdev; 365 pszShare = RTStrDup(PathName.pn_path);375 memcpy(pszShare, PathName.pn_path, strlen(PathName.pn_path)); 366 376 cbShare = strlen(pszShare); 367 377 } -
trunk/src/VBox/Runtime/Makefile.kmk
r9839 r10023 1170 1170 RuntimeGuestR0_SOURCES.solaris = \ 1171 1171 common/err/RTErrConvertFromErrno.cpp \ 1172 common/err/RTErrConvertToErrno.cpp \ 1172 1173 common/misc/thread.cpp \ 1173 1174 common/string/memchr.asm \
Note:
See TracChangeset
for help on using the changeset viewer.