- Timestamp:
- Aug 2, 2016 3:31:02 PM (9 years ago)
- Location:
- trunk/src/VBox/Additions/common
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibAdditions.cpp
r62521 r62882 317 317 /** @todo implement me */ 318 318 rc = VERR_NOT_IMPLEMENTED; 319 RT_NOREF1(ppszPath); 319 320 #endif 320 321 return rc; -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibDaemonize.cpp
r62521 r62882 200 200 201 201 if (!fNoChDir) 202 chdir("/"); 202 { 203 int rcShutUpGcc = chdir("/"); 204 RT_NOREF_PV(rcShutUpGcc); 205 } 203 206 204 207 /* -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp
r62521 r62882 322 322 unsigned long fFlags = MS_NODEV; 323 323 324 const char *szOptions = { "rw" };324 /*const char *szOptions = { "rw" }; - ??? */ 325 325 struct vbsf_mount_info_new mntinf; 326 326 -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControl.cpp
r62521 r62882 78 78 /** The guest control service client ID. */ 79 79 static uint32_t g_uControlSvcClientID = 0; 80 #if 0 /** @todo process limit */ 80 81 /** How many started guest processes are kept into memory for supplying 81 82 * information to the host. Default is 256 processes. If 0 is specified, 82 83 * the maximum number of processes is unlimited. */ 83 84 static uint32_t g_uControlProcsMaxKept = 256; 85 #endif 84 86 /** List of guest control session threads (VBOXSERVICECTRLSESSIONTHREAD). 85 87 * A guest session thread represents a forked guest session process -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp
r62850 r62882 50 50 static int vgsvcGstCtrlProcessAssignPID(PVBOXSERVICECTRLPROCESS pThread, uint32_t uPID); 51 51 static int vgsvcGstCtrlProcessLock(PVBOXSERVICECTRLPROCESS pProcess); 52 static int vgsvcGstCtrlProcessRequest(PVBOXSERVICECTRLPROCESS pProcess, const PVBGLR3GUESTCTRLCMDCTX pHostCtx,53 PFNRT pfnFunction, unsigned cArgs, ...);54 52 static int vgsvcGstCtrlProcessSetupPipe(const char *pszHowTo, int fd, PRTHANDLE ph, PRTHANDLE *pph, 55 53 PRTPIPE phPipe); … … 304 302 305 303 304 #ifdef DEBUG 306 305 /** 307 306 * Names a poll handle ID. … … 330 329 } 331 330 } 331 #endif /* DEBUG */ 332 332 333 333 … … 847 847 848 848 849 #if 0 /* unused */ 849 850 /** 850 851 * Initializes a pipe's handle and pipe object. … … 865 866 return VINF_SUCCESS; 866 867 } 868 #endif 867 869 868 870 … … 1215 1217 PRTPROCESS phProcess) 1216 1218 { 1219 #ifndef RT_OS_WINDOWS 1220 RT_NOREF1(pszDomain); 1221 #endif 1217 1222 AssertPtrReturn(pszExec, VERR_INVALID_PARAMETER); 1218 1223 AssertPtrReturn(papszArgs, VERR_INVALID_PARAMETER); -
trunk/src/VBox/Additions/common/pam/pam_vbox.cpp
r62521 r62882 120 120 static void pam_vbox_error(pam_handle_t *hPAM, const char *pszFormat, ...) 121 121 { 122 RT_NOREF1(hPAM); 122 123 va_list va; 123 124 char *buf; … … 141 142 static void pam_vbox_log(pam_handle_t *hPAM, const char *pszFormat, ...) 142 143 { 144 RT_NOREF1(hPAM); 143 145 if (g_verbosity) 144 146 { … … 305 307 static void pam_vbox_shutdown(pam_handle_t *hPAM) 306 308 { 309 RT_NOREF1(hPAM); 307 310 VbglR3Term(); 308 311 } … … 552 555 * 553 556 * @return IPRT status code. 554 * @param ThreadSelf Thread struct to this thread.557 * @param hThreadSelf Thread handle. 555 558 * @param pvUser Pointer to a PAMVBOXTHREAD structure providing 556 559 * required data used / set by the thread. 557 560 */ 558 static DECLCALLBACK(int) pam_vbox_wait_thread(RTTHREAD ThreadSelf, void *pvUser) 559 { 561 static DECLCALLBACK(int) pam_vbox_wait_thread(RTTHREAD hThreadSelf, void *pvUser) 562 { 563 RT_NOREF1(hThreadSelf); 560 564 PPAMVBOXTHREAD pUserData = (PPAMVBOXTHREAD)pvUser; 561 565 AssertPtr(pUserData); … … 677 681 static int pam_vbox_wait_for_creds(pam_handle_t *hPAM, uint32_t uClientID, uint32_t uTimeoutMS) 678 682 { 683 RT_NOREF1(uClientID); 679 684 PAMVBOXTHREAD threadData; 680 685 threadData.hPAM = hPAM; … … 702 707 703 708 704 DECLEXPORT(int) pam_sm_authenticate(pam_handle_t *hPAM, int iFlags, 705 int argc, const char **argv) 706 { 709 DECLEXPORT(int) pam_sm_authenticate(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 710 { 711 RT_NOREF1(iFlags); 712 707 713 /* Parse arguments. */ 708 714 for (int i = 0; i < argc; i++) … … 848 854 DECLEXPORT(int) pam_sm_acct_mgmt(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 849 855 { 856 RT_NOREF3(iFlags, argc, argv); 850 857 pam_vbox_log(hPAM, "pam_vbox_acct_mgmt called\n"); 851 858 return PAM_SUCCESS; … … 855 862 DECLEXPORT(int) pam_sm_open_session(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 856 863 { 864 RT_NOREF3(iFlags, argc, argv); 857 865 pam_vbox_log(hPAM, "pam_vbox_open_session called\n"); 858 866 RTPrintf("This session was provided by VirtualBox Guest Additions. Have a lot of fun!\n"); … … 863 871 DECLEXPORT(int) pam_sm_close_session(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 864 872 { 873 RT_NOREF3(iFlags, argc, argv); 865 874 pam_vbox_log(hPAM, "pam_vbox_close_session called\n"); 866 875 return PAM_SUCCESS; … … 870 879 DECLEXPORT(int) pam_sm_chauthtok(pam_handle_t *hPAM, int iFlags, int argc, const char **argv) 871 880 { 881 RT_NOREF3(iFlags, argc, argv); 872 882 pam_vbox_log(hPAM, "pam_vbox_sm_chauthtok called\n"); 873 883 return PAM_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.