VirtualBox

Changeset 58023 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Oct 5, 2015 10:00:23 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103064
Message:

VBoxServiceControlSession.cpp: Pass RTPROC_FLAGS_PROFILE on unix too; only pass RTPROC_FLAGS_SERVICE and RTPROC_FLAGS_HIDDEN on windows as these are documented as windows-only flags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp

    r57965 r58023  
    18751875         * Configure standard handles and finally create the process.
    18761876         */
    1877         uint32_t fProcCreate = RTPROC_FLAGS_SERVICE
    1878 #ifdef RT_OS_WINDOWS    /** @todo do on unix too! */
    1879                              /* Make sure to also load the profile data on a Windows guest. */
    1880                              | RTPROC_FLAGS_PROFILE
    1881 #endif
    1882                              | RTPROC_FLAGS_HIDDEN;       /** @todo More flags from startup info? */
     1877        uint32_t fProcCreate = RTPROC_FLAGS_PROFILE;
     1878#ifdef RT_OS_WINDOWS /* Windows only flags: */
     1879        fProcCreate         |= RTPROC_FLAGS_SERVICE
     1880                            |  RTPROC_FLAGS_HIDDEN;       /** @todo More flags from startup info? */
     1881#endif
    18831882
    18841883#if 0 /* Pipe handling not needed (yet). */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette