From ba4277bb1346502e005f333c7a9c85c1b7b21d3b Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Mon, 20 Jun 2022 11:52:32 +0300 Subject: [PATCH] syscall: Remove exit() call gate exit() is a userspace function, no need for call gate --- 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 1df3eda2ce..8b00149265 100644 --- a/include/sys/syscall_lookup.h +++ b/include/sys/syscall_lookup.h @@ -25,7 +25,6 @@ */ SYSCALL_LOOKUP1(_exit, 1) -SYSCALL_LOOKUP(exit, 1) SYSCALL_LOOKUP(getpid, 0) SYSCALL_LOOKUP(gettid, 0) diff --git a/syscall/syscall.csv b/syscall/syscall.csv index 88d8c128a1..0a4dd3c2b1 100644 --- a/syscall/syscall.csv +++ b/syscall/syscall.csv @@ -24,7 +24,6 @@ "eventfd","sys/eventfd.h","defined(CONFIG_EVENT_FD)","int","unsigned int","int" "exec","nuttx/binfmt/binfmt.h","!defined(CONFIG_BINFMT_DISABLE) && !defined(CONFIG_BUILD_KERNEL)","int","FAR const char *","FAR char * const *","FAR char * const *","FAR const struct symtab_s *","int" "execve","unistd.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)","int","FAR const char *","FAR char * const []|FAR char * const *","FAR char * const []|FAR char * const *" -"exit","stdlib.h","","noreturn","int" "fchmod","sys/stat.h","","int","int","mode_t" "fchown","unistd.h","","int","int","uid_t","gid_t" "fcntl","fcntl.h","","int","int","int","...","int"