VirtualBox

Ignore:
Timestamp:
Oct 17, 2021 6:16:11 PM (3 years ago)
Author:
vboxsync
Message:

SUPDrv,IPRT,VBoxGuest: Don't export ellipsis functions from SUPDrv, as that makes switching back to the kernel stack unsafe. Exports has changes (added+removed), but not bumping major IOC version as that was done a few hours ago already and it's Sunday. bugref:10124

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp

    r87700 r91789  
    536536
    537537
    538 SUPR0DECL(int) SUPR0Printf(const char *pszFormat, ...)
    539 {
    540     va_list va;
    541 
     538SUPR0DECL(int) SUPR0PrintfV(const char *pszFormat, va_list va)
     539{
    542540#if 0 //def DEBUG_bird
    543     va_start(va, pszFormat);
    544     RTLogComPrintfV(pszFormat, va);
    545     va_end(va);
     541    va_list va2;
     542    va_copy(va2, va);
     543    RTLogComPrintfV(pszFormat, va2);
     544    va_end(va2);
    546545#endif
    547546
    548     va_start(va, pszFormat);
    549     int cch = RTLogFormatV(VBoxDrvLogOutput, NULL, pszFormat, va);
    550     va_end(va);
    551 
    552     return cch;
     547    RTLogFormatV(VBoxDrvLogOutput, NULL, pszFormat, va);
     548    return 0;
    553549}
    554550
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette