VirtualBox

Changeset 93215 in vbox


Ignore:
Timestamp:
Jan 13, 2022 6:52:53 AM (3 years ago)
Author:
vboxsync
Message:

SUP: Only print the caller of our issetugid() interpose in debug builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedMain-darwin.cpp

    r93115 r93215  
    164164static int supR3HardenedDarwinIssetugidInterpose(void)
    165165{
     166#ifdef DEBUG
    166167    Dl_info Info = {0};
    167168    char szMsg[512];
     
    174175        cchMsg = snprintf(szMsg, sizeof(szMsg), "DEBUG: issetugid_for_AppKit was called by %p (via %p)\n", uCaller, __builtin_return_address(1));
    175176    write(2, szMsg, cchMsg);
     177#endif
    176178    return 0;
    177179}
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