mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-13 00:15:11 +00:00
netutils/dropbear: drop hardware-RNG-only requirement
waitpid() is called from dropbear_nsh_waiter()'s own pthread, not the spawning task's thread. Without SCHED_CHILD_STATUS, nxsched_waitpid() matches children by the calling *thread's* pid instead of its task group's pid, so it always misses and returns ECHILD. ARCH_HAVE_RNG/DEV_RANDOM gate /dev/random, which dropbear never uses - it only reads /dev/urandom via getrandom() (DEV_URANDOM, still required). Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
This commit is contained in:
parent
7840ea5bdb
commit
e440aeeae8
1 changed files with 2 additions and 2 deletions
|
|
@ -10,17 +10,17 @@ menuconfig NETUTILS_DROPBEAR
|
|||
depends on !DISABLE_PSEUDOFS_OPERATIONS
|
||||
depends on !DISABLE_PTHREAD
|
||||
depends on SCHED_WAITPID
|
||||
depends on SCHED_HAVE_PARENT
|
||||
depends on NSH_LIBRARY
|
||||
depends on FSUTILS_PASSWD
|
||||
depends on PSEUDOTERM
|
||||
depends on SERIAL
|
||||
depends on ARCH_HAVE_RNG
|
||||
depends on DEV_RANDOM
|
||||
depends on DEV_URANDOM
|
||||
depends on LIBC_NETDB
|
||||
depends on LIBC_GAISTRERROR
|
||||
select CRYPTO
|
||||
select CRYPTO_RANDOM_POOL
|
||||
select SCHED_CHILD_STATUS
|
||||
---help---
|
||||
Enable a minimal Dropbear SSH server port for NuttX. This initial
|
||||
port is based on the ESP-IDF MCU test port and provides a single
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue