diff options
author | midipix <writeonce@midipix.org> | 2022-11-18 17:29:49 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2022-11-18 19:02:48 +0000 |
commit | 1717a8ab178466bb73fd4c0a7fba1402df9deef0 (patch) | |
tree | 288489dba2c18b8751b04ec8f079a9edc85619c1 /src/afl | |
parent | 3b05e82a2c5d529cb383a5c06b509883dc59d628 (diff) | |
download | ntapi-1717a8ab178466bb73fd4c0a7fba1402df9deef0.tar.bz2 ntapi-1717a8ab178466bb73fd4c0a7fba1402df9deef0.tar.xz |
ipc helper interfaces: allow requesting an existing connection.
Diffstat (limited to 'src/afl')
-rw-r--r-- | src/afl/ntapi_afl_connect.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/afl/ntapi_afl_connect.c b/src/afl/ntapi_afl_connect.c index fc615b3..c5098d6 100644 --- a/src/afl/ntapi_afl_connect.c +++ b/src/afl/ntapi_afl_connect.c @@ -67,7 +67,8 @@ static int32_t __aflctl_server_connect( /* connect */ if ((status = __ntapi->ipc_connect_by_attr( &rtdata->haflctl, - &aflctl->attr))) + &aflctl->attr, + false))) return status; /* update */ @@ -193,7 +194,8 @@ static int32_t __stdcall __afl_open( /* new afl node? */ if (opcode == NT_TTY_AFL_ALLOC) if ((status = __ntapi->ipc_connect_by_attr( - &hipc,&msg.svcinfo.attr))) + &hipc,&msg.svcinfo.attr, + false))) return status; /* all done */ @@ -320,7 +322,7 @@ int32_t __stdcall __ntapi_afl_open( /* ipc connect */ status = __ntapi->ipc_connect_by_symlink( - &hipc,hsymlink); + &hipc,hsymlink,false); __ntapi->zw_close( hsymlink); |