From 9b42a968df89105bd61612e6f2768c75caa4e305 Mon Sep 17 00:00:00 2001 From: Utkarsh Anand Date: Sun, 29 Oct 2017 10:38:04 +0530 Subject: Add two new syscalls `shmctl` and `msgctl` --- sys/netbsd/ipc_amd64.const | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/netbsd/ipc_amd64.const') diff --git a/sys/netbsd/ipc_amd64.const b/sys/netbsd/ipc_amd64.const index 69fa49a29..1f3d3115c 100644 --- a/sys/netbsd/ipc_amd64.const +++ b/sys/netbsd/ipc_amd64.const @@ -15,8 +15,11 @@ MSG_NOERROR = 4096 SEM_UNDO = 4096 SETALL = 9 SETVAL = 8 +SHM_LOCK = 3 SHM_RDONLY = 4096 SHM_RND = 8192 +SHM_UNLOCK = 4 +SYS_msgctl = 444 SYS_msgget = 225 SYS_msgrcv = 227 SYS_msgsnd = 226 @@ -24,6 +27,7 @@ SYS_semctl = 442 SYS_semget = 221 SYS_semop = 222 SYS_shmat = 228 +SYS_shmctl = 443 SYS_shmdt = 230 SYS_shmget = 231 S_IRGRP = 32 -- cgit mrf-deployment