diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-15 10:17:04 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-15 10:17:04 -0600 |
commit | a49456f15b8103e88ffccb626096c1c7c1e1dd27 (patch) | |
tree | 66784bc08d686b3cf2468e5a678786c4c27c0754 /nuttx/syscall | |
parent | 224d518ce02145005e1b24b4e433ba3af69cd7b1 (diff) | |
download | nuttx-a49456f15b8103e88ffccb626096c1c7c1e1dd27.tar.gz nuttx-a49456f15b8103e88ffccb626096c1c7c1e1dd27.tar.bz2 nuttx-a49456f15b8103e88ffccb626096c1c7c1e1dd27.zip |
execl() is not a system interface. It belongs in libc and should not have a system call associated with it.
Diffstat (limited to 'nuttx/syscall')
-rw-r--r-- | nuttx/syscall/syscall.csv | 1 | ||||
-rw-r--r-- | nuttx/syscall/syscall_lookup.h | 1 | ||||
-rw-r--r-- | nuttx/syscall/syscall_stublookup.c | 3 |
3 files changed, 0 insertions, 5 deletions
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. |