FelipeMdeO opened a new pull request, #19474:
URL: https://github.com/apache/nuttx/pull/19474

   ## Summary
   
   Dropbear's NSH PTY session reaps the child task with `waitpid()` and needs
   `CONFIG_SCHED_CHILD_STATUS`, which depends on `SCHED_HAVE_PARENT`. The
   `netutils/dropbear` Kconfig now `depends on SCHED_HAVE_PARENT` and selects
   `SCHED_CHILD_STATUS` (apache/nuttx-apps#3648). `SCHED_HAVE_PARENT` cannot be
   enabled via `select`, so it must come from the board defconfig — add it to 
the
   esp32c3 dropbear config (the `sim` dropbear config already has it).
   
   Without this, the SSH session fails with `ECHILD` right after authentication
   (`NSH session wait failed: Unknown error 10`).
   
   ## Impact
   
   One line in the esp32c3 dropbear defconfig. Companion to 
apache/nuttx-apps#3648
   — **merge this first** so that PR's CI passes.
   
   ## Testing
   
   `esp32c3-devkit:dropbear` and `sim:dropbear` configure with a valid
   `SCHED_HAVE_PARENT=y` + `SCHED_CHILD_STATUS=y` and pass `savedefconfig`
   normalization (no diff).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to