summaryrefslogtreecommitdiffhomepage
path: root/src/sem
diff options
context:
space:
mode:
Diffstat (limited to 'src/sem')
-rw-r--r--src/sem/ntapi_sem_connect.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sem/ntapi_sem_connect.c b/src/sem/ntapi_sem_connect.c
index 9d05604..33edc13 100644
--- a/src/sem/ntapi_sem_connect.c
+++ b/src/sem/ntapi_sem_connect.c
@@ -67,7 +67,8 @@ static int32_t __semctl_server_connect(
/* connect */
if ((status = __ntapi->ipc_connect_by_attr(
&rtdata->hsemctl,
- &semctl->attr)))
+ &semctl->attr,
+ false)))
return status;
/* update */
@@ -200,7 +201,8 @@ static int32_t __stdcall __sem_open(
/* new semaphore? */
if (opcode == NT_TTY_SEM_ALLOC)
if ((status = __ntapi->ipc_connect_by_attr(
- &hipc,&msg.svcinfo.attr)))
+ &hipc,&msg.svcinfo.attr,
+ false)))
return status;
/* all done */
@@ -334,7 +336,7 @@ int32_t __stdcall __ntapi_sem_open(
/* ipc connect */
status = __ntapi->ipc_connect_by_symlink(
- &hipc,hsymlink);
+ &hipc,hsymlink,false);
__ntapi->zw_close(
hsymlink);