diff options
author | midipix <writeonce@midipix.org> | 2017-12-21 17:06:45 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-12-22 05:18:57 -0500 |
commit | 2104cf1edacf8b53caeebc2337404a4b0b46e557 (patch) | |
tree | 74ae8df77e07b2d01b6fbaef57a1d8714cb12ec8 | |
parent | 1f892c11f4e92ea57654a5d70bd7fd5535e5a386 (diff) | |
download | ntapi-2104cf1edacf8b53caeebc2337404a4b0b46e557.tar.bz2 ntapi-2104cf1edacf8b53caeebc2337404a4b0b46e557.tar.xz |
struct _nt_spawn_process_params: refactor (interp-optarg-script semantics).
-rw-r--r-- | include/ntapi/nt_process.h | 4 | ||||
-rw-r--r-- | src/process/ntapi_tt_spawn_native_process.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h index 2e4b12e..4404b20 100644 --- a/include/ntapi/nt_process.h +++ b/include/ntapi/nt_process.h @@ -659,9 +659,9 @@ typedef struct _nt_spawn_process_params { __in void * htoken; __in void * himage; __in char * patharg; - __in const char * image; - __in const char * interpreter; + __in const char * interp; __in const char * optarg; + __in const char * script; __in char ** argv; __in char ** envp; __in void * hready; diff --git a/src/process/ntapi_tt_spawn_native_process.c b/src/process/ntapi_tt_spawn_native_process.c index 120cbbd..a1712bb 100644 --- a/src/process/ntapi_tt_spawn_native_process.c +++ b/src/process/ntapi_tt_spawn_native_process.c @@ -165,8 +165,8 @@ int32_t __stdcall __ntapi_tt_spawn_native_process(nt_spawn_process_params * spar &rdata->argc, (const char **)sparams->argv, (const char **)sparams->envp, - sparams->image, - sparams->interpreter, + sparams->script, + sparams->interp, sparams->optarg, rtblock.addr, rdata->buffer, |