Add shm_open and shm_unlink to syscalls

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen
2022-04-05 11:42:08 +04:00
committed by Xiang Xiao
parent a0ebddaac1
commit b09581f736
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -287,6 +287,11 @@ SYSCALL_LOOKUP(munmap, 2)
SYSCALL_LOOKUP(shmdt, 1)
#endif
#ifdef CONFIG_FS_SHMFS
SYSCALL_LOOKUP(shm_open, 3)
SYSCALL_LOOKUP(shm_unlink, 1)
#endif
/* The following are defined if pthreads are enabled */
#ifndef CONFIG_DISABLE_PTHREAD