diff options
author | midipix <writeonce@midipix.org> | 2017-08-04 22:22:22 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-08-04 17:33:16 -0400 |
commit | edb08567093daae164f6d3955884117dee74fe98 (patch) | |
tree | a0cbce284eccf262c4a2c65289b373658af59189 /src/process | |
parent | 335494754eba35020cb2d4fd8c976fdb3a6e3507 (diff) | |
download | ntapi-edb08567093daae164f6d3955884117dee74fe98.tar.bz2 ntapi-edb08567093daae164f6d3955884117dee74fe98.tar.xz |
subsystem interfaces: added server-to-server synchronization interfaces.
Diffstat (limited to 'src/process')
-rw-r--r-- | src/process/ntapi_tt_fork.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/process/ntapi_tt_fork.c b/src/process/ntapi_tt_fork.c index d76a994..68ae84b 100644 --- a/src/process/ntapi_tt_fork.c +++ b/src/process/ntapi_tt_fork.c @@ -25,9 +25,11 @@ static intptr_t __fastcall __ntapi_tt_fork_finalize( nt_oa oa; nt_cid cid; int page; + nt_rtdata * rtdata; ntapi_internals * __internals; __internals = __ntapi_internals(); + rtdata = __internals->rtdata; *hprocess = 0; *hthread = 0; @@ -73,6 +75,16 @@ static intptr_t __fastcall __ntapi_tt_fork_finalize( __internals->ipc_pages[page], NT_ALLOCATION_GRANULARITY); + rtdata->hsemctl = 0; + rtdata->hsempid = 0; + + rtdata->ipc_keys[0] = 0; + rtdata->ipc_keys[1] = 0; + rtdata->ipc_keys[2] = 0; + rtdata->ipc_keys[3] = 0; + rtdata->ipc_keys[4] = 0; + rtdata->ipc_keys[5] = 0; + return 0; } |