Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 651552 Details for
Bug 868254
vdagent-win exits if two users are logged in simultaneously
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
on XP, set process handle for vdagent launched on session>0
0001-vdservice-set-process-handle-for-vdagent-launched-on.patch (text/plain), 1.49 KB, created by
Arnon Gilboa
on 2012-11-25 15:08:02 UTC
(
hide
)
Description:
on XP, set process handle for vdagent launched on session>0
Filename:
MIME Type:
Creator:
Arnon Gilboa
Created:
2012-11-25 15:08:02 UTC
Size:
1.49 KB
patch
obsolete
>From c18859ff35c439985a6134c71e35861dd71b186e Mon Sep 17 00:00:00 2001 >From: Arnon Gilboa <agilboa@redhat.com> >Date: Sun, 25 Nov 2012 17:11:39 +0200 >Subject: [PATCH] vdservice: set process handle for vdagent launched on session>0 > >The problem on XP was failing to terminate agent running on session>0, >since during agent process creation, a handle was not set, so it was NULL. >Therefore, the new agent created (at the session we switched to) was unable >to open vitio-serial which was still used by the other running agent instance. > >rhbz#868254 >--- > vdservice/vdservice.cpp | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > >diff --git a/vdservice/vdservice.cpp b/vdservice/vdservice.cpp >index b2448e7..a2cf67d 100644 >--- a/vdservice/vdservice.cpp >+++ b/vdservice/vdservice.cpp >@@ -640,6 +640,13 @@ BOOL create_session_process_as_user(IN DWORD session_id, IN BOOL use_default_tok > ret = proc_ret.ret_value; > if (ret) { > *process_information = proc_ret.process_information; >+ if (process_information->hProcess == 0) { >+ process_information->hProcess = OpenProcess(SYNCHRONIZE | PROCESS_TERMINATE, FALSE, >+ process_information->dwProcessId); >+ if (!process_information->hProcess) { >+ vd_printf("OpenProcess() failed %lu", GetLastError()); >+ } >+ } > } else { > SetLastError(proc_ret.last_error); > } >-- >1.7.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 868254
: 651552 |
700597
|
700598
|
702992