syscall: remove directory syscall

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong
2022-08-10 10:40:39 +08:00
committed by Xiang Xiao
parent 32c4bdb7a6
commit aeec797511
2 changed files with 0 additions and 12 deletions
-6
View File
@@ -226,23 +226,17 @@ SYSCALL_LOOKUP(pwrite, 4)
/* The following are defined if file descriptors are enabled */
SYSCALL_LOOKUP(closedir, 1)
SYSCALL_LOOKUP(dup, 1)
SYSCALL_LOOKUP(dup2, 2)
SYSCALL_LOOKUP(fcntl, 3)
SYSCALL_LOOKUP(lseek, 3)
SYSCALL_LOOKUP(mmap, 6)
SYSCALL_LOOKUP(open, 3)
SYSCALL_LOOKUP(opendir, 1)
SYSCALL_LOOKUP(readdir, 1)
SYSCALL_LOOKUP(rewinddir, 1)
SYSCALL_LOOKUP(seekdir, 2)
SYSCALL_LOOKUP(stat, 2)
SYSCALL_LOOKUP(lstat, 2)
SYSCALL_LOOKUP(fstat, 2)
SYSCALL_LOOKUP(statfs, 2)
SYSCALL_LOOKUP(fstatfs, 2)
SYSCALL_LOOKUP(telldir, 1)
SYSCALL_LOOKUP(sendfile, 4)
SYSCALL_LOOKUP(chmod, 2)
SYSCALL_LOOKUP(lchmod, 2)
-6
View File
@@ -17,7 +17,6 @@
"clock_nanosleep","time.h","","int","clockid_t","int","FAR const struct timespec *", "FAR struct timespec *"
"clock_settime","time.h","","int","clockid_t","const struct timespec*"
"close","unistd.h","","int","int"
"closedir","dirent.h","","int","FAR DIR *"
"connect","sys/socket.h","defined(CONFIG_NET)","int","int","FAR const struct sockaddr *","socklen_t"
"dup","unistd.h","","int","int"
"dup2","unistd.h","","int","int","int"
@@ -77,7 +76,6 @@
"nxsched_get_stackinfo","nuttx/sched.h","","int","pid_t","FAR struct stackinfo_s *"
"nxsched_get_streams","nuttx/sched.h","defined(CONFIG_FILE_STREAM)","FAR struct streamlist *"
"open","fcntl.h","","int","FAR const char *","int","...","mode_t"
"opendir","dirent.h","","FAR DIR *","FAR const char *"
"pgalloc", "nuttx/arch.h", "defined(CONFIG_BUILD_KERNEL)", "uintptr_t", "uintptr_t", "unsigned int"
"poll","poll.h","","int","FAR struct pollfd *","nfds_t","int"
"posix_spawn","spawn.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)","int","FAR pid_t *","FAR const char *","FAR const posix_spawn_file_actions_t *","FAR const posix_spawnattr_t *","FAR char * const []|FAR char * const *","FAR char * const []|FAR char * const *"
@@ -108,13 +106,11 @@
"putenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *"
"pwrite","unistd.h","","ssize_t","int","FAR const void *","size_t","off_t"
"read","unistd.h","","ssize_t","int","FAR void *","size_t"
"readdir","dirent.h","","FAR struct dirent *","FAR DIR *"
"readlink","unistd.h","defined(CONFIG_PSEUDOFS_SOFTLINKS)","ssize_t","FAR const char *","FAR char *","size_t"
"recv","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR void *","size_t","int"
"recvfrom","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR void*","size_t","int","FAR struct sockaddr*","FAR socklen_t*"
"recvmsg","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR struct msghdr *","int"
"rename","stdio.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *","FAR const char *"
"rewinddir","dirent.h","","void","FAR DIR *"
"rmdir","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char*"
"rmmod","nuttx/module.h","defined(CONFIG_MODULE)","int","FAR void *"
"sched_getaffinity","sched.h","defined(CONFIG_SMP)","int","pid_t","size_t","FAR cpu_set_t *"
@@ -130,7 +126,6 @@
"sched_unlock","sched.h","","int"
"sched_yield","sched.h","","int"
"sched_backtrace","sched.h","defined(CONFIG_SCHED_BACKTRACE)","int","pid_t","FAR void **","int","int"
"seekdir","dirent.h","","void","FAR DIR *","off_t"
"select","sys/select.h","","int","int","FAR fd_set *","FAR fd_set *","FAR fd_set *","FAR struct timeval *"
"sem_clockwait","semaphore.h","","int","FAR sem_t *","clockid_t","FAR const struct timespec *"
"sem_close","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR sem_t *"
@@ -177,7 +172,6 @@
"task_spawn","nuttx/spawn.h","!defined(CONFIG_BUILD_KERNEL)","int","FAR const char *","main_t","FAR const posix_spawn_file_actions_t *","FAR const posix_spawnattr_t *","FAR char * const []|FAR char * const *","FAR char * const []|FAR char * const *"
"task_testcancel","pthread.h","defined(CONFIG_CANCELLATION_POINTS)","void"
"task_tls_alloc","nuttx/tls.h","CONFIG_TLS_TASK_NELEM > 0","int","tls_dtor_t"
"telldir","dirent.h","","off_t","FAR DIR *"
"timer_create","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","clockid_t","FAR struct sigevent *","FAR timer_t *"
"timer_delete","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t"
"timer_getoverrun","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","timer_t"
1 _exit unistd.h noreturn int
17 clock_nanosleep time.h int clockid_t
18 clock_settime time.h int clockid_t
19 close unistd.h int int
closedir dirent.h int FAR DIR *
20 connect sys/socket.h defined(CONFIG_NET) int int
21 dup unistd.h int int
22 dup2 unistd.h int int
76 nxsched_get_stackinfo nuttx/sched.h int pid_t
77 nxsched_get_streams nuttx/sched.h defined(CONFIG_FILE_STREAM) FAR struct streamlist *
78 open fcntl.h int FAR const char *
opendir dirent.h FAR DIR * FAR const char *
79 pgalloc nuttx/arch.h defined(CONFIG_BUILD_KERNEL) uintptr_t uintptr_t
80 poll poll.h int FAR struct pollfd *
81 posix_spawn spawn.h !defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS) int FAR pid_t *
106 putenv stdlib.h !defined(CONFIG_DISABLE_ENVIRON) int FAR const char *
107 pwrite unistd.h ssize_t int
108 read unistd.h ssize_t int
readdir dirent.h FAR struct dirent * FAR DIR *
109 readlink unistd.h defined(CONFIG_PSEUDOFS_SOFTLINKS) ssize_t FAR const char *
110 recv sys/socket.h defined(CONFIG_NET) ssize_t int
111 recvfrom sys/socket.h defined(CONFIG_NET) ssize_t int
112 recvmsg sys/socket.h defined(CONFIG_NET) ssize_t int
113 rename stdio.h !defined(CONFIG_DISABLE_MOUNTPOINT) int FAR const char *
rewinddir dirent.h void FAR DIR *
114 rmdir unistd.h !defined(CONFIG_DISABLE_MOUNTPOINT) int FAR const char*
115 rmmod nuttx/module.h defined(CONFIG_MODULE) int FAR void *
116 sched_getaffinity sched.h defined(CONFIG_SMP) int pid_t
126 sched_unlock sched.h int
127 sched_yield sched.h int
128 sched_backtrace sched.h defined(CONFIG_SCHED_BACKTRACE) int pid_t
seekdir dirent.h void FAR DIR *
129 select sys/select.h int int
130 sem_clockwait semaphore.h int FAR sem_t *
131 sem_close semaphore.h defined(CONFIG_FS_NAMED_SEMAPHORES) int FAR sem_t *
172 task_spawn nuttx/spawn.h !defined(CONFIG_BUILD_KERNEL) int FAR const char *
173 task_testcancel pthread.h defined(CONFIG_CANCELLATION_POINTS) void
174 task_tls_alloc nuttx/tls.h CONFIG_TLS_TASK_NELEM > 0 int tls_dtor_t
telldir dirent.h off_t FAR DIR *
175 timer_create time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int clockid_t
176 timer_delete time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int timer_t
177 timer_getoverrun time.h !defined(CONFIG_DISABLE_POSIX_TIMERS) int timer_t