VirtualBox

Changeset 15313 in vbox


Ignore:
Timestamp:
Dec 11, 2008 4:21:31 PM (16 years ago)
Author:
vboxsync
Message:

SUPR3HardenedMain: don't die on priv adds Solaris.

File:
1 edited

Legend:

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

    r15299 r15313  
    615615                rc = setppriv(PRIV_SET, PRIV_EFFECTIVE, pPrivSet);
    616616                if (rc)
    617                     supR3HardenedFatal("SUPR3HardenedMain: failed to set effectives privilege set.\n");
     617                    supR3HardenedError(rc, false, "SUPR3HardenedMain: failed to set effectives privilege set.\n");
    618618            }
    619619            else
    620                 supR3HardenedFatal("SUPR3HardenedMain: failed to set permitted privilege set.\n");
     620                supR3HardenedError(rc, false, "SUPR3HardenedMain: failed to set permitted privilege set.\n");
    621621        }
    622622        else
    623             supR3HardenedFatal("SUPR3HardenedMain: failed to set inheritable privilege set.\n");               
     623            supR3HardenedError(rc, false, "SUPR3HardenedMain: failed to set inheritable privilege set.\n");               
    624624
    625625        priv_freeset(pPrivSet);
    626626    }
    627627    else
    628         supR3HardenedFatal("SUPR3HardenedMain: failed to get basic privilege set.\n");
     628        supR3HardenedError(-1, false, "SUPR3HardenedMain: failed to get basic privilege set.\n");
    629629
    630630# endif
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