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/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 8bb62e532c nuttx/syscall: delete getrandom in syscall.csv
8bb62e532c is described below

commit 8bb62e532c9ff4deac84363cdcbd88f7f9cbf514
Author: pangzhen1 <[email protected]>
AuthorDate: Thu Jul 11 13:57:08 2024 +0800

    nuttx/syscall: delete getrandom in syscall.csv
    
    delete getrandom in syscall.csv, because it has been moved to libc.
    
    Signed-off-by: pangzhen1 <[email protected]>
---
 include/sys/syscall_lookup.h | 1 -
 syscall/syscall.csv          | 1 -
 2 files changed, 2 deletions(-)

diff --git a/include/sys/syscall_lookup.h b/include/sys/syscall_lookup.h
index 6da57cff18..0f45083d9c 100644
--- a/include/sys/syscall_lookup.h
+++ b/include/sys/syscall_lookup.h
@@ -382,7 +382,6 @@ SYSCALL_LOOKUP(munmap,                     2)
   SYSCALL_LOOKUP(arc4random_buf,           2)
 #endif
 
-SYSCALL_LOOKUP(getrandom,                  3)
 SYSCALL_LOOKUP(nanosleep,                  2)
 
 /* I/O event notification facility */
diff --git a/syscall/syscall.csv b/syscall/syscall.csv
index e2a36223eb..2c4797fb09 100644
--- a/syscall/syscall.csv
+++ b/syscall/syscall.csv
@@ -44,7 +44,6 @@
 "getpeername","sys/socket.h","defined(CONFIG_NET)","int","int","FAR struct 
sockaddr *","FAR socklen_t *"
 "getpid","unistd.h","","pid_t"
 "getppid","unistd.h","defined(CONFIG_SCHED_HAVE_PARENT)","pid_t"
-"getrandom","sys/random.h","","ssize_t","FAR void *","size_t","unsigned int"
 "getsockname","sys/socket.h","defined(CONFIG_NET)","int","int","FAR struct 
sockaddr *","FAR socklen_t *"
 "getsockopt","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","FAR 
void *","FAR socklen_t *"
 "gettid","unistd.h","","pid_t"

Reply via email to