From a49456f15b8103e88ffccb626096c1c7c1e1dd27 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 15 Sep 2014 10:17:04 -0600 Subject: execl() is not a system interface. It belongs in libc and should not have a system call associated with it. --- nuttx/syscall/syscall.csv | 1 - nuttx/syscall/syscall_lookup.h | 1 - nuttx/syscall/syscall_stublookup.c | 3 --- 3 files changed, 5 deletions(-) (limited to 'nuttx/syscall') diff --git a/nuttx/syscall/syscall.csv b/nuttx/syscall/syscall.csv index b30729790..073f9d1d9 100644 --- a/nuttx/syscall/syscall.csv +++ b/nuttx/syscall/syscall.csv @@ -12,7 +12,6 @@ "connect","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","FAR const struct sockaddr*","socklen_t" "dup","unistd.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int" "dup2","unistd.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int","int" -"execl","unistd.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)","int","FAR const char *","..." "execv","unistd.h","!defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)","int","FAR const char *","FAR char *const []|FAR char *const *" "exit","stdlib.h","","void","int" "fcntl","fcntl.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int","int","..." diff --git a/nuttx/syscall/syscall_lookup.h b/nuttx/syscall/syscall_lookup.h index a85a6a098..f4779fe2a 100644 --- a/nuttx/syscall/syscall_lookup.h +++ b/nuttx/syscall/syscall_lookup.h @@ -107,7 +107,6 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert) SYSCALL_LOOKUP(posix_spawn, 6, STUB_posix_spawn) # endif SYSCALL_LOOKUP(execv, 2, STUB_execv) - SYSCALL_LOOKUP(execl, 6, STUB_execl) #endif /* The following are only defined is signals are supported in the NuttX diff --git a/nuttx/syscall/syscall_stublookup.c b/nuttx/syscall/syscall_stublookup.c index bcd1772f7..977683603 100644 --- a/nuttx/syscall/syscall_stublookup.c +++ b/nuttx/syscall/syscall_stublookup.c @@ -114,9 +114,6 @@ uintptr_t STUB_posix_spawnp(int nbr, uintptr_t parm1, uintptr_t parm2, uintptr_t parm3, uintptr_t parm4, uintptr_t parm5, uintptr_t parm6); uintptr_t STUB_execv(int nbr, uintptr_t parm1, uintptr_t parm2); -uintptr_t STUB_execl(int nbr, uintptr_t parm1, uintptr_t parm2, - uintptr_t parm3, uintptr_t parm4, uintptr_t parm5, - uintptr_t parm6); /* The following are only defined is signals are supported in the NuttX * configuration. -- cgit v1.2.3