VirtualBox

Changeset 37344 in vbox


Ignore:
Timestamp:
Jun 7, 2011 12:23:53 PM (13 years ago)
Author:
vboxsync
Message:

comment

File:
1 edited

Legend:

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

    r37177 r37344  
    11871187           permit grand parents and beyond to be group writable by admin. */
    11881188        if (pFsObjState->Stat.st_gid != 80 /*admin*/) /** @todo dynamically resolve the admin group? */
    1189 #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 */
     1189#elif defined(RT_OS_FREEBSD)
     1190        /* HACK ALERT: PC-BSD 9 has group-writable application directory,
     1191           similar to OS X and their /Applications directory (see above). */
     1192        if (pFsObjState->Stat.st_gid != 5 /*operators*/)
    11941193#endif
    11951194            return supR3HardenedSetError3(VERR_SUPLIB_WRITE_NON_SYS_GROUP, pErrInfo,
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