FelipeMdeO commented on code in PR #3532:
URL: https://github.com/apache/nuttx-apps/pull/3532#discussion_r3460405683


##########
netutils/dropbear/dropbear_main.c:
##########
@@ -0,0 +1,305 @@
+/****************************************************************************
+ * apps/netutils/dropbear/dropbear_main.c

Review Comment:
   Because dropbear_main.c replaces main_noinetd() with a single persistent 
task that uses setjmp/longjmp to intercept dropbear_exit() and return to the 
accept loop after each session.
   
   fork() is the central difference. svr-main.c:308 calls fork() to create a 
child process per connection. NuttX (flat build) does not support fork(), and 
the entire main_noinetd() is structured around it — without fork, the whole 
model breaks down.



-- 
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