VirtualBox

Changeset 37177 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 22, 2011 11:01:33 AM (14 years ago)
Author:
vboxsync
Message:

Relax the hardening for PC-BSD a bit. They have a group writable application directory. (Thanks to Kris Moore and Bernhard Froehlich)

File:
1 edited

Legend:

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

    r35403 r37177  
    11881188        if (pFsObjState->Stat.st_gid != 80 /*admin*/) /** @todo dynamically resolve the admin group? */
    11891189#endif
     1190#ifdef RT_OS_FREEBSD
     1191        /* PC-BSD 9 has group-writable application directory, similar to OSX and
     1192           their Applications directory */
     1193        if (pFsObjState->Stat.st_gid != 5 /*operators*/) /* Allow operators group-writes */
     1194#endif
    11901195            return supR3HardenedSetError3(VERR_SUPLIB_WRITE_NON_SYS_GROUP, pErrInfo,
    11911196                                          "The group is not a system group and it has write access to '", pszPath, "'");
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