summaryrefslogtreecommitdiffhomepage
path: root/src/process
diff options
context:
space:
mode:
Diffstat (limited to 'src/process')
-rw-r--r--src/process/ntapi_tt_fork.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/process/ntapi_tt_fork.c b/src/process/ntapi_tt_fork.c
index 5690164..dcd551f 100644
--- a/src/process/ntapi_tt_fork.c
+++ b/src/process/ntapi_tt_fork.c
@@ -17,6 +17,18 @@
static intptr_t __fork_retry_stats = 0;
static intptr_t __fork_resume_stats = 0;
+static int __ipc_memfn(
+ struct dalist_ex * dlist,
+ void ** addr,
+ size_t * alloc_size)
+{
+ (void)dlist;
+ (void)addr;
+ (void)alloc_size;
+
+ return DALIST_EMEMFN;
+}
+
static intptr_t __fastcall __ntapi_tt_fork_finalize(void ** hprocess)
{
int32_t status;
@@ -46,7 +58,7 @@ static intptr_t __fastcall __ntapi_tt_fork_finalize(void ** hprocess)
&__internals->ipc_conns,
sizeof(nt_ipc_conn),
NT_ALLOCATION_GRANULARITY,
- __ntapi_ipc_page_alloc,
+ __ipc_memfn,
DALIST_MEMFN_CUSTOM)))
return status;