Files
ladybird/Ports/dropbear/patches/remove-nanosleep.patch
Yonatan Goldschmidt c377e6af29 Ports: Add preliminary dropbear port
This is very basic and doesn't support many features. Instead
of describing what it *doesn't* support, I'll describe what I
have tested:
1. Public key authentication (password is not supported)
2. Single command execution
3. PTY-less interactive bash shell (/bin/sh doesn't work)
4. Multi-user (i.e you can ssh as 'anon' as well as root)
2020-05-11 09:50:42 +02:00

12 lines
301 B
Diff

Hinders security by a little, but I guess we'll just have nanosleep soon enough.
--- a/svr-auth.c.orig
+++ b/svr-auth.c
@@ -424,7 +424,6 @@
if (!fuzz.fuzzing)
#endif
{
- while (nanosleep(&delay, &delay) == -1 && errno == EINTR) { /* Go back to sleep */ }
}
ses.authstate.failcount++;