Changeset 68793 in vbox
- Timestamp:
- Sep 19, 2017 3:46:36 PM (7 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxGuest
- Files:
-
- 1 added
- 3 edited
-
Makefile.kmk (modified) (1 diff)
-
VBoxGuest-solaris.c (modified) (2 diffs)
-
lib/VBoxGuestR0LibIdc-solaris.cpp (modified) (1 diff)
-
solaris/load.sh (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk
r68642 r68793 242 242 endif 243 243 244 245 # 246 # Helper script. 247 # 248 INSTALLS.solaris += VBoxGuestLoad 249 VBoxGuestLoad_TEMPLATE = VBOXGUESTR0 250 VBoxGuestLoad_EXEC_SOURCES = solaris/load.sh 251 252 244 253 include $(FILE_KBUILD_SUB_FOOTER) 245 254 -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.c
r68638 r68793 193 193 static bool g_fSoftIntRegistered = false; 194 194 195 /** Additional IPRT function we need to drag in for vboxfs. */ 196 PFNRT g_Deps[] = 197 { 198 (PFNRT)RTErrConvertToErrno, 199 }; 200 201 195 202 /** 196 203 * Kernel entry points … … 259 266 int _info(struct modinfo *pModInfo) 260 267 { 261 LogFlow((DEVICE_NAME ":_info\n"));268 /* LogFlow((DEVICE_NAME ":_info\n")); - Called too early, causing RTThreadPreemtIsEnabled warning. */ 262 269 return mod_info(&g_vgdrvSolarisModLinkage, pModInfo); 263 270 } -
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibIdc-solaris.cpp
r68645 r68793 41 41 ldi_handle_t hDev = NULL; 42 42 ldi_ident_t hIdent = ldi_ident_from_anon(); 43 /* Note! ldi_open_by_name actually opens the device and ends up creating a useless user session. 44 Wonder if there is any way to detect ldi_open_by_name and do I/O controls via hDev... */ 43 45 int rc = ldi_open_by_name(VBOXGUEST_DEVICE_NAME, FREAD, kcred, &hDev, hIdent); 44 46 ldi_ident_release(hIdent); 45 47 if (rc == 0) 46 48 { 47 rc = VBoxGuestIDC(NULL, VBGL_IOCTL_IDC_ DISCONNECT, &pReq->Hdr, sizeof(*pReq));49 rc = VBoxGuestIDC(NULL, VBGL_IOCTL_IDC_CONNECT, &pReq->Hdr, sizeof(*pReq)); 48 50 if (RT_SUCCESS(rc) && RT_SUCCESS(pReq->Hdr.rc)) 49 51 {
Note:
See TracChangeset
for help on using the changeset viewer.

