This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new d96c87f666 syscall: Add socketpair to syscall.csv
d96c87f666 is described below

commit d96c87f666d36c8a2715a594d7d199e6f072bd2e
Author: Masayuki Ishikawa <masayuki.ishik...@gmail.com>
AuthorDate: Mon Jun 13 18:10:06 2022 +0900

    syscall: Add socketpair to syscall.csv
    
    Summary:
    - This commit adds socketpair to syscall.csv
    
    Impact:
    - None
    
    Testing:
    - Tested with adb (not merged net)
    
    Signed-off-by: Masayuki Ishikawa <masayuki.ishik...@jp.sony.com>
---
 include/sys/syscall_lookup.h | 1 +
 syscall/syscall.csv          | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/sys/syscall_lookup.h b/include/sys/syscall_lookup.h
index 8b00149265..7a2bae294b 100644
--- a/include/sys/syscall_lookup.h
+++ b/include/sys/syscall_lookup.h
@@ -371,6 +371,7 @@ SYSCALL_LOOKUP(futimens,                   2)
   SYSCALL_LOOKUP(sendmsg,                  3)
   SYSCALL_LOOKUP(setsockopt,               5)
   SYSCALL_LOOKUP(socket,                   3)
+  SYSCALL_LOOKUP(socketpair,               4)
 #endif
 
 /* The following is defined only if CONFIG_TASK_NAME_SIZE > 0 */
diff --git a/syscall/syscall.csv b/syscall/syscall.csv
index 34a31ab84d..ef98dab1cc 100644
--- a/syscall/syscall.csv
+++ b/syscall/syscall.csv
@@ -164,6 +164,7 @@
 "sigtimedwait","signal.h","","int","FAR const sigset_t *","FAR struct siginfo 
*","FAR const struct timespec *"
 "sigwaitinfo","signal.h","","int","FAR const sigset_t *","FAR struct siginfo *"
 "socket","sys/socket.h","defined(CONFIG_NET)","int","int","int","int"
+"socketpair","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","int 
*"
 "stat","sys/stat.h","","int","FAR const char *","FAR struct stat *"
 "statfs","sys/statfs.h","","int","FAR const char *","FAR struct statfs *"
 "symlink","unistd.h","defined(CONFIG_PSEUDOFS_SOFTLINKS)","int","FAR const 
char *","FAR const char *"

Reply via email to