VirtualBox

Changeset 86536 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Oct 12, 2020 9:16:36 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140851
Message:

IPRT/localipc-win.cpp: Clarification to bugref:9773

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/localipc-win.cpp

    r85112 r86536  
    824824                    SecAttrs.bInheritHandle       = FALSE;
    825825
     826                    /* The SECURITY_XXX flags are needed in order to prevent the server from impersonating with
     827                       this thread's security context (supported at least back to NT 3.51). See @bugref{9773}. */
    826828                    HANDLE hPipe = CreateFileW(pwszFullName,
    827829                                               GENERIC_READ | GENERIC_WRITE,
     
    829831                                               &SecAttrs,
    830832                                               OPEN_EXISTING,
    831                                                FILE_FLAG_OVERLAPPED
    832                                                /* Needed in order to prevent the server to impersonate with this thread's
    833                                                 * security context. See #9773. */
    834                                                | SECURITY_SQOS_PRESENT | SECURITY_ANONYMOUS,
     833                                               FILE_FLAG_OVERLAPPED | SECURITY_SQOS_PRESENT | SECURITY_ANONYMOUS,
    835834                                               NULL /*no template handle*/);
    836835                    if (hPipe != INVALID_HANDLE_VALUE)
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