summaryrefslogtreecommitdiffhomepage
path: root/src/process
diff options
context:
space:
mode:
Diffstat (limited to 'src/process')
-rw-r--r--src/process/ntapi_tt_create_remote_runtime_data.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/process/ntapi_tt_create_remote_runtime_data.c b/src/process/ntapi_tt_create_remote_runtime_data.c
index 7b85893..fa8e67c 100644
--- a/src/process/ntapi_tt_create_remote_runtime_data.c
+++ b/src/process/ntapi_tt_create_remote_runtime_data.c
@@ -24,7 +24,7 @@ int32_t __stdcall __ntapi_tt_create_remote_runtime_data(
nt_unicode_string rcmd_line;
uint32_t runtime_arg_hash;
nt_runtime_data * rtdata;
- void * srv_ready;
+ void * hserver;
#if (__SIZEOF_POINTER__ == 4)
wchar16_t runtime_arg[8] = {
@@ -115,17 +115,17 @@ int32_t __stdcall __ntapi_tt_create_remote_runtime_data(
/* session handles */
rtdata = 0;
- srv_ready = 0;
+ hserver = 0;
if (rtblock->flags & NT_RUNTIME_DATA_DUPLICATE_SESSION_HANDLES) {
rtdata = (nt_runtime_data *)rtblock->addr;
- srv_ready = rtdata->srv_ready;
+ hserver = rtdata->hserver;
if ((status = __ntapi->zw_duplicate_object(
NT_CURRENT_PROCESS_HANDLE,
- srv_ready,
+ hserver,
hprocess,
- &rtdata->srv_ready,
+ &rtdata->hserver,
0,0,
NT_DUPLICATE_SAME_ATTRIBUTES
|NT_DUPLICATE_SAME_ACCESS)))
@@ -142,7 +142,7 @@ int32_t __stdcall __ntapi_tt_create_remote_runtime_data(
/* restore rtdata */
if (rtdata)
- rtdata->srv_ready = srv_ready;
+ rtdata->hserver = hserver;
/* verify above remote write */
if (status)