mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +08:00
Fix more errors associated with posix_spawn system calls
This commit is contained in:
@@ -100,11 +100,11 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert)
|
|||||||
* programs from a file system.
|
* programs from a file system.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)
|
#if !defined(CONFIG_BINFMT_DISABLE) && defined(CONFIG_LIBC_EXECFUNCS)
|
||||||
# ifdef CONFIG_BINFMT_EXEPATH
|
# ifdef CONFIG_BINFMT_EXEPATH
|
||||||
SYSCALL_LOOKUP(posix_spawnp, 6, SYS_posixspawnp)
|
SYSCALL_LOOKUP(posix_spawnp, 6, SYS_posix_spawnp)
|
||||||
# else
|
# else
|
||||||
SYSCALL_LOOKUP(posix_spawn, 6, SYS_posixspawn)
|
SYSCALL_LOOKUP(posix_spawn, 6, SYS_posix_spawn)
|
||||||
# endif
|
# endif
|
||||||
SYSCALL_LOOKUP(execv, 2, SYS_execv)
|
SYSCALL_LOOKUP(execv, 2, SYS_execv)
|
||||||
SYSCALL_LOOKUP(execl, 6, SYS_execl)
|
SYSCALL_LOOKUP(execl, 6, SYS_execl)
|
||||||
|
|||||||
Reference in New Issue
Block a user