VirtualBox

Changeset 66554 in vbox for trunk/src


Ignore:
Timestamp:
Apr 13, 2017 11:56:01 AM (8 years ago)
Author:
vboxsync
Message:

HostDrivers/Support: Relax the verification for /usr/lib/iconv on Solaris where bin also has write access

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp

    r66527 r66554  
    14751475        bool fBad = !fRelaxed || pFsObjState->Stat.st_gid != 5 /*operator*/ || suplibHardenedStrCmp(pszPath, "/usr/pbi");
    14761476        NOREF(fRelaxed);
     1477#elif defined(RT_OS_SOLARIS)
     1478        /* HACK ALERT: Solaris has group-writable /usr/lib/iconv directory from
     1479           which the appropriate module is loaded.
     1480           By default only root and daemon are part of that group.
     1481           . */
     1482        /** @todo dynamically resolve the bin group? */
     1483        bool fBad = !fRelaxed || pFsObjState->Stat.st_gid != 2 /*bin*/ || suplibHardenedStrCmp(pszPath, "/usr/lib/iconv");
    14771484#else
    14781485        NOREF(fRelaxed);
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