VirtualBox

Ignore:
Timestamp:
Nov 27, 2018 10:37:39 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126981
Message:

VBoxGuest-os2.c: Correctly set requestor. bugref:9105

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-os2.cpp

    r75552 r75779  
    364364     * Create a new session.
    365365     */
    366     rc = VGDrvCommonCreateUserSession(&g_DevExt, VMMDEV_REQUESTOR_USERMODE, &pSession);
     366    uint32_t fRequestor = VMMDEV_REQUESTOR_USERMODE
     367                        | VMMDEV_REQUESTOR_TRUST_NOT_GIVEN
     368                        | VMMDEV_REQUESTOR_USR_ROOT  /* everyone is root on OS/2 */
     369                        | VMMDEV_REQUESTOR_GRP_WHEEL /* and their admins */
     370                        | VMMDEV_REQUESTOR_NO_USER_DEVICE /** @todo implement /dev/vboxuser? */
     371                        | VMMDEV_REQUESTOR_CON_DONT_KNOW; /** @todo check screen group/whatever of process to see if console */
     372    rc = VGDrvCommonCreateUserSession(&g_DevExt, fRequestor, &pSession);
    367373    if (RT_SUCCESS(rc))
    368374    {
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