nuttx/libs/libc/spawn
Masayuki Ishikawa 2ce12617a1 libs: spawn: Add forkaround for posix_spawn_file_actions_adddup2()
Summary:
- I noticed that adb shell failed when sh is spawned.
- Finally, I found that an error happened when executing dup2() action
  if the file descriptor has the O_CLOEXEC option.
- This commit fixes this issue by dropping the option in the API.

Impact:
- posix_spawn_file_actions_adddup2() only

Testing:
- adbd with sabre-6quad:netnsh (will be merged later)

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-26 16:04:21 +08:00
..
lib_psa_dump.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_getflags.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_getschedparam.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_getschedpolicy.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_getsigmask.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_getstackaddr.c sched/spawn: Support the stack address argument 2021-05-13 13:23:24 -07:00
lib_psa_getstacksize.c sched/spawn: Support the stack address argument 2021-05-13 13:23:24 -07:00
lib_psa_init.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_setflags.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_setschedparam.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_setschedpolicy.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_setsigmask.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psa_setstackaddr.c sched/spawn: Support the stack address argument 2021-05-13 13:23:24 -07:00
lib_psa_setstacksize.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psfa_addaction.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psfa_addclose.c fs: allocate file/socket dynamically 2021-03-17 06:46:42 -07:00
lib_psfa_adddup2.c libs: spawn: Add forkaround for posix_spawn_file_actions_adddup2() 2022-07-26 16:04:21 +08:00
lib_psfa_addopen.c libs: Gregory Nutt: update licenses to Apache 2021-04-02 11:12:25 -05:00
lib_psfa_destroy.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psfa_dump.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
lib_psfa_init.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Make.defs sched/task: Simplify the syscall handling of task_spawn 2021-06-01 12:45:10 +09:00