mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 10:38:40 +08:00
2ce12617a1
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>