execl() is not a system interface. It belongs in libc and should not have a system call associated with it.
This commit is contained in:
parent
a5e30ac4a1
commit
31824f5b53
|
@ -161,8 +161,7 @@
|
|||
# define SYS_posix_spawn __SYS_posix_spawn
|
||||
# endif
|
||||
# define SYS_execv (__SYS_posix_spawn+1)
|
||||
# define SYS_execl (__SYS_posix_spawn+2)
|
||||
# define __SYS_signals (__SYS_posix_spawn+3)
|
||||
# define __SYS_signals (__SYS_posix_spawn+2)
|
||||
#else
|
||||
# define __SYS_signals __SYS_posix_spawn
|
||||
#endif
|
||||
|
|
|
@ -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","..."
|
||||
|
|
Can't render this file because it has a wrong number of fields in line 2.
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue