VirtualBox

Changeset 91795 in vbox for trunk


Ignore:
Timestamp:
Oct 17, 2021 8:14:13 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. [kmod build fix] bugref:10124

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/sup.h

    r91789 r91795  
    22212221SUPR0DECL(int)  SUPR0PrintfV(const char *pszFormat, va_list va) RT_IPRT_FORMAT_ATTR(1, 0);
    22222222
     2223/* Suppress -Winline warnings as (older) gcc refuses to inline functions using va_start:  */
     2224#if RT_GNUC_PREREQ(4, 2)
     2225# if RT_GNUC_PREREQ(4, 6)
     2226#  pragma GCC diagnostic push
     2227# endif
     2228# pragma GCC diagnostic ignored "-Winline"
     2229#endif
    22232230/**
    22242231 * Writes to the debugger and/or kernel log.
     
    22402247    return 0;
    22412248}
     2249#if RT_GNUC_PREREQ(4, 6)
     2250# pragma GCC diagnostic pop
     2251#endif
    22422252
    22432253#ifdef IN_RING0
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