This is an automated email from the ASF dual-hosted git repository.
linguini1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new f2186e2c3d3 boards/dropbear: retain child exit status for NSH PTY
session
f2186e2c3d3 is described below
commit f2186e2c3d3481d920e7e433125db3bea8366307
Author: Felipe Moura <[email protected]>
AuthorDate: Sun Jul 19 13:09:40 2026 -0300
boards/dropbear: retain child exit status for NSH PTY session
Dropbear's NSH PTY session reaps the child task with waitpid() and needs
CONFIG_SCHED_CHILD_STATUS (which depends on SCHED_HAVE_PARENT). Without it
the session fails with ECHILD right after authentication
("NSH session wait failed: Unknown error 10").
netutils/dropbear now "depends on SCHED_CHILD_STATUS" per the project's
depends-on-over-select policy (apache/nuttx-apps#3648), so enable it in the
sim and esp32c3-devkit Dropbear defconfigs (SCHED_HAVE_PARENT is already
enabled there).
Signed-off-by: Felipe Moura <[email protected]>
---
boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear/defconfig | 1 +
boards/sim/sim/sim/configs/dropbear/defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear/defconfig
b/boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear/defconfig
index f6be9e8628f..4f4eae57125 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear/defconfig
+++ b/boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear/defconfig
@@ -73,6 +73,7 @@ CONFIG_PSEUDOTERM_TXBUFSIZE=2048
CONFIG_PTHREAD_MUTEX_TYPES=y
CONFIG_RR_INTERVAL=200
CONFIG_SCHED_BACKTRACE=y
+CONFIG_SCHED_CHILD_STATUS=y
CONFIG_SCHED_HAVE_PARENT=y
CONFIG_SCHED_LPWORK=y
CONFIG_SCHED_WAITPID=y
diff --git a/boards/sim/sim/sim/configs/dropbear/defconfig
b/boards/sim/sim/sim/configs/dropbear/defconfig
index e5990f622ce..af93cff403f 100644
--- a/boards/sim/sim/sim/configs/dropbear/defconfig
+++ b/boards/sim/sim/sim/configs/dropbear/defconfig
@@ -72,6 +72,7 @@ CONFIG_PSEUDOFS_SOFTLINKS=y
CONFIG_PSEUDOTERM=y
CONFIG_READLINE_TABCOMPLETION=y
CONFIG_SCHED_BACKTRACE=y
+CONFIG_SCHED_CHILD_STATUS=y
CONFIG_SCHED_HAVE_PARENT=y
CONFIG_SCHED_WAITPID=y
CONFIG_SIM_NETDEV=y