VirtualBox

Changeset 11725 in vbox for trunk/include


Ignore:
Timestamp:
Aug 27, 2008 10:21:47 PM (16 years ago)
Author:
vboxsync
Message:

#3076: Merged in the branch with the alternate driver authentication method. (34468:HEAD)

Location:
trunk/include
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/sup.h

    r10377 r11725  
    312312
    313313/**
     314 * Secure main.
     315 *
     316 * This is used for the set-user-ID-on-execute binaries on unixy systems
     317 * and when using the open-vboxdrv-via-root-service setup on Windows.
     318 *
     319 * This function will perform the integrity checks of the VirtualBox
     320 * installation, open the support driver, open the root service (later),
     321 * and load the DLL corresponding to \a pszProgName and execute its main
     322 * function.
     323 *
     324 * @returns Return code appropriate for main().
     325 *
     326 * @param   pszProgName     The program name. This will be used to figure out which
     327 *                          DLL/SO/DYLIB to load and execute.
     328 * @param   fFlags          Flags.
     329 * @param   argc            The argument count.
     330 * @param   argv            The argument vector.
     331 * @param   envp            The environment vector.
     332 */
     333DECLHIDDEN(int) SUPR3HardenedMain(const char *pszProgName, uint32_t fFlags, int argc, char **argv, char **envp);
     334
     335/** @name SUPR3SecureMain flags.
     336 * @{ */
     337/** Don't open the device. (Intended for VirtualBox without -startvm.) */
     338#define SUPSECMAIN_FLAGS_DONT_OPEN_DEV      RT_BIT_32(0)
     339/** @} */
     340
     341/**
    314342 * Initializes the support library.
    315343 * Each succesful call to SUPInit() must be countered by a
  • trunk/include/iprt/err.h

    r11562 r11725  
    449449/** The timer can't be stopped because i's already suspended. */
    450450#define VERR_TIMER_SUSPENDED                (-69)
    451 /** The operation was cancelled by the user. */
     451/** The operation was cancelled by the user (copy) or another thread (local ipc). */
    452452#define VERR_CANCELLED                      (-70)
    453453/** Failed to initialize a memory object.
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