Add shm_open and shm_unlink to syscalls
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
parent
a0ebddaac1
commit
b09581f736
@ -287,6 +287,11 @@ SYSCALL_LOOKUP(munmap, 2)
|
|||||||
SYSCALL_LOOKUP(shmdt, 1)
|
SYSCALL_LOOKUP(shmdt, 1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_FS_SHMFS
|
||||||
|
SYSCALL_LOOKUP(shm_open, 3)
|
||||||
|
SYSCALL_LOOKUP(shm_unlink, 1)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* The following are defined if pthreads are enabled */
|
/* The following are defined if pthreads are enabled */
|
||||||
|
|
||||||
#ifndef CONFIG_DISABLE_PTHREAD
|
#ifndef CONFIG_DISABLE_PTHREAD
|
||||||
|
@ -147,6 +147,8 @@
|
|||||||
"setitimer","sys/time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","int","FAR const struct itimerval *","FAR struct itimerval *"
|
"setitimer","sys/time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","int","FAR const struct itimerval *","FAR struct itimerval *"
|
||||||
"setsockopt","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","FAR const void *","socklen_t"
|
"setsockopt","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","FAR const void *","socklen_t"
|
||||||
"setuid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","int","uid_t"
|
"setuid","unistd.h","defined(CONFIG_SCHED_USER_IDENTITY)","int","uid_t"
|
||||||
|
"shm_open","sys/mman.h","defined(CONFIG_FS_SHMFS)","int","FAR const char *","int","mode_t"
|
||||||
|
"shm_unlink","sys/mman.h","defined(CONFIG_FS_SHMFS)","int","FAR const char *"
|
||||||
"shmat","sys/shm.h","defined(CONFIG_MM_SHM)","FAR void *","int","FAR const void *","int"
|
"shmat","sys/shm.h","defined(CONFIG_MM_SHM)","FAR void *","int","FAR const void *","int"
|
||||||
"shmctl","sys/shm.h","defined(CONFIG_MM_SHM)","int","int","int","FAR struct shmid_ds *"
|
"shmctl","sys/shm.h","defined(CONFIG_MM_SHM)","int","int","int","FAR struct shmid_ds *"
|
||||||
"shmdt","sys/shm.h","defined(CONFIG_MM_SHM)","int","FAR const void *"
|
"shmdt","sys/shm.h","defined(CONFIG_MM_SHM)","int","FAR const void *"
|
||||||
|
Can't render this file because it has a wrong number of fields in line 2.
|
Loading…
Reference in New Issue
Block a user